CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalSimProducers_EcalDigiProducer_h
2 #define SimCalorimetry_EcalSimProducers_EcalDigiProducer_h
3 
12 
17 
18 
19 #include <vector>
20 
24 
25 class ESDigitizer ;
26 
27 class APDSimParameters ;
28 class EBHitResponse ;
29 class EEHitResponse ;
30 class ESHitResponse ;
31 class CaloHitResponse ;
32 class EcalSimParameterMap ;
33 class EcalCoder ;
34 class EcalElectronicsSim ;
35 class ESElectronicsSim ;
37 class CaloGeometry ;
38 class EBDigiCollection ;
39 class EEDigiCollection ;
40 class ESDigiCollection ;
42 
43 namespace edm {
44  class ConsumesCollector;
45  namespace one {
46  class EDProducerBase;
47  }
48  class Event;
49  class EventSetup;
50  template<typename T> class Handle;
51  class ParameterSet;
52 }
53 
55  public:
56 
58  virtual ~EcalDigiProducer();
59 
60  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c);
61  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c);
62  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c);
63  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c);
64 
65  private:
66 
67  virtual void cacheEBDigis( const EBDigiCollection* ebDigiPtr ) const { }
68  virtual void cacheEEDigis( const EEDigiCollection* eeDigiPtr ) const { }
69 
71  void accumulateCaloHits(HitsHandle const& ebHandle, HitsHandle const& eeHandle, HitsHandle const& esHandle, int bunchCrossing);
72 
73  void checkGeometry(const edm::EventSetup& eventSetup) ;
74 
75  void updateGeometry() ;
76 
77  void checkCalibrations(const edm::Event& event, const edm::EventSetup& eventSetup) ;
78 
82  ESShape m_ESShape ; // no const because gain must be set
83 
88 
90 
91  const bool m_apdSeparateDigi ;
92 
93  const double m_EBs25notCont ;
94  const double m_EEs25notCont ;
95 
96  const unsigned int m_readoutFrameSize ;
97  protected:
99  private:
102 
104  protected:
107  private:
110 
111  const bool m_addESNoise ;
112 
113  const bool m_doFastES ;
114 
119 
123 
126 
129 
131 
134 };
135 
136 #endif
EEDigitizer * m_EndcapDigitizer
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c)
CaloHitResponse * m_ESOldResponse
CaloTDigitizer< ESOldDigitizerTraits > ESOldDigitizer
virtual ~EcalDigiProducer()
EcalTDigitizer< EEDigitizerTraits > EEDigitizer
CorrelatedNoisifier< EcalCorrMatrix > * m_EBCorrNoise[3]
const APDShape m_APDShape
const std::string m_ESdigiCollection
const EcalSimParameterMap * m_ParameterMap
const std::string m_hitsProducerTag
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
ESOldDigitizer * m_ESOldDigitizer
edm::Handle< std::vector< PCaloHit > > HitsHandle
EcalDigiProducer(const edm::ParameterSet &params, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
const std::string m_EEdigiCollection
ESElectronicsSimFast * m_ESElectronicsSimFast
ESDigitizer * m_ESDigitizer
const APDSimParameters * m_apdParameters
const bool m_addESNoise
CorrelatedNoisifier< EcalCorrMatrix > * m_EECorrNoise[3]
const unsigned int m_readoutFrameSize
EcalElectronicsSim * m_ElectronicsSim
void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, HitsHandle const &esHandle, int bunchCrossing)
EBHitResponse * m_APDResponse
Creates electronics signals from hits.
const double m_EBs25notCont
EBHitResponse * m_EBResponse
ESElectronicsSim * m_ESElectronicsSim
EBDigitizer * m_BarrelDigitizer
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const CaloGeometry * m_Geometry
void checkCalibrations(const edm::Event &event, const edm::EventSetup &eventSetup)
EcalCoder * m_APDCoder
void checkGeometry(const edm::EventSetup &eventSetup)
Definition: EBShape.h:6
ESHitResponse * m_ESResponse
virtual void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const
EcalTDigitizer< EBDigitizerTraits > EBDigitizer
EBDigitizer * m_APDDigitizer
const bool m_apdSeparateDigi
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c)
const std::string m_apdDigiTag
const EEShape m_EEShape
virtual void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const
const EBShape m_EBShape
const std::string m_EBdigiCollection
EcalElectronicsSim * m_APDElectronicsSim
const double m_EEs25notCont
EEHitResponse * m_EEResponse
Definition: EEShape.h:6