#include <HcalTBWriter.h>
Private Member Functions | |
void | buildTree (const FEDRawDataCollection &raw) |
void | extractEventInfo (const FEDRawDataCollection &raw, const edm::EventID &id) |
Private Attributes | |
std::map< int, std::string > | blockToName_ |
CDFChunk * | chunkList_ [1024] |
std::map< int, int > | chunkMap_ |
CDFEventInfo * | eventInfo_ |
TFile * | file_ |
std::string | namePattern_ |
CDFRunInfo | ri_ |
edm::EDGetTokenT< FEDRawDataCollection > | tok_raw_ |
TTree * | tree_ |
int | trigChunk_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Writes HCAL-style ROOT files from the RawData block
Definition at line 25 of file HcalTBWriter.h.
HcalTBWriter::HcalTBWriter | ( | const edm::ParameterSet & | pset | ) |
Definition at line 11 of file HcalTBWriter.cc.
References blockToName_, eventInfo_, file_, dqmiolumiharvest::j, Skims_PA_cff::name, names, EgammaValidation_cff::num, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, tok_raw_, and tree_.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 46 of file HcalTBWriter.cc.
References buildTree(), HltBtagPostValidation_cff::c, chunkList_, chunkMap_, FEDRawData::data(), MillePedeFileConverter_cfg::e, extractEventInfo(), FEDRawDataCollection::FEDData(), file_, alignmentValidation::fname, mps_fire::i, namePattern_, ri_, CDFRunInfo::setInfo(), FEDRawData::size(), tok_raw_, and tree_.
|
private |
Definition at line 78 of file HcalTBWriter.cc.
References blockToName_, HltBtagPostValidation_cff::c, chunkList_, chunkMap_, eventInfo_, FEDRawDataCollection::FEDData(), mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, FEDRawData::size(), AlCaHLTBitMon_QueryRunRegistry::string, tree_, and trigChunk_.
Referenced by analyze().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 28 of file HcalTBWriter.cc.
References edmScanValgrind::buffer, chunkMap_, eventInfo_, file_, ri_, CDFRunInfo::setInfo(), CDFRunInfo::store(), and tree_.
|
private |
Definition at line 135 of file HcalTBWriter.cc.
References FEDHeader::bxID(), chunkList_, eventInfo_, printContent_cfi::getData, FEDHeader::lvl1ID(), StandardTrgMsgBlkStruct::orbitNumber, visualization-live-secondInstance_cfg::runno, newExtendedTrgMsgBlkStruct::runNumberSequenceId, CDFEventInfo::Set(), newExtendedTrgMsgBlkStruct::stdBlock, and trigChunk_.
Referenced by analyze().
|
private |
Definition at line 34 of file HcalTBWriter.h.
Referenced by buildTree(), and HcalTBWriter().
|
private |
Definition at line 42 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), and extractEventInfo().
|
private |
Definition at line 41 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), and endJob().
|
private |
Definition at line 39 of file HcalTBWriter.h.
Referenced by buildTree(), endJob(), extractEventInfo(), and HcalTBWriter().
|
private |
Definition at line 37 of file HcalTBWriter.h.
Referenced by analyze(), endJob(), and HcalTBWriter().
|
private |
Definition at line 32 of file HcalTBWriter.h.
Referenced by analyze().
|
private |
Definition at line 40 of file HcalTBWriter.h.
|
private |
Definition at line 44 of file HcalTBWriter.h.
Referenced by analyze(), and HcalTBWriter().
|
private |
Definition at line 38 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), endJob(), and HcalTBWriter().
|
private |
Definition at line 43 of file HcalTBWriter.h.
Referenced by buildTree(), and extractEventInfo().