MarlinTPC  1.2.0
PulseAnaProcessor.h
1 #ifndef PULSEANAPROCESSOR_H
2 #define PULSEANAPROCESSOR_H
3 
4 #include <marlin/Processor.h>
5 #include <lcio.h>
6 #include <string>
7 #include "TNtuple.h"
8 // Aida
9 #ifdef MARLIN_USE_AIDA
10 //AIDA
11 #include <marlin/AIDAProcessor.h>
12 #endif
13 
14 namespace marlintpc
15 {
17 
27 class PulseAnaProcessor : public marlin::Processor
28 {
29  public:
30 
31  virtual Processor* newProcessor() { return new PulseAnaProcessor; }
32 
34 
35  virtual void init();
36 
37  virtual void processRunHeader(lcio::LCRunHeader* run);
38 
39  virtual void processEvent(lcio::LCEvent* evt);
40 
41  virtual void check(lcio::LCEvent* evt);
42 
43  virtual void end();
44 
45 
46  protected:
47  /* the place for protected and private member data and functions */
48  std::string _inputColName;
49 
50  TNtuple * _tuple;
51 
52 };
53 } // namespace marlintpc
54 #endif // PULSEANAPROCESSOR_H
Short description of processor.
Definition: PulseAnaProcessor.h:27
std::string _inputColName
Name of the input collection.
Definition: PulseAnaProcessor.h:48