CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTBDigiProducer.h
Go to the documentation of this file.
1 #ifndef HcalTestBeam_HcalTBDigiProducer_h
2 #define HcalTestBeam_HcalTBDigiProducer_h
3 
20 
21 #include<vector>
22 #include<string>
23 
25 
26 public:
27 
28  explicit HcalTBDigiProducer(const edm::ParameterSet& ps);
29  virtual ~HcalTBDigiProducer();
30 
32  virtual void produce(edm::Event& e, const edm::EventSetup& c);
33 
34 private:
35 
37  void sortHits(const edm::PCaloHitContainer & hits);
40  void checkGeometry(const edm::EventSetup& eventSetup);
41  void updateGeometry();
42 
43  void setPhaseShift(const DetId & detId);
44 
45 private:
46 
50 
54 
57 
61 
64 
66 
69 
71  std::vector<DetId> hbheCells;
72  std::vector<DetId> hoCells;
73 
74  std::vector<PCaloHit> theHBHEHits, theHOHits;
75 
76  std::string ecalTBInfoLabel;
78 
81 };
82 
83 #endif
84 
void setPhaseShift(const DetId &detId)
void sortHits(const edm::PCaloHitContainer &hits)
fills the vectors for each subdetector
std::vector< PCaloHit > PCaloHitContainer
std::vector< DetId > hoCells
CaloHitResponse * theHBHEResponse
HBHEHitFilter theHBHEHitFilter
HODigitizer * theHODigitizer
HcalElectronicsSim * theElectronicsSim
HcalTBDigiProducer(const edm::ParameterSet &ps)
Electronic response of the preamp.
Definition: CaloVShape.h:11
HOHitFilter theHOHitFilter
HcalTBSimParameterMap * theParameterMap
const CaloGeometry * theGeometry
CaloTDigitizer< HBHEDigitizerTraits > HBHEDigitizer
std::vector< PCaloHit > theHBHEHits
CaloTDigitizer< HODigitizerTraits > HODigitizer
virtual void produce(edm::Event &e, const edm::EventSetup &c)
CaloVShape * theHcalIntegratedShape
Creates electronics signals from hits.
HBHEDigitizer * theHBHEDigitizer
void checkGeometry(const edm::EventSetup &eventSetup)
std::vector< DetId > hbheCells
std::vector< PCaloHit > theHOHits
Definition: DetId.h:20
CaloHitResponse * theHOResponse
HcalHitCorrection * theHitCorrection
HcalAmplifier * theAmplifier
std::string ecalTBInfoLabel
HcalCoderFactory * theCoderFactory
CaloVShape * theHcalShape