93 reco_(conf.getParameter<
bool>(
"sumAllTimeSlices"))
99 produces<HFPreRecHitCollection>();
119 unsigned pmtCount = 0;
126 for (
unsigned i=0;
i<sz; ++
i)
136 for (
unsigned i=1;
i<sz; ++
i)
139 if (baseId != previousBaseId)
141 previousBaseId = baseId;
173 const unsigned inputSize = digi->
size();
180 it != digi->
end(); ++it)
241 std::unique_ptr<HFPreRecHitCollection>
out(std::make_unique<HFPreRecHitCollection>());
247 out->reserve(pmtCount);
251 for (
unsigned i=1;
i<=sz; ++
i)
253 bool appendData =
i == sz;
257 if (baseId == previousBaseId)
262 previousBaseId = baseId;
295 assert(out->size() == pmtCount);
309 desc.
add<
int>(
"forceSOI", -1);
310 desc.
add<
int>(
"soiShift", 0);
311 desc.
add<
bool>(
"dropZSmarkedPassed");
312 desc.
add<
bool>(
"tsFromDB");
313 desc.
add<
bool>(
"sumAllTimeSlices");
void produce(edm::Event &, const edm::EventSetup &) override
HFQIE10Info reconstruct(const QIE10DataFrame &digi, int tsToUse, const HcalCoder &coder, const HcalCalibrations &calibs) const
unsigned int firstSample() const
std::vector< HFQIE10Info > qie10Infos_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
int presamples() const
for backward compatibility
std::unique_ptr< HcalRecoParams > paramTS_
edm::DataFrame::id_type id() const
const_iterator begin() const
std::vector< QIE10InfoWithId > sortedQIE10Infos_
uint32_t rawId() const
get the raw id
U second(std::pair< T, U > const &p)
void beginRun(const edm::Run &, const edm::EventSetup &) override
void addDefault(ParameterSetDescription const &psetDescription)
std::pair< PmtAnodeId, const HFQIE10Info * > QIE10InfoWithId
bool zsMarkAndPass() const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void fillInfos(const edm::Event &e, const edm::EventSetup &eventSetup)
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
const_iterator end() const
edm::InputTag inputLabel_
edm::EDGetTokenT< QIE10DigiCollection > tok_hfQIE10_
~HFPreReconstructor() override
const HcalCalibrations & getHcalCalibrations(const HcalGenericDetId &fId) const
T const * product() const
std::pair< HcalDetId, int > PmtAnodeId
HFPreReconstructor(const edm::ParameterSet &)