CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTBDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
2 #define SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
3 
9 
10 namespace edm {
11  class ConsumesCollector;
12  namespace stream {
13  class EDProducerBase;
14  }
15  class Event;
16  class EventSetup;
17  class ParameterSet;
18 }
19 class PEcalTBInfo;
21 
23 {
24  public:
25 
27  virtual ~EcalTBDigiProducer() ;
28 
29 
30  virtual void initializeEvent(edm::Event const&, edm::EventSetup const&);
31  virtual void finalizeEvent(edm::Event&, edm::EventSetup const&);
32 
33  private:
34 
35  virtual void cacheEBDigis( const EBDigiCollection* ebDigiPtr ) const ;
36  virtual void cacheEEDigis( const EEDigiCollection* eeDigiPtr ) const ;
37 
38  void setPhaseShift( const DetId& detId ) ;
39 
40  void fillTBTDCRawInfo( EcalTBTDCRawInfo& theTBTDCRawInfo ) ;
41 
44 
48 
51 
52  bool m_doReadout ;
53 
54  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> m_tdcRanges ;
56 
58 
59  mutable std::auto_ptr<EBDigiCollection> m_ebDigis ;
60  mutable std::auto_ptr<EEDigiCollection> m_eeDigis ;
61  mutable std::auto_ptr<EcalTBTDCRawInfo> m_TDCproduct ;
62 };
63 
64 #endif
const EcalTrigTowerConstituentsMap m_theTTmap
std::auto_ptr< EBDigiCollection > m_ebDigis
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > m_tdcRanges
void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo)
virtual void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const
void setPhaseShift(const DetId &detId)
std::string m_EBdigiFinalTag
virtual void initializeEvent(edm::Event const &, edm::EventSetup const &)
virtual void finalizeEvent(edm::Event &, edm::EventSetup const &)
EcalTBDigiProducer(const edm::ParameterSet &params, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
Definition: DetId.h:18
std::auto_ptr< EcalTBTDCRawInfo > m_TDCproduct
EcalTBReadout * m_theTBReadout
std::string m_EBdigiTempTag
std::auto_ptr< EEDigiCollection > m_eeDigis
std::string m_ecalTBInfoLabel
virtual void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const