26 m_EBdigiCollection ( params.getParameter<std::
string>(
"EBtimeDigiCollection") ) ,
27 m_EEdigiCollection ( params.getParameter<std::
string>(
"EEtimeDigiCollection") ) ,
28 m_hitsProducerTagEB ( params.getParameter<edm::
InputTag>(
"hitsProducerEB" ) ) ,
29 m_hitsProducerTagEE ( params.getParameter<edm::
InputTag>(
"hitsProducerEE" ) ) ,
30 m_hitsProducerTokenEB ( sumes.consumes<std::vector<
PCaloHit> >( m_hitsProducerTagEB) ) ,
31 m_hitsProducerTokenEE ( sumes.consumes<std::vector<
PCaloHit> >( m_hitsProducerTagEE) ) ,
32 m_timeLayerEB ( params.getParameter<int> (
"timeLayerBarrel") ),
33 m_timeLayerEE ( params.getParameter<int> (
"timeLayerEndcap") ),
42 #ifdef ecal_time_debug
85 #ifdef ecal_time_debug
86 std::cout <<
"[EcalTimeDigiProducer]::Accumulate Hits HS event" << std::endl;
100 #ifdef ecal_time_debug
111 #ifdef ecal_time_debug
112 std::cout <<
"[EcalTimeDigiProducer]::finalizeEvent" << std::endl;
118 #ifdef ecal_time_debug
119 std::cout <<
"[EcalTimeDigiProducer]::EB Digi size " << barrelResult->size() << std::endl;
122 edm::LogInfo(
"TimeDigiInfo") <<
"EB time Digis: " << barrelResult->size() ;
126 #ifdef ecal_time_debug
127 std::cout <<
"[EcalTimeDigiProducer]::EE Digi size " << endcapResult->size() << std::endl;
130 edm::LogInfo(
"TimeDigiInfo") <<
"EE Digis: " << endcapResult->size() ;
132 #ifdef ecal_time_debug
133 std::cout <<
"[EcalTimeDigiProducer]::putting collections into the event " << std::endl;
int bunchCrossing() const
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
EcalTimeMapDigitizer * m_EndcapDigitizer
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEE
void run(EcalTimeDigiCollection &output)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c)
EcalTimeDigiProducer(const edm::ParameterSet ¶ms, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &)
void setGeometry(const CaloSubdetectorGeometry *geometry)
void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, int bunchCrossing)
void setTimeLayerId(const int &layerId)
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEB
const edm::InputTag m_hitsProducerTagEB
const std::string m_EEdigiCollection
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
edm::SortedCollection< EcalTimeDigi > EcalTimeDigiCollection
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c)
T const * product() const
EcalTimeMapDigitizer * m_BarrelDigitizer
void add(const std::vector< PCaloHit > &hits, int bunchCrossing)
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
const CaloGeometry * m_Geometry
const edm::InputTag m_hitsProducerTagEE
void checkGeometry(const edm::EventSetup &eventSetup)
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
virtual ~EcalTimeDigiProducer()
const std::string m_EBdigiCollection