"MarlinReco"  1.32.0
SimpleMuonDigi.h
1 #ifndef SimpleMuonDigi_H
2 #define SimpleMuonDigi_H 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 #include <vector>
8 
9 #include "CalorimeterHitType.h"
10 
11 
12 using namespace lcio ;
13 using namespace marlin ;
14 
15 
23 class SimpleMuonDigi : public Processor {
24 
25  public:
26 
27  virtual Processor* newProcessor() { return new SimpleMuonDigi ; }
28 
29 
30  SimpleMuonDigi() ;
31 
32  virtual void init() ;
33 
34  virtual void processRunHeader( LCRunHeader* run ) ;
35 
36  virtual void processEvent( LCEvent * evt ) ;
37 
38 
39  virtual void check( LCEvent * evt ) ;
40 
41 
42  virtual void end() ;
43 
44  bool useLayer(CHT::Layout caloLayout, unsigned int layer) ;
45 
46  protected:
47 
48  int _nRun{};
49  int _nEvt{};
50 
51  IntVec _layersToKeepBarrelVec{}, _layersToKeepEndcapVec{};
52  std::vector<bool> _useLayersBarrelVec{}, _useLayersEndcapVec{};
53 
54  std::vector<std::string> _muonCollections{};
55 
56  std::string _outputMuonCollection{};
57  std::string _outputRelCollection{};
58 
59  std::string _cellIDLayerString{};
60 
61  float _thresholdMuon{};
62  float _calibrCoeffMuon{};
63  float _maxHitEnergyMuon{};
64 
65 
66 } ;
67 
68 #endif
69 
70 
71 
=== SimpleMuonDigi Processor === Simple calorimeter digitizer for the muon detectors.
Definition: SimpleMuonDigi.h:23