33 theOutputTree =
new TTree(
"lasRawDataTree",
"lasRawDataTree" );
68 std::vector< edm::eventsetup::EventSetupRecordKey > oToFill;
72 o << oToFill[
i].name() <<
"\n";
74 LogDebug(
"RawDataConverter") <<
"The size of EventSetup is: " << oToFill.size() <<
"\n" << o.str();
91 std::ostringstream search_message;
92 search_message <<
"Searching for SiStripDigis\n";
97 search_message <<
"Checking for Module " << *moduleLabel <<
" Instance " << *instanceLabel <<
"\n";
100 iEvent.
getByLabel( *moduleLabel , *instanceLabel , theStripDigis );
102 search_message <<
"Found ZeroSuppressed\n";
103 edm::LogInfo(
"RawDataConverter") << search_message.str();
110 iEvent.
getByLabel( *moduleLabel , *instanceLabel , theStripRawDigis );
111 if(theStripRawDigis.
isValid()){
112 search_message <<
"Found Raw\n";
113 edm::LogInfo(
"RawDataConverter") << search_message.str();
120 iEvent.
getByLabel( *moduleLabel , *instanceLabel , theStripProcessedRawDigis );
121 if(theStripProcessedRawDigis.
isValid()){
122 search_message <<
"Found ProcessedRaw\n";
123 edm::LogInfo(
"RawDataConverter") << search_message.str();
163 GetDigis<SiStripDigi>(
iEvent);
166 throw std::runtime_error(
"RawDataConverter is not yet able to process VirginRaw Data");
169 throw std::runtime_error(
"RawDataConverter is not yet able to process ProcessedRaw Data");
172 throw std::runtime_error(
"Did not find valid Module or Instance label");
203 static const std::vector<float> zero_buffer(512,0);
207 int det,
ring, beam, disk,
pos;
210 det = 0; ring = 0; beam = 0; disk = 0;
213 }
while( loop.
TECLoop( det, ring, beam, disk ) );
216 det = 2; beam = 0; pos = 0;
222 det = 0; beam = 0; disk = 0;
void SetTEC2TECEntry(int subdetector, int beam, int tecDisk, T)
T getParameter(std::string const &) const
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
void fillDetectorId(void)
const uint32_t & latency() const
#define DEFINE_FWK_MODULE(type)
DigiType GetValidLabels(const edm::Event &iEvent)
edm::LuminosityBlockNumber_t luminosityBlock() const
LASGlobalData< int > detectorId
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > theDigiModuleLabels
void beginRun(edm::Run const &, edm::EventSetup const &) override
bool TEC2TECLoop(int &, int &, int &) const
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records ...
T & GetTIBTOBEntry(int subdetector, int beam, int tibTobPosition)
void SetTIBTOBEntry(int subdetector, int beam, int tibTobPosition, T)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
RawDataConverter(const edm::ParameterSet &)
~RawDataConverter() override
T & GetTEC2TECEntry(int subdetector, int beam, int tecDisk)
T & GetTECEntry(int subdetector, int tecRing, int beam, int tecDisk)
std::string CurrentModuleLabel
LASGlobalData< std::vector< float > > theData
bool TECLoop(int &, int &, int &, int &) const
bool TIBTOBLoop(int &, int &, int &) const
std::string CurrentInstanceLabel
std::vector< std::string > theProductInstanceLabels
void SetTECEntry(int subdetector, int tecRing, int beam, int tecDisk, T)