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
void runRealisticDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
void runEmptyDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
std::unordered_map< uint32_t, HGCCellInfo > HGCSimHitDataAccumulator
HGCalSciNoiseMap scal_
HGCHEbackDigitizer(const edm::ParameterSet &ps)
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions ...
void runCaliceLikeDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine)
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