52 inputTag_((char
const *)
"source")
54 produces<L1AcceptBunchCrossingCollection>();
55 produces<L1TriggerScalersCollection>();
56 produces<Level1TriggerScalersCollection>();
57 produces<LumiScalersCollection>();
58 produces<BeamSpotOnlineCollection>();
59 produces<DcsStatusCollection>();
60 if ( iConfig.
exists(
"scalersInputTag") )
81 std::auto_ptr<L1TriggerScalersCollection>
84 std::auto_ptr<Level1TriggerScalersCollection>
87 std::auto_ptr<L1AcceptBunchCrossingCollection>
95 unsigned short int length = fedData.size();
98 int nWords = length / 8;
106 pOldTrigger->push_back(oldTriggerScalers);
112 pTrigger->push_back(triggerScalers);
124 pLumi->push_back(lumiScalers);
126 if (( nBytesExtra >= 8 ) && (( nBytesExtra % 8 ) == 0 ))
128 unsigned long long *
data =
129 (
unsigned long long *)fedData.data();
131 int nWordsExtra = nBytesExtra / 8;
132 for (
int i=0;
i<nWordsExtra;
i++)
134 int index = nWords - (nWordsExtra + 1) +
i;
136 pBunch->push_back(bc);
143 pBeamSpotOnline->push_back(beamSpotOnline);
146 pDcsStatus->push_back(dcsStatus);
149 iEvent.
put(pOldTrigger);
150 iEvent.
put(pTrigger);
153 iEvent.
put(pBeamSpotOnline);
154 iEvent.
put(pDcsStatus);
std::vector< BeamSpotOnline > BeamSpotOnlineCollection
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ScalersRawToDigi(const edm::ParameterSet &)
std::vector< L1AcceptBunchCrossing > L1AcceptBunchCrossingCollection
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< DcsStatus > DcsStatusCollection
std::vector< Level1TriggerScalers > Level1TriggerScalersCollection
char data[epos_bytes_allocation]
std::vector< LumiScalers > LumiScalersCollection
std::vector< L1TriggerScalers > L1TriggerScalersCollection