#include <ESDigiToRaw.h>
Public Types | |
typedef uint32_t | Word32 |
typedef uint64_t | Word64 |
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 |
Public Member Functions | |
void | beginJob () |
void | endJob () |
ESDigiToRaw (const edm::ParameterSet &ps) | |
int * | GetBX () |
int * | GetCounter () |
int * | GetLV1 () |
int * | GetOrbit () |
int * | GetRunNumber () |
void | produce (edm::Event &e, const edm::EventSetup &es) |
virtual | ~ESDigiToRaw () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 () |
Static Public Attributes | |
static const int | BXMAX = 2808 |
static const int | KCHIP_BC_RANGE = 4096 |
static const int | KCHIP_EC_RANGE = 256 |
static const int | LHC_BX_RANGE = 3564 |
Private Attributes | |
int | bx_ |
int | counter_ |
bool | debug_ |
ESDataFormatter * | ESDataFormatter_ |
edm::EDGetTokenT < ESDigiCollection > | ESDigiToken_ |
int | fedId_ [2][2][40][40] |
int | formatMajor_ |
int | formatMinor_ |
std::string | instanceName_ |
int | kchip_bc_ |
int | kchip_ec_ |
std::string | label_ |
edm::FileInPath | lookup_ |
int | lv1_ |
int | orbit_number_ |
int | run_number_ |
Additional Inherited Members | |
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) |
Definition at line 20 of file ESDigiToRaw.h.
typedef uint32_t ESDigiToRaw::Word32 |
Definition at line 31 of file ESDigiToRaw.h.
typedef uint64_t ESDigiToRaw::Word64 |
Definition at line 32 of file ESDigiToRaw.h.
ESDigiToRaw::ESDigiToRaw | ( | const edm::ParameterSet & | ps | ) |
Definition at line 14 of file ESDigiToRaw.cc.
References counter_, gather_cfg::cout, debug_, ESDataFormatter_, ESDigiToken_, fedId_, mergeVDriftHistosByStation::file, formatMajor_, formatMinor_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, HLT_25ns10e33_v2_cff::InputTag, instanceName_, j, relval_2017::k, kchip_bc_, kchip_ec_, label_, lookup_, visualization-live-secondInstance_cfg::m, and submitDQMOfflineCAF::nLines.
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Implements edm::EDProducer.
Definition at line 69 of file ESDigiToRaw.cc.
References bx_, counter_, gather_cfg::cout, debug_, ESDataFormatter::DigiToRaw(), ESDataFormatter_, ESDigiToken_, edm::EventID::event(), fedId_, edm::Event::getByToken(), edm::EventBase::id(), kchip_bc_, KCHIP_BC_RANGE, kchip_ec_, KCHIP_EC_RANGE, LHC_BX_RANGE, lv1_, orbit_number_, ESDetId::plane(), edm::Event::put(), edm::EventID::run(), run_number_, ESDataFormatter::setBX(), ESDataFormatter::setKchipBC(), ESDataFormatter::setKchipEC(), ESDataFormatter::setLV1(), ESDataFormatter::setOrbitNumber(), ESDataFormatter::setRunNumber(), ESDetId::six(), ESDetId::siy(), FEDRawData::size(), and ESDetId::zside().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 50 of file ESDigiToRaw.h.
|
static |
Definition at line 40 of file ESDigiToRaw.h.
|
private |
Definition at line 47 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), GetCounter(), and produce().
|
private |
Definition at line 60 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), and produce().
|
private |
Definition at line 64 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), produce(), and ~ESDigiToRaw().
|
private |
Definition at line 58 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), and produce().
|
private |
Definition at line 54 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), and produce().
|
private |
Definition at line 61 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw().
|
private |
Definition at line 62 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw().
|
private |
Definition at line 57 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw().
|
private |
Definition at line 53 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), and produce().
|
static |
Definition at line 42 of file ESDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 52 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw(), and produce().
|
static |
Definition at line 43 of file ESDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 56 of file ESDigiToRaw.h.
Referenced by Mixins._Labelable::_findDependencies(), ESDigiToRaw(), and Mixins._Labelable::setLabel().
|
static |
Definition at line 41 of file ESDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 59 of file ESDigiToRaw.h.
Referenced by ESDigiToRaw().
|
private |
Definition at line 51 of file ESDigiToRaw.h.
|
private |
Definition at line 48 of file ESDigiToRaw.h.
Referenced by GetOrbit(), and produce().
|
private |
Definition at line 49 of file ESDigiToRaw.h.
Referenced by GetRunNumber(), and produce().