1 #ifndef DIGITIZER_REALISTICCALORECO_H
2 #define DIGITIZER_REALISTICCALORECO_H 1
4 #include "marlin/Processor.h"
7 #include <EVENT/CalorimeterHit.h>
8 #include <IMPL/CalorimeterHitImpl.h>
10 #include <UTIL/CellIDDecoder.h>
12 #include <IMPL/LCFlagImpl.h>
14 #include "CalorimeterHitType.h"
19 using namespace lcio ;
20 using namespace marlin ;
48 virtual void processRunHeader( LCRunHeader* run ) ;
49 virtual void processEvent( LCEvent * evt ) ;
50 virtual void check( LCEvent * evt ) ;
56 float getLayerCalib(
int ilayer );
57 virtual float reconstructEnergy(
const CalorimeterHit* hit)=0;
60 std::vector <std::string> _inputHitCollections{};
61 std::vector <std::string> _inputRelCollections{};
62 std::vector <std::string> _outputHitCollections{};
63 std::vector <std::string> _outputRelCollections{};
64 std::vector <float> _calibrCoeff{};
65 std::vector <int> _calLayers{};
67 std::string _cellIDLayerString{};
71 LCFlagImpl _flag_rel{};
73 CellIDDecoder<CalorimeterHit> * _idDecoder{};