CMS 3D CMS Logo

HGCHEbackDigitizer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_HGCSimProducers_hgchebackdigitizer
2 #define SimCalorimetry_HGCSimProducers_hgchebackdigitizer
3 
8 
9 class HGCHEbackDigitizer : public HGCDigitizerBase<HGCalDataFrame> {
10 public:
12  void runDigitizer(std::unique_ptr<HGCalDigiCollection>& digiColl,
14  const CaloSubdetectorGeometry* theGeom,
15  const std::unordered_set<DetId>& validIds,
16  uint32_t digitizationType,
17  CLHEP::HepRandomEngine* engine) override;
18  ~HGCHEbackDigitizer() override;
19 
20 private:
21  //calice-like digitization parameters
22  uint32_t algo_;
28 
29  void runEmptyDigitizer(std::unique_ptr<HGCalDigiCollection>& digiColl,
31  const CaloSubdetectorGeometry* theGeom,
32  const std::unordered_set<DetId>& validIds,
33  CLHEP::HepRandomEngine* engine);
34 
35  void runRealisticDigitizer(std::unique_ptr<HGCalDigiCollection>& digiColl,
37  const CaloSubdetectorGeometry* theGeom,
38  const std::unordered_set<DetId>& validIds,
39  CLHEP::HepRandomEngine* engine);
40 
41  void runCaliceLikeDigitizer(std::unique_ptr<HGCalDigiCollection>& digiColl,
43  const CaloSubdetectorGeometry* theGeom,
44  const std::unordered_set<DetId>& validIds,
45  CLHEP::HepRandomEngine* engine);
46 };
47 
48 #endif
HGCHEbackDigitizer::doseMapFile_
std::string doseMapFile_
Definition: HGCHEbackDigitizer.h:26
DigiToRawDM_cff.digiColl
digiColl
Definition: DigiToRawDM_cff.py:32
HGCHEbackDigitizer::thresholdFollowsMIP_
bool thresholdFollowsMIP_
Definition: HGCHEbackDigitizer.h:23
HGCHEbackDigitizer::scaleBySipmArea_
bool scaleBySipmArea_
Definition: HGCHEbackDigitizer.h:23
HGCScintillatorDetId.h
HGCHEbackDigitizer::scal_
HGCalSciNoiseMap scal_
Definition: HGCHEbackDigitizer.h:27
HGCHEbackDigitizer::runRealisticDigitizer
void runRealisticDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
Definition: HGCHEbackDigitizer.cc:89
HGCalSciNoiseMap.h
HGCHEbackDigitizer::noise_MIP_
float noise_MIP_
Definition: HGCHEbackDigitizer.h:24
HGCalSciNoiseMap
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions
Definition: HGCalSciNoiseMap.h:13
HGCHEbackDigitizer::sdPixels_
float sdPixels_
Definition: HGCHEbackDigitizer.h:25
HGCHEbackDigitizer::runCaliceLikeDigitizer
void runCaliceLikeDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
Definition: HGCHEbackDigitizer.cc:203
HGCHEbackDigitizer
Definition: HGCHEbackDigitizer.h:9
HGCHEbackDigitizer::sipmMapFile_
std::string sipmMapFile_
Definition: HGCHEbackDigitizer.h:26
HGCHEbackDigitizer::runDigitizer
void runDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) override
to be specialized by top class
Definition: HGCHEbackDigitizer.cc:40
HGCHEbackDigitizer::algo_
uint32_t algo_
Definition: HGCHEbackDigitizer.h:22
HGCHEbackDigitizer::scaleByTileArea_
bool scaleByTileArea_
Definition: HGCHEbackDigitizer.h:23
HGCHEbackDigitizer::xTalk_
float xTalk_
Definition: HGCHEbackDigitizer.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCHEbackDigitizer::~HGCHEbackDigitizer
~HGCHEbackDigitizer() override
Definition: HGCHEbackDigitizer.cc:270
edm::ParameterSet
Definition: ParameterSet.h:47
hgcalDigitizer_cfi.digitizationType
digitizationType
Definition: hgcalDigitizer_cfi.py:84
HGCHEbackDigitizer::HGCHEbackDigitizer
HGCHEbackDigitizer(const edm::ParameterSet &ps)
Definition: HGCHEbackDigitizer.cc:15
HGCDigiCollections.h
HGCDigitizerBase.h
hgc_digi::HGCSimHitDataAccumulator
std::unordered_map< uint32_t, HGCCellInfo > HGCSimHitDataAccumulator
Definition: HGCDigitizerTypes.h:38
HGCHEbackDigitizer::nPEperMIP_
float nPEperMIP_
Definition: HGCHEbackDigitizer.h:25
HGCDigitizerBase
Definition: HGCDigitizerBase.h:61
HGCHEbackDigitizer::nTotalPE_
float nTotalPE_
Definition: HGCHEbackDigitizer.h:25
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
HGCHEbackDigitizer::scaleByDose_
bool scaleByDose_
Definition: HGCHEbackDigitizer.h:23
HGCHEbackDigitizer::keV2MIP_
float keV2MIP_
Definition: HGCHEbackDigitizer.h:24
HGCHEbackDigitizer::runEmptyDigitizer
void runEmptyDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
Definition: HGCHEbackDigitizer.cc:54