MarlinTPC  1.2.0
PadResponseProcessor.h
1 #ifndef PAD_RESPONSE_PROCESSOR_H
2 #define PAD_RESPONSE_PROCESSOR_H 1
3 
4 //LCIO
5 #include <lcio.h>
6 
7 //MARLIN
8 #include <marlin/Processor.h>
9 
10 #include <list>
11 
12 namespace AIDA{
13  class IHistogram1D;
14  class IHistogram2D;
15 }
16 
17 
18 namespace marlintpc
19 {
20 
21  class TrackFitterFactory;
22 // class TrackFitterBase;
23 
57  class PadResponseProcessor : public marlin::Processor{
58 
59  public:
60 
61  virtual Processor* newProcessor() { return new PadResponseProcessor ; }
62 
64 
66 
67  virtual void init();
68 
69  virtual void processRunHeader(lcio::LCRunHeader* run ) ;
70 
71  virtual void processEvent(lcio::LCEvent * evt ) ;
72  virtual void end( ) ;
73 
74  protected:
75 
76  std::string _inputColName ;
77  std::string _mcTruthRelationsColName ;
78 
79  AIDA::IHistogram2D * _residuals_vs_position_on_pad;
80  AIDA::IHistogram2D * _residuals_vs_variance;
81  AIDA::IHistogram2D * _residuals_vs_skewness;
82 
83  std::list< std::pair< double, double > > _skewnessResidualsList;
84 
90 
91  int _nPadRowHistos;
92  std::vector<AIDA::IHistogram2D *> _padRowHistos;
93 
94  };
95 }
96 
97 #endif // PAD_RESPONSE_PROCESSOR_H
float _varianceMaxValue
Maximum variance value in histogram.
Definition: PadResponseProcessor.h:89
Fills residulas of hits in 2D histograms against three different values:
Definition: PadResponseProcessor.h:57
std::string _mcTruthRelationsColName
the name of the collection to the MC truth
Definition: PadResponseProcessor.h:77
float _residualMaxValue
Maximum residual value in histogram.
Definition: PadResponseProcessor.h:86
float _residualMinValue
Minimum residual value in histogram.
Definition: PadResponseProcessor.h:85
virtual void processEvent(lcio::LCEvent *evt)
Definition: PadResponseProcessor.cc:138
AIDA::IHistogram2D * _residuals_vs_position_on_pad
the residuals versus the distance to pad centre (in units of pad width)
Definition: PadResponseProcessor.h:79
AIDA::IHistogram2D * _residuals_vs_variance
the residuals versus the variance of the charge distribution along the pad row
Definition: PadResponseProcessor.h:80
float _skewnessMaxValue
Maximum skewness value in histogram.
Definition: PadResponseProcessor.h:88
std::string _inputColName
the name of the input collection
Definition: PadResponseProcessor.h:76
AIDA::IHistogram2D * _residuals_vs_skewness
the residuals versus the distance to pad centre (in units of pad width)
Definition: PadResponseProcessor.h:81
float _skewnessMinValue
Minimum skewness value in histogram.
Definition: PadResponseProcessor.h:87