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;
76 virtual Processor* newProcessor() {
return new MokkaCaloDigi ; }
88 virtual void processRunHeader( LCRunHeader* run ) ;
92 virtual void processEvent( LCEvent * evt ) ;
95 virtual void check( LCEvent * evt ) ;
103 MyHit * ProcessHitInBarrel(SimCalorimeterHit * hit);
104 MyHit * ProcessHitInEndcap(SimCalorimeterHit * hit);
108 std::vector<std::string> _ecalCollections ;
109 std::vector<std::string> _hcalCollections ;
110 std::string _newCollNameHCAL;
111 std::string _newCollNameECAL;
112 std::string _relationCollName;
116 float _thresholdEcal;
117 float _thresholdHcal;
122 std::vector<int> _ecalLayers;
123 std::vector<int> _hcalLayers;
124 std::vector<float> _calibrCoeffEcal;
125 std::vector<float> _calibrCoeffHcal;
126 float * _endBarrelChamberLength;
127 float * _barrelLateralWidth;
128 float * _barrelOffsetMaxX;
129 float * _endBarrelOffsetMaxZ;
130 float _regularBarrelOffsetMaxZ;
131 float _lateralPlateThickness;
133 float _innerHcalRadius;
134 int _numberOfHcalLayers;
141 float _hcalLayerThickness;
142 float _hcalAbsorberThickness;
143 float _hcalSensitiveThickness;
144 float _virtualCellSizeX;
145 float _virtualCellSizeZ;
146 float _regularBarrelModuleLength;
147 float _regularBarrelChamberLength;
149 std::vector< std::vector<MyHit*> > _calorimeterHitVec;
150 LCCollectionVec * _relationCollection;
=== MokkaCaloDigi Processor === Calorimeter digitizer Processor for LCIO files produced by Mokka...
Definition: MokkaCaloDigi.h:66
Definition: MokkaCaloDigi.h:72