MarlinTPC  1.2.0
TimePixTOTDistributionProcessor.h
1 #ifndef TIMEPIX_TOT_DISTRIBUTION_PROCESSOR_H
2 #define TIMEPIX_TOT_DISTRIBUTION_PROCESSOR_H 1
3 
4 //LCIO
5 #include <lcio.h>
6 
7 //MARLIN
8 #include "marlin/Processor.h"
9 #include "TimePixPixelMode.h"
10 #include "TimePixMapListener.h"
11 
12 //root
13 #include "TROOT.h"
14 #include "TH2F.h"
15 
16 namespace AIDA{
17  class IHistogram1D;
18  class IHistogram2D;
19 }
20 
21 
22 namespace marlintpc
23 {
24 
25  class TrackFitterFactory;
26 // class TrackFitterBase;
27 
43  class TimePixTOTDistributionProcessor : public marlin::Processor{
44 
45  public:
46 
47  virtual Processor* newProcessor() { return new TimePixTOTDistributionProcessor ; }
48 
50 
52 
53  virtual void init();
54 
55  virtual void processRunHeader(lcio::LCRunHeader* run ) ;
56 
57  virtual void processEvent(lcio::LCEvent * evt ) ;
58 
59  virtual void end( ) ;
60 
61  protected:
62 
63  std::string _inputColName ;
64 
67  TH2F *_MeanChargePerPixelXY;
69 
70  std::string _selectedMode;
71  int _plotMode; // int version of above parameter
76 
77  int _nBinsX;
78  int _nBinsY;
79  int _maxMeanCharge;
80 
81  tpcconddata::TimePixMap * _timePixMap;
82 
83  };
84 
85 }
86 
87 #endif // TOT_DISTRIBUTION_PROCESSOR_H
float _histogramMaxValueY
Maximum value in TOT histogram.
Definition: TimePixTOTDistributionProcessor.h:75
TH2F * _NrOfHitsXYHisto
Number of ToT hits in the Pixel.
Definition: TimePixTOTDistributionProcessor.h:66
float _histogramMaxValueX
Maximum value in TOT histogram.
Definition: TimePixTOTDistributionProcessor.h:73
float _histogramMinValueY
Minimum value in TOT histogram.
Definition: TimePixTOTDistributionProcessor.h:74
std::string _selectedMode
Definition: TimePixTOTDistributionProcessor.h:70
float _histogramMinValueX
Minimum value in TOT histogram.
Definition: TimePixTOTDistributionProcessor.h:72
Creates XY Histo with mean Charge per Pixel.
Definition: TimePixTOTDistributionProcessor.h:43
TH2F * _distributionXYHisto
The histogram of the TOT values.
Definition: TimePixTOTDistributionProcessor.h:65
std::string _inputColName
the name of the input collection
Definition: TimePixTOTDistributionProcessor.h:63
TH1F * _MeanChargeHisto
shows the histo of the entries in _MeanChargePerPixelXY
Definition: TimePixTOTDistributionProcessor.h:68