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 ;
74 CalorimeterHitImpl * hit{};
75 std::vector<SimCalorimeterHit*> simHits{};
98 virtual void processRunHeader( LCRunHeader* run ) ;
102 virtual void processEvent( LCEvent * evt ) ;
105 virtual void check( LCEvent * evt ) ;
113 MyHit * ProcessHitInBarrel(SimCalorimeterHit * hit);
114 MyHit * ProcessHitInEndcap(SimCalorimeterHit * hit);
118 std::vector<std::string> _ecalCollections{};
119 std::vector<std::string> _hcalCollections{};
120 std::string _newCollNameHCAL{};
121 std::string _newCollNameECAL{};
122 std::string _relationCollName{};
126 float _thresholdEcal{};
127 float _thresholdHcal{};
132 std::vector<int> _ecalLayers{};
133 std::vector<int> _hcalLayers{};
134 std::vector<float> _calibrCoeffEcal{};
135 std::vector<float> _calibrCoeffHcal{};
136 float * _endBarrelChamberLength{};
137 float * _barrelLateralWidth{};
138 float * _barrelOffsetMaxX{};
139 float * _endBarrelOffsetMaxZ{};
140 float _regularBarrelOffsetMaxZ{};
141 float _lateralPlateThickness{};
143 float _innerHcalRadius{};
144 int _numberOfHcalLayers{};
149 float _newCellSizeX{};
150 float _newCellSizeZ{};
151 float _hcalLayerThickness{};
152 float _hcalAbsorberThickness{};
153 float _hcalSensitiveThickness{};
154 float _virtualCellSizeX{};
155 float _virtualCellSizeZ{};
156 float _regularBarrelModuleLength{};
157 float _regularBarrelChamberLength{};
159 std::vector< std::vector<MyHit*> > _calorimeterHitVec{};
163 float _startXEndcap{};
164 float _startZEndcap{};
std::vector< LCCollection * > LCCollectionVec
virtual Processor * newProcessor()