https://github.com/terzo/fei4Analyzer
Revision 389944de280c8b687ee014f22ace39ba0c76f3e2 authored by Stefano Terzo on 17 May 2018, 16:09:30 UTC, committed by Stefano Terzo on 17 May 2018, 16:09:30 UTC
2 parent s 7d5ddaf + aec408c
Raw File
Tip revision: 389944de280c8b687ee014f22ace39ba0c76f3e2 authored by Stefano Terzo on 17 May 2018, 16:09:30 UTC
Merge remote-tracking branch 'origin/master'
Tip revision: 389944d
Plotter.h.old
/****************************************************************************
** Author: Stefano Terzo
**
** Max-Planck-instiut fuer Physik (Werner-Heisenberg-Institut)
** Foehringer Ring 6, D-80805 Muenchen, Germany
**
****************************************************************************/

#ifndef __PLOTTER_H__
#define __PLOTTER_H__

#include <TApplication.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TCanvas.h>
#include <TH2.h>
#include <TF1.h>
#include <TFile.h>
  
#include "Clusterizer.h"

class Plotter
{
 public :
   Plotter(void                    ) {;}
  ~Plotter(void                    ) {;}
  
   void fillClusterPlots(Clusterizer::clusterMapDef &clusterMap);
   void fillHitPlots(EventMaker::hitMapDef& hitMap);
   void writePlots(std::string rootFileName);
   
  
 private:
   
   std::stringstream  ss_;
   
   std::map<int, TH1I*> clusterToT_, two_hitToT_, one_hitToT_, clusterSize_, clusterSizeRow_, clusterSizeCol_;
   std::map<int, TH1I*> totMax_, totMin_;
   std::map<int, TH2I*> hitMap_, clusterMap_cs1_, clusterMap_cs2_;
   std::map<int, TH2D*> clusterTotMap_cs2_;
} ;

#endif
back to top