|
virtual void | beginRun (edm::Run const &r, edm::EventSetup const &es) overridefinal |
|
virtual void | endRun (edm::Run const &r, edm::EventSetup const &es) overridefinal |
|
virtual void | produce (edm::Event &e, const edm::EventSetup &c) overridefinal |
|
| ZdcHitReconstructor (const edm::ParameterSet &ps) |
|
virtual | ~ZdcHitReconstructor () |
|
| EDProducer () |
|
virtual | ~EDProducer () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
- Date:
- 2013/02/28 08:28:56
- Revision:
- 1.7
- Author
- E. Garcia - CSU Based on HcalSimpleReconstructor.h by J. Mans
Definition at line 35 of file ZdcHitReconstructor.h.
Implements edm::EDProducer.
Definition at line 81 of file ZdcHitReconstructor.cc.
References AuxTSvec_, DetId::Calo, det_, HcalSeverityLevelComputer::dropChannel(), dropZSmarkedPassed_, edm::EventSetup::get(), edm::Event::getByLabel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), i, inputLabel_, myobject, HcalLongRecoParam::noiseTS(), AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< class >::product(), edm::Event::put(), DetId::rawId(), reco_, ZdcSimpleRecAlgo::reconstruct(), saturationFlagSetter_, HcalADCSaturationFlag::setSaturationFlag(), setSaturationFlags_, HcalLongRecoParam::signalTS(), subdet_, and HcalZDCDetId::SubdetectorId.
96 std::vector<unsigned int> mySignalTS;
97 std::vector<unsigned int> myNoiseTS;
105 rec->reserve(digi->size());
108 for (i=digi->begin(); i!=digi->end(); i++) {
115 if (i->zsMarkAndPass())
continue;
117 const HcalQIECoder* channelCoder = conditions->getHcalCoder (cell);
118 const HcalQIEShape* shape = conditions->getHcalShape (channelCoder);
126 myNoiseTS = myParams->
noiseTS();
128 rec->push_back(
reco_.
reconstruct(*i,myNoiseTS,mySignalTS,coder,calibrations));
129 (rec->back()).setFlags(0);
136 for (
unsigned int xx=0; xx<
AuxTSvec_.size() && xx<4;++xx)
139 auxflag+=(i->sample(
AuxTSvec_[xx]).adc())<<(7*xx);
143 auxflag+=((i->sample(
AuxTSvec_[0]).capid())<<28);
144 (rec->back()).setAux(auxflag);
std::vector< unsigned int > signalTS() const
std::vector< T >::const_iterator const_iterator
edm::InputTag inputLabel_
const Item * getValues(DetId fId, bool throwOnFail=true) const
uint32_t rawId() const
get the raw id
ZDCRecHit reconstruct(const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
HcalLongRecoParams * myobject
bool dropChannel(const uint32_t &mystatus) const
void setSaturationFlag(HBHERecHit &rechit, const HBHEDataFrame &digi)
HcalADCSaturationFlag * saturationFlagSetter_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
static const int SubdetectorId
T const * product() const
std::vector< int > AuxTSvec_
std::vector< unsigned int > noiseTS() const
uint32_t getValue() const