#include <HcalTBObjectUnpacker.h>
Public Member Functions | |
HcalTBObjectUnpacker (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~HcalTBObjectUnpacker () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | parseCalib () |
Private Attributes | |
std::string | calibFile_ |
std::vector< std::vector < std::string > > | calibLines_ |
bool | doBeamADC_ |
bool | doEventPosition_ |
bool | doRunData_ |
bool | doSourcePos_ |
bool | doTiming_ |
bool | doTriggerData_ |
int | qadcFed_ |
hcaltb::HcalTBQADCUnpacker | qadcUnpacker_ |
int | sdFed_ |
hcaltb::HcalTBSlowDataUnpacker | sdUnpacker_ |
int | spdFed_ |
hcaltb::HcalTBSourcePositionDataUnpacker | spdUnpacker_ |
int | tdcFed_ |
hcaltb::HcalTBTDCUnpacker | tdcUnpacker_ |
hcaltb::HcalTBTriggerDataUnpacker | tdUnpacker_ |
edm::EDGetTokenT < FEDRawDataCollection > | tok_raw_ |
int | triggerFed_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
HcalTBObjectUnpacker is the EDProducer subclass which runs the Hcal Test Beam Object Unpack algorithm.
Definition at line 33 of file HcalTBObjectUnpacker.h.
|
explicit |
Definition at line 15 of file HcalTBObjectUnpacker.cc.
References calibFile_, calibLines_, gather_cfg::cout, doBeamADC_, doEventPosition_, doRunData_, doSourcePos_, doTiming_, doTriggerData_, Exception, edm::ParameterSet::getParameter(), parseCalib(), qadcFed_, qadcUnpacker_, sdFed_, hcaltb::HcalTBQADCUnpacker::setCalib(), hcaltb::HcalTBTDCUnpacker::setCalib(), spdFed_, tdcFed_, tdcUnpacker_, tok_raw_, and triggerFed_.
|
virtual |
Definition at line 89 of file HcalTBObjectUnpacker.cc.
|
private |
Definition at line 159 of file HcalTBObjectUnpacker.cc.
References calibFile_, calibLines_, relativeConstraints::empty, edm::FileInPath::fullPath(), i, EdgesToViz::infile, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HcalTBObjectUnpacker().
|
virtual |
Implements edm::EDProducer.
Definition at line 92 of file HcalTBObjectUnpacker.cc.
References doBeamADC_, doEventPosition_, doRunData_, doSourcePos_, doTiming_, doTriggerData_, edm::Event::getByToken(), edm::Event::put(), qadcFed_, qadcUnpacker_, sdFed_, sdUnpacker_, spdFed_, spdUnpacker_, tdcFed_, tdcUnpacker_, tdUnpacker_, tok_raw_, triggerFed_, hcaltb::HcalTBQADCUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), hcaltb::HcalTBTDCUnpacker::unpack(), and hcaltb::HcalTBSlowDataUnpacker::unpack().
|
private |
Definition at line 45 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and parseCalib().
|
private |
Definition at line 53 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and parseCalib().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 51 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 44 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 49 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 41 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 47 of file HcalTBObjectUnpacker.h.
Referenced by produce().
|
private |
Definition at line 42 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 50 of file HcalTBObjectUnpacker.h.
Referenced by produce().
|
private |
Definition at line 43 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 48 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 46 of file HcalTBObjectUnpacker.h.
Referenced by produce().
|
private |
Definition at line 54 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().
|
private |
Definition at line 40 of file HcalTBObjectUnpacker.h.
Referenced by HcalTBObjectUnpacker(), and produce().