#include <RawDataConverter.h>
Public Member Functions | |
RawDataConverter (const edm::ParameterSet &) | |
~RawDataConverter () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Types | |
enum | DigiType { ZeroSuppressed, VirginRaw, ProcessedRaw, Unknown } |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
void | ClearData (void) |
virtual void | endJob () |
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 |
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 | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 10 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, theData, theDigiModuleLabels, theOutputFile, theOutputTree, and theProductInstanceLabels.
RawDataConverter::~RawDataConverter | ( | ) |
Definition at line 48 of file RawDataConverter.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 136 of file RawDataConverter.cc.
References edm::EventID::event(), eventnumber, edm::Event::getByLabel(), GetValidLabels(), edm::EventBase::id(), iEvent, latency, lumiBlock, edm::EventBase::luminosityBlock(), ProcessedRaw, edm::Event::run(), runnumber, edmLumisInFiles::summary, theOutputTree, Unknown, VirginRaw, and ZeroSuppressed.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 55 of file RawDataConverter.cc.
References fillDetectorId().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 66 of file RawDataConverter.cc.
References edm::EventSetup::fillAvailableRecordKeys(), i, LogDebug, and python.connectstrParser::o.
|
private |
set all strips to zero
Definition at line 196 of file RawDataConverter.cc.
References LASGlobalData< T >::GetTEC2TECEntry(), LASGlobalData< T >::GetTECEntry(), LASGlobalData< T >::GetTIBTOBEntry(), python.cmstools::loop(), pos, relativeConstraints::ring, LASGlobalLoop::TEC2TECLoop(), LASGlobalLoop::TECLoop(), theData, and LASGlobalLoop::TIBTOBLoop().
Referenced by GetDigis().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 186 of file RawDataConverter.cc.
References theOutputFile.
|
private |
all the detector ids for the LAS modules hard-coded (this should be changed...)
Definition at line 233 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 edm::DetSetVector< T >::begin(), ClearData(), CurrentInstanceLabel, CurrentModuleLabel, detectorId, edm::DetSetVector< T >::end(), edm::Event::getByLabel(), LASGlobalData< T >::GetTEC2TECEntry(), LASGlobalData< T >::GetTECEntry(), LASGlobalData< T >::GetTIBTOBEntry(), edm::HandleBase::isValid(), LogDebug, python.cmstools::loop(), pos, relativeConstraints::ring, LASGlobalLoop::TEC2TECLoop(), LASGlobalLoop::TECLoop(), theData, and LASGlobalLoop::TIBTOBLoop().
|
private |
Definition at line 79 of file RawDataConverter.cc.
References CurrentInstanceLabel, CurrentModuleLabel, edm::Event::getByLabel(), edm::HandleBase::isValid(), ProcessedRaw, theDigiModuleLabels, theProductInstanceLabels, Unknown, VirginRaw, and ZeroSuppressed.
Referenced by analyze().
|
private |
Definition at line 35 of file RawDataConverter.h.
Referenced by GetDigis(), and GetValidLabels().
|
private |
Definition at line 34 of file RawDataConverter.h.
Referenced by GetDigis(), and GetValidLabels().
|
private |
Definition at line 45 of file RawDataConverter.h.
Referenced by fillDetectorId(), and GetDigis().
|
private |
Definition at line 42 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 41 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
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(), DTDqm.DTDqm::initProcess(), DTVDriftSegmentWriter.DTVDriftSegmentWriter::initProcess(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter::initProcess(), DTTTrigResidualCorr.DTTTrigResidualCorr::initProcess(), DTTTrigCorrFirst.DTTTrigCorrFirst::initProcess(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter::initProcess(), and RawDataConverter().
|
private |
Definition at line 39 of file RawDataConverter.h.
Referenced by ClearData(), GetDigis(), and RawDataConverter().
|
private |
Definition at line 31 of file RawDataConverter.h.
Referenced by GetValidLabels(), and RawDataConverter().
|
private |
Definition at line 37 of file RawDataConverter.h.
Referenced by endJob(), and RawDataConverter().
|
private |
Definition at line 38 of file RawDataConverter.h.
Referenced by analyze(), and RawDataConverter().
|
private |
Definition at line 32 of file RawDataConverter.h.
Referenced by GetValidLabels(), and RawDataConverter().