53 template <
class Digitype>
55 LogDebug(
"RawDataConverter") <<
"Fill ZeroSuppressed Digis into the Tree";
62 throw std::runtime_error(
"Could not find the Digis");
82 if (theModule != detSetVector->end()) {
85 for (theDigi = theModule->data.
begin(); theDigi != theModule->data.
end(); ++theDigi) {
87 if (theDigi->channel() < 512)
91 }
while (loop.
TECLoop(det, ring, beam, disk));
102 if (theModule != detSetVector->end()) {
105 for (theDigi = theModule->data.
begin(); theDigi != theModule->data.
end(); ++theDigi) {
107 if (theDigi->channel() < 512)
122 if (theModule != detSetVector->end()) {
125 for (theDigi = theModule->data.
begin(); theDigi != theModule->data.
end(); ++theDigi) {
127 if (theDigi->channel() < 512)
void fillDetectorId(void)
DigiType GetValidLabels(const edm::Event &iEvent)
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 GetDigis(const edm::Event &)
T & GetTIBTOBEntry(int subdetector, int beam, int tibTobPosition)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
iterator end()
Return the off-the-end iterator.
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
iterator begin()
Return an iterator to the first DetSet.
std::string CurrentInstanceLabel
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
std::vector< std::string > theProductInstanceLabels