MarlinTPC  1.2.0
HitQualityProcessor.h
1 #ifndef HITQUALITYPROCESSOR_H
2 #define HITQUALITYPROCESSOR_H
3 
4 #include <marlin/Processor.h>
5 #include <lcio.h>
6 #include <string>
7 
8 //ROOT
9 #include "TH1D.h"
10 #include "TNtuple.h"
11 
12 // Aida
13 #ifdef MARLIN_USE_AIDA
14 //AIDA
15 #include <marlin/AIDAProcessor.h>
16 
17 #endif
18 
19 namespace marlintpc
20 {
28 class HitQualityProcessor : public marlin::Processor
29 {
30  public:
31 
32  virtual Processor* newProcessor() { return new HitQualityProcessor; }
33 
35 
36  virtual void init();
37 
38  virtual void processRunHeader(lcio::LCRunHeader* run);
39 
40  virtual void processEvent(lcio::LCEvent* evt);
41 
42  virtual void check(lcio::LCEvent* evt);
43 
44  virtual void end();
45 
46 
47  protected:
48  /* the place for protected and private member data and functions */
49  std::string _inputColName;
50 
53 
54  TNtuple * _overRangeTuple;
55  TNtuple * _deadChannelsTuple;
56 
59 
62 };
63 } // namespace marlintpc
64 #endif // HITQUALITYPROCESSOR_H
float _deadChannelHistoMin
Minimum of the histogram for the hits with dead channel.
Definition: HitQualityProcessor.h:60
TH1D * _deadChannelsHitsHisto
histogram for the hits with a dead channel
Definition: HitQualityProcessor.h:52
TNtuple * _overRangeTuple
tuple for the hits in over range
Definition: HitQualityProcessor.h:54
TNtuple * _deadChannelsTuple
tuple for the hits with a dead channel
Definition: HitQualityProcessor.h:55
float _deadChannelHistoMax
Maximum of the histogram for the hits with dead channel.
Definition: HitQualityProcessor.h:61
float _overRangeHistoMin
Minimum of the histogram for the hits in over range.
Definition: HitQualityProcessor.h:57
This processor creates histograms for the number of hits in over range and with dead channel...
Definition: HitQualityProcessor.h:28
float _overRangeHistoMax
Maximum of the histogram for the hits in over range.
Definition: HitQualityProcessor.h:58
TH1D * _overRangeHitsHisto
histogram for the hits in over range
Definition: HitQualityProcessor.h:51
std::string _inputColName
Name of the input collection.
Definition: HitQualityProcessor.h:49