MarlinTPC  1.2.0
TrackFinderEvaluateProcessor.h
1 #ifndef TRACKFINDEREVALUATEPROCESSOR_H
2 #define TRACKFINDEREVALUATEPROCESSOR_H
3 
4 #include <marlin/Processor.h>
5 #include <lcio.h>
6 #include <string>
7 
8 #include "TH1D.h"
9 #include "TH2D.h"
10 // In case you want AIDA histograms
11 
12 
13 namespace marlintpc
14 {
21 class TrackFinderEvaluateProcessor : public marlin::Processor
22 {
23  public:
24 
25  virtual Processor* newProcessor() { return new TrackFinderEvaluateProcessor; }
26 
28 
29  virtual void init();
30 
31  virtual void processRunHeader(lcio::LCRunHeader* run);
32 
33  virtual void processEvent(lcio::LCEvent* evt);
34 
35  virtual void check(lcio::LCEvent* evt);
36 
37  virtual void end();
38 
39 
40  protected:
41  /* the place for protected and private member data and functions */
42  std::string _inputColName;
43 
44  TH2D* hitsTrackNumber;
45  TH2D* hitsAddedTrackNumber;
46  TH1D* tracksPerEvent;
47  TH1D* hitsPerTrack;
48 
49 };
50 } // namespace marlintpc
51 #endif // TRACKFINDEREVALUATEPROCESSOR_H
std::string _inputColName
Name of the input collection.
Definition: TrackFinderEvaluateProcessor.h:42
Processor to evaluate the performance of the track finding algorithm.
Definition: TrackFinderEvaluateProcessor.h:21