1 #ifndef MokkaCaloDigi1_h
2 #define MokkaCaloDigi1_h 1
4 #include "marlin/Processor.h"
5 #include "EVENT/SimCalorimeterHit.h"
6 #include "IMPL/CalorimeterHitImpl.h"
7 #include "IMPL/LCCollectionVec.h"
12 using namespace lcio ;
13 using namespace marlin ;
67 CalorimeterHitImpl * hit{};
68 std::vector<SimCalorimeterHit*> simHits{};
79 virtual Processor* newProcessor() {
return new MokkaCaloDigi ; }
91 virtual void processRunHeader( LCRunHeader* run ) ;
95 virtual void processEvent( LCEvent * evt ) ;
98 virtual void check( LCEvent * evt ) ;
106 MyHit * ProcessHitInBarrel(SimCalorimeterHit * hit);
107 MyHit * ProcessHitInEndcap(SimCalorimeterHit * hit);
111 std::vector<std::string> _ecalCollections{};
112 std::vector<std::string> _hcalCollections{};
113 std::string _newCollNameHCAL{};
114 std::string _newCollNameECAL{};
115 std::string _relationCollName{};
119 float _thresholdEcal{};
120 float _thresholdHcal{};
125 std::vector<int> _ecalLayers{};
126 std::vector<int> _hcalLayers{};
127 std::vector<float> _calibrCoeffEcal{};
128 std::vector<float> _calibrCoeffHcal{};
129 float * _endBarrelChamberLength{};
130 float * _barrelLateralWidth{};
131 float * _barrelOffsetMaxX{};
132 float * _endBarrelOffsetMaxZ{};
133 float _regularBarrelOffsetMaxZ{};
134 float _lateralPlateThickness{};
136 float _innerHcalRadius{};
137 int _numberOfHcalLayers{};
142 float _newCellSizeX{};
143 float _newCellSizeZ{};
144 float _hcalLayerThickness{};
145 float _hcalAbsorberThickness{};
146 float _hcalSensitiveThickness{};
147 float _virtualCellSizeX{};
148 float _virtualCellSizeZ{};
149 float _regularBarrelModuleLength{};
150 float _regularBarrelChamberLength{};
152 std::vector< std::vector<MyHit*> > _calorimeterHitVec{};
153 LCCollectionVec * _relationCollection{};
156 float _startXEndcap{};
157 float _startZEndcap{};
=== MokkaCaloDigi Processor === Calorimeter digitizer Processor for LCIO files produced by Mokka...
Definition: MokkaCaloDigi.h:66
Definition: MokkaCaloDigi.h:72