Writes to file the DAQ mapping loaded by TotemDAQMappingESSourceXML. More...
Private Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &es) override |
Private Attributes | |
edm::ESGetToken< TotemDAQMapping, TotemReadoutRcd > | mappingToken_ |
edm::ESGetToken< TotemAnalysisMask, TotemAnalysisMaskRcd > | maskToken_ |
std::ofstream | outStream_ |
const bool | readMap_ |
const bool | readMask_ |
const std::string | subSystemName_ |
label of the CTPPS sub-system More... | |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Writes to file the DAQ mapping loaded by TotemDAQMappingESSourceXML.
Definition at line 19 of file WriteTotemDAQMapping.cc.
WriteTotemDAQMapping::WriteTotemDAQMapping | ( | const edm::ParameterSet & | ps | ) |
Definition at line 35 of file WriteTotemDAQMapping.cc.
References edm::EDConsumerBase::esConsumes(), mappingToken_, maskToken_, readMap_, readMask_, and subSystemName_.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 50 of file WriteTotemDAQMapping.cc.
References edm::EventSetup::getHandle(), HPSPFTaus_cff::mapping, mappingToken_, maskToken_, outStream_, readMap_, readMask_, and subSystemName_.
|
private |
Definition at line 30 of file WriteTotemDAQMapping.cc.
Referenced by analyze(), and WriteTotemDAQMapping().
|
private |
Definition at line 31 of file WriteTotemDAQMapping.cc.
Referenced by analyze(), and WriteTotemDAQMapping().
|
private |
Definition at line 27 of file WriteTotemDAQMapping.cc.
Referenced by analyze().
|
private |
Definition at line 28 of file WriteTotemDAQMapping.cc.
Referenced by analyze(), and WriteTotemDAQMapping().
|
private |
Definition at line 29 of file WriteTotemDAQMapping.cc.
Referenced by analyze(), and WriteTotemDAQMapping().
|
private |
label of the CTPPS sub-system
Definition at line 26 of file WriteTotemDAQMapping.cc.
Referenced by analyze(), and WriteTotemDAQMapping().