#include <HcalTBWriter.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &es) |
virtual void | endJob () |
HcalTBWriter (const edm::ParameterSet &pset) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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_ |
edm::InputTag | fedRawDataCollectionTag_ |
TFile * | file_ |
std::string | namePattern_ |
CDFRunInfo | ri_ |
TTree * | tree_ |
int | trigChunk_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Writes HCAL-style ROOT files from the RawData block
Definition at line 27 of file HcalTBWriter.h.
HcalTBWriter::HcalTBWriter | ( | const edm::ParameterSet & | pset | ) |
Definition at line 13 of file HcalTBWriter.cc.
References blockToName_, eventInfo_, file_, edm::ParameterSet::getUntrackedParameter(), j, mergeVDriftHistosByStation::name, cscdqm::h::names, AlCaHLTBitMon_QueryRunRegistry::string, and tree_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 49 of file HcalTBWriter.cc.
References CDFChunk::adoptBuffer(), buildTree(), trackerHits::c, chunkList_, chunkMap_, FEDRawData::data(), extractEventInfo(), fedRawDataCollectionTag_, file_, alignmentValidation::fname, edm::Event::getByLabel(), i, edm::EventBase::id(), namePattern_, CDFChunk::releaseBuffer(), ri_, edm::EventID::run(), CDFRunInfo::setInfo(), FEDRawData::size(), and tree_.
|
private |
Definition at line 82 of file HcalTBWriter.cc.
References blockToName_, trackerHits::c, chunkList_, chunkMap_, eventInfo_, FEDRawDataCollection::FEDData(), i, j, mergeVDriftHistosByStation::name, FEDRawData::size(), lumiContext::sname, AlCaHLTBitMon_QueryRunRegistry::string, tree_, and trigChunk_.
Referenced by analyze().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 31 of file HcalTBWriter.cc.
References chunkMap_, eventInfo_, file_, ri_, CDFRunInfo::setInfo(), CDFRunInfo::store(), and tree_.
|
private |
Definition at line 136 of file HcalTBWriter.cc.
References FEDHeader::bxID(), chunkList_, eventInfo_, AlCaHLTBitMon_QueryRunRegistry::getData(), FEDHeader::lvl1ID(), StandardTrgMsgBlkStruct::orbitNumber, lumiregperbunch::runno, newExtendedTrgMsgBlkStruct::runNumberSequenceId, CDFEventInfo::Set(), newExtendedTrgMsgBlkStruct::stdBlock, and trigChunk_.
Referenced by analyze().
|
private |
Definition at line 35 of file HcalTBWriter.h.
Referenced by buildTree(), and HcalTBWriter().
|
private |
Definition at line 43 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), and extractEventInfo().
|
private |
Definition at line 42 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), and endJob().
|
private |
Definition at line 40 of file HcalTBWriter.h.
Referenced by buildTree(), endJob(), extractEventInfo(), and HcalTBWriter().
|
private |
Definition at line 45 of file HcalTBWriter.h.
Referenced by analyze().
|
private |
Definition at line 38 of file HcalTBWriter.h.
Referenced by analyze(), endJob(), and HcalTBWriter().
|
private |
Definition at line 33 of file HcalTBWriter.h.
Referenced by analyze().
|
private |
Definition at line 41 of file HcalTBWriter.h.
|
private |
Definition at line 39 of file HcalTBWriter.h.
Referenced by analyze(), buildTree(), endJob(), and HcalTBWriter().
|
private |
Definition at line 44 of file HcalTBWriter.h.
Referenced by buildTree(), and extractEventInfo().