MarlinTPC  1.2.0
AFTERRawDataConverterProcessor.h
1 #ifdef USE_LCCD
2 
3 #ifndef AFTERRAWDATACONVERTERPROCESSOR_H
4 #define AFTERRAWDATACONVERTERPROCESSOR_H 1
5 
6 // Marlin
7 #include <marlin/Processor.h>
8 
9 // LCIO
10 #include <lcio.h>
11 
12 // stl
13 #include <string>
14 
15 namespace marlintpc
16 {
17 
21 class AFTERRawDataConverterProcessor : public marlin::Processor
22 {
23 
24  public:
25 
26  AFTERRawDataConverterProcessor() ;
27 
28  virtual void init() ;
29 
30  virtual Processor* newProcessor()
31  {
32  return new AFTERRawDataConverterProcessor();
33  }
34 
35  virtual void processRunHeader(lcio::LCRunHeader* run);
36 
37  virtual void processEvent(lcio::LCEvent * evt);
38 
39  virtual void check(lcio::LCEvent * evt);
40 
41  virtual void end();
42 
43  private:
44 
47  std::string _input_tracker_raw_data_collection_name;
48 
51  std::string _output_tracker_data_collection_name;
52 
55  bool _output_is_transient;
56 
59  int _new_pulse_sentinal_bit;
60 
63  int _bin_count_before_pulse;
64 
67  int _bits_per_sample_override;
68 
69 };
70 
71 }
72 
73 #endif // AFTERRAWDATACONVERTERPROCESSOR_H
74 #endif // USE_LCCD