|
|
Go to the documentation of this file.
24 theOutputTree(nullptr),
33 theOutputTree =
new TTree(
"lasRawDataTree",
"lasRawDataTree");
58 std::vector<edm::eventsetup::EventSetupRecordKey> oToFill;
62 o << oToFill[
i].name() <<
"\n";
64 LogDebug(
"RawDataConverter") <<
"The size of EventSetup is: " << oToFill.size() <<
"\n" <<
o.str();
80 std::ostringstream search_message;
81 search_message <<
"Searching for SiStripDigis\n";
89 search_message <<
"Checking for Module " << *
moduleLabel <<
" Instance " << *instanceLabel <<
"\n";
94 search_message <<
"Found ZeroSuppressed\n";
95 edm::LogInfo(
"RawDataConverter") << search_message.str();
103 if (theStripRawDigis.
isValid()) {
104 search_message <<
"Found Raw\n";
105 edm::LogInfo(
"RawDataConverter") << search_message.str();
113 if (theStripProcessedRawDigis.
isValid()) {
114 search_message <<
"Found ProcessedRaw\n";
115 edm::LogInfo(
"RawDataConverter") << search_message.str();
155 GetDigis<SiStripDigi>(
iEvent);
158 throw std::runtime_error(
"RawDataConverter is not yet able to process VirginRaw Data");
161 throw std::runtime_error(
"RawDataConverter is not yet able to process ProcessedRaw Data");
164 throw std::runtime_error(
"Did not find valid Module or Instance label");
190 static const std::vector<float> zero_buffer(512, 0);
219 }
while (
loop.TEC2TECLoop(det,
beam, disk));
void SetTECEntry(int subdetector, int tecRing, int beam, int tecDisk, T)
std::string CurrentModuleLabel
RawDataConverter(const edm::ParameterSet &)
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
~RawDataConverter() override
LASGlobalData< std::vector< float > > theData
std::string CurrentInstanceLabel
#define DEFINE_FWK_MODULE(type)
T & GetTECEntry(int subdetector, int tecRing, int beam, int tecDisk)
void fillDetectorId(void)
std::vector< std::string > theProductInstanceLabels
DigiType GetValidLabels(const edm::Event &iEvent)
T & GetTIBTOBEntry(int subdetector, int beam, int tibTobPosition)
void SetTEC2TECEntry(int subdetector, int beam, int tecDisk, T)
T & GetTEC2TECEntry(int subdetector, int beam, int tecDisk)
T getParameter(std::string const &) const
void SetTIBTOBEntry(int subdetector, int beam, int tibTobPosition, T)
void analyze(const edm::Event &, const edm::EventSetup &) override
LASGlobalData< int > detectorId
std::vector< std::string > theDigiModuleLabels
void beginRun(edm::Run const &, edm::EventSetup const &) override