MarlinTPC  1.2.0
InGridSimpleClusterFinder.h
1 #ifndef INGRID_SIMPLE_CLUSTER_FINDER_H
2 #define INGRID_SIMPLE_CLUSTER_FINDER_H 1
3 
4 // C++
5 #include <string>
6 #include <vector>
7 
8 // LCIO
9 #include "lcio.h"
10 #include <EVENT/TrackerData.h>
11 
12 // Marlin
13 #include "marlin/Processor.h"
14 #include "TimePixPixelMode.h"
15 #include "TimePixMapHandlerProcessor.h"
16 #include "lccd/ConditionsMap.hh"
17 
18 //AIDA
19 #include <AIDA/AIDA.h>
20 
21 
22 
23 
24 namespace marlintpc
25 {
26  /* the following comment is tranfered to doxygen documentation
27  * which begins with a second asterix, or in case of on line comment an extra third slash
28  */
50  class InGridSimpleClusterFinder : public marlin::Processor
51  {
52  public:
53 
54  virtual Processor* newProcessor() { return new InGridSimpleClusterFinder; }
55 
57 
58  virtual void init();
59 
60  virtual void processRunHeader(EVENT::LCRunHeader* run);
61 
62  virtual void processEvent(EVENT::LCEvent* evt);
63 
64  virtual void check(EVENT::LCEvent* evt);
65 
66  virtual void end();
67 
68 
69  protected:
70  /* the place for protected and private member data and functions */
71  std::string _inputColName;
72  std::string _outputColName ;
75  double _driftVelocity;
76  double _shutter;
78 
87  tpcconddata::TimePixMap* _timePixMap;
88  };
89 } // namespace marlintpc
90 #endif // INGRIDSIMPLECLUSTERFINDER_H
std::string _outputTrackerDataColName
Definition: InGridSimpleClusterFinder.h:73
Converts tracker data objects to tracker hits by dividing every multihit into single hits...
Definition: InGridSimpleClusterFinder.h:50
double _readoutFrequency
Definition: InGridSimpleClusterFinder.h:74
std::string _outputColName
Definition: InGridSimpleClusterFinder.h:72
int _medianfilter
lenght of the shutter in us
Definition: InGridSimpleClusterFinder.h:77
std::string _inputColName
Name of the input collection.
Definition: InGridSimpleClusterFinder.h:71
tpcconddata::TimePixMap * _timePixMap
the actual mode map is a lccd::ConditionsMap the key is a PixelKey, specifically a struct which conta...
Definition: InGridSimpleClusterFinder.h:87
int _outputIsTransient
use median filter on time mode pixels or not
Definition: InGridSimpleClusterFinder.h:81
double _driftVelocity
Definition: InGridSimpleClusterFinder.h:75