CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorDigiProducer.h
Go to the documentation of this file.
1 #ifndef CastorDigiProducer_h
2 #define CastorDigiProducer_h
3 
20 
21 #include <vector>
22 
23 class PCaloHit;
25 
27 public:
28 
30  virtual ~CastorDigiProducer();
31 
32  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
33  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
34  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c) override;
35  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
36 
37 private:
38  void accumulateCaloHits(std::vector<PCaloHit> const&, int bunchCrossing);
39 
41  void sortHits(const edm::PCaloHitContainer & hits);
43  void fillFakeHits();
46  void checkGeometry(const edm::EventSetup& eventSetup);
47 
50 
54 
56 
60 
62 
64 
66 
67  std::vector<PCaloHit> theCastorHits;
68 
69 };
70 
71 #endif
72 
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
CastorAmplifier * theAmplifier
CaloVShape * theCastorShape
std::vector< PCaloHit > PCaloHitContainer
CaloTDigitizer< CastorDigitizerTraits > CastorDigitizer
void checkGeometry(const edm::EventSetup &eventSetup)
CastorSimParameterMap * theParameterMap
Electronic response of the preamp.
Definition: CaloVShape.h:11
void sortHits(const edm::PCaloHitContainer &hits)
fills the vectors for each subdetector
CastorElectronicsSim * theElectronicsSim
CastorHitFilter theCastorHitFilter
Creates electronics signals from hits.
CaloHitResponse * theCastorResponse
std::vector< PCaloHit > theCastorHits
void fillFakeHits()
some hits in each subdetector, just for testing purposes
void accumulateCaloHits(std::vector< PCaloHit > const &, int bunchCrossing)
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c) override
CastorHitCorrection * theHitCorrection
CastorDigiProducer(const edm::ParameterSet &ps, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
CastorDigitizer * theCastorDigitizer
CastorCoderFactory * theCoderFactory
CaloVShape * theCastorIntegratedShape