MarlinTPC  1.2.0
HitSplitterProcessor.h
1 #ifndef HITSPLITTERPROCESSOR_H
2 #define HITSPLITTERPROCESSOR_H
3 
4 #include <marlin/Processor.h>
5 #include <lcio.h>
6 #include <string>
7 #include <set>
8 
9 #include <EVENT/TrackerPulse.h>
10 
11 
12 namespace marlintpc
13 {
14 
38 class HitSplitterProcessor : public marlin::Processor
39 {
40  public:
41 
42  virtual Processor* newProcessor()
43  {
44  return new HitSplitterProcessor;
45  }
46 
48 
49  virtual void init();
50 
51  virtual void processRunHeader(lcio::LCRunHeader* run);
52 
53  virtual void processEvent(lcio::LCEvent* evt);
54 
55  virtual void check(lcio::LCEvent* evt);
56 
57  virtual void end();
58 
59 
60  protected:
61  /* the place for protected and private member data and functions */
62  std::string _inputColName;
63  std::string _outputColName;
64  std::string _tpcConditionsColName;
65  std::string _onlySplitHitsColName;
66  std::string _splitPulsesInSplitHitsColName;
67 
68  float _vDrift;
69 
70 };
71 } // namespace marlintpc
72 #endif // HITSPLITTERPROCESSOR_H
std::string _onlySplitHitsColName
Name of the collection with split hits.
Definition: HitSplitterProcessor.h:65
std::string _outputColName
Name of the output collection.
Definition: HitSplitterProcessor.h:63
float _vDrift
The drift velocity.
Definition: HitSplitterProcessor.h:68
std::string _tpcConditionsColName
Name of the TPCConditions collection (for vDrift)
Definition: HitSplitterProcessor.h:64
The HitSplitterProcessor searches for minima in the pad response and splits the hit.
Definition: HitSplitterProcessor.h:38
std::string _inputColName
Name of the input collection.
Definition: HitSplitterProcessor.h:62