21 theOutputTree(nullptr),
30 theOutputTree =
new TTree(
"lasRawDataTree",
"lasRawDataTree");
50 std::vector<edm::eventsetup::EventSetupRecordKey> oToFill;
54 o << oToFill[
i].name() <<
"\n";
56 LogDebug(
"RawDataConverter") <<
"The size of EventSetup is: " << oToFill.size() <<
"\n" <<
o.str();
72 std::ostringstream search_message;
73 search_message <<
"Searching for SiStripDigis\n";
81 search_message <<
"Checking for Module " << *
moduleLabel <<
" Instance " << *instanceLabel <<
"\n";
86 search_message <<
"Found ZeroSuppressed\n";
87 edm::LogInfo(
"RawDataConverter") << search_message.str();
95 if (theStripRawDigis.
isValid()) {
96 search_message <<
"Found Raw\n";
97 edm::LogInfo(
"RawDataConverter") << search_message.str();
105 if (theStripProcessedRawDigis.
isValid()) {
106 search_message <<
"Found ProcessedRaw\n";
107 edm::LogInfo(
"RawDataConverter") << search_message.str();
147 GetDigis<SiStripDigi>(
iEvent);
150 throw std::runtime_error(
"RawDataConverter is not yet able to process VirginRaw Data");
153 throw std::runtime_error(
"RawDataConverter is not yet able to process ProcessedRaw Data");
156 throw std::runtime_error(
"Did not find valid Module or Instance label");
182 static const std::vector<float> zero_buffer(512, 0);
211 }
while (
loop.TEC2TECLoop(det,
beam, disk));
void SetTEC2TECEntry(int subdetector, int beam, int tecDisk, T)
T getParameter(std::string const &) const
void fillDetectorId(void)
#define DEFINE_FWK_MODULE(type)
DigiType GetValidLabels(const edm::Event &iEvent)
LASGlobalData< int > detectorId
T getUntrackedParameter(std::string const &, T const &) const
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records ...
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > theDigiModuleLabels
void beginRun(edm::Run const &, edm::EventSetup const &) override
T & GetTIBTOBEntry(int subdetector, int beam, int tibTobPosition)
void SetTIBTOBEntry(int subdetector, int beam, int tibTobPosition, T)
RawDataConverter(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
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
std::string CurrentInstanceLabel
std::vector< std::string > theProductInstanceLabels
void SetTECEntry(int subdetector, int tecRing, int beam, int tecDisk, T)