#include <RawDataConverter.h>
Private Types | |
enum | DigiType { ZeroSuppressed, VirginRaw, ProcessedRaw, Unknown } |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | ClearData (void) |
void | endJob () override |
void | fillDetectorId (void) |
template<class T > | |
void | GetDigis (const edm::Event &) |
DigiType | GetValidLabels (const edm::Event &iEvent) |
Private Attributes | |
std::string | CurrentInstanceLabel |
std::string | CurrentModuleLabel |
LASGlobalData< int > | detectorId |
int | eventnumber |
int | latency |
int | lumiBlock |
int | runnumber |
LASGlobalData< std::vector< float > > | theData |
std::vector< std::string > | theDigiModuleLabels |
TFile * | theOutputFile |
TTree * | theOutputTree |
std::vector< std::string > | theProductInstanceLabels |
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) |
Definition at line 12 of file RawDataConverter.h.
|
private |
Enumerator | |
---|---|
ZeroSuppressed | |
VirginRaw | |
ProcessedRaw | |
Unknown |
Definition at line 18 of file RawDataConverter.h.
|
explicit |
constructors and destructor
Definition at line 22 of file RawDataConverter.cc.
References eventnumber, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), latency, lumiBlock, runnumber, AlCaHLTBitMon_QueryRunRegistry::string, theData, theDigiModuleLabels, theOutputFile, theOutputTree, and theProductInstanceLabels.
|
override |
Definition at line 47 of file RawDataConverter.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 128 of file RawDataConverter.cc.
References eventnumber, GetValidLabels(), iEvent, latency, lumiBlock, ProcessedRaw, runnumber, edmLumisInFiles::summary, theOutputTree, Unknown, VirginRaw, and ZeroSuppressed.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 52 of file RawDataConverter.cc.
References fillDetectorId().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 57 of file RawDataConverter.cc.
References edm::EventSetup::fillAvailableRecordKeys(), mps_fire::i, LogDebug, and EcalTangentSkim_cfg::o.
|
private |
set all strips to zero
Definition at line 184 of file RawDataConverter.cc.
References EcalCondDBWriter_cfi::beam, LASGlobalData< T >::GetTEC2TECEntry(), LASGlobalData< T >::GetTECEntry(), LASGlobalData< T >::GetTIBTOBEntry(), heppy_loop::loop, relativeConstraints::ring, and theData.
Referenced by GetDigis().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 176 of file RawDataConverter.cc.
References theOutputFile.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
all the detector ids for the LAS modules hard-coded (this should be changed...)
Definition at line 225 of file RawDataConverter.cc.
References detectorId, LASGlobalData< T >::SetTEC2TECEntry(), LASGlobalData< T >::SetTECEntry(), and LASGlobalData< T >::SetTIBTOBEntry().
Referenced by beginJob().
|
private |
Definition at line 54 of file RawDataConverter.h.
References EcalCondDBWriter_cfi::beam, edm::DetSetVector< T >::begin(), ClearData(), CurrentInstanceLabel, CurrentModuleLabel, detectorId, edm::DetSetVector< T >::end(), LASGlobalData< T >::GetTEC2TECEntry(), LASGlobalData< T >::GetTECEntry(), LASGlobalData< T >::GetTIBTOBEntry(), iEvent, edm::HandleBase::isValid(), LogDebug, heppy_loop::loop, relativeConstraints::ring, and theData.
|
private |
Definition at line 67 of file RawDataConverter.cc.
References CurrentInstanceLabel, CurrentModuleLabel, iEvent, edm::HandleBase::isValid(), HerwigMaxPtPartonFilter_cfi::moduleLabel, ProcessedRaw, theDigiModuleLabels, theProductInstanceLabels, Unknown, VirginRaw, and ZeroSuppressed.
Referenced by analyze().
|
private |
Definition at line 37 of file RawDataConverter.h.
Referenced by GetDigis(), and GetValidLabels().
|
private |
Definition at line 36 of file RawDataConverter.h.
Referenced by GetDigis(), and GetValidLabels().
|
private |
Definition at line 47 of file RawDataConverter.h.
Referenced by fillDetectorId(), and GetDigis().
|
private |
Definition at line 44 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 43 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 46 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 45 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 41 of file RawDataConverter.h.
Referenced by ClearData(), GetDigis(), and RawDataConverter().
|
private |
Definition at line 33 of file RawDataConverter.h.
Referenced by GetValidLabels(), and RawDataConverter().
|
private |
Definition at line 39 of file RawDataConverter.h.
Referenced by endJob(), and RawDataConverter().
|
private |
Definition at line 40 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 34 of file RawDataConverter.h.
Referenced by GetValidLabels(), and RawDataConverter().