|
|
Go to the documentation of this file.
13 #include "TPaveText.h"
43 _dataType(iConfig.getUntrackedParameter<
std::
string>(
"dataType",
"h4"))
89 DCCHeader = pDCCHeader.
product();
101 evtHeader = pEventHeader.
product();
125 runType = headerItr->getRunType();
126 runNum = headerItr->getRunNumber();
127 event = headerItr->getLV1();
128 dccID = headerItr->getDccInTCCCommand();
129 fedID = headerItr->fedId();
131 short VFEGain = headerItr->getMgpaGain();
132 short MEMGain = headerItr->getMemGain();
141 int laser_delay = settings.
delay;
168 bool doesExist =
false;
193 if (laser_color ==
iBLUE) {
198 }
else if (laser_color ==
iIR) {
243 if (laser_color ==
iBLUE)
245 else if (laser_color ==
iIR)
277 std::stringstream namefile;
280 string statusfile = namefile.str();
285 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
286 statusFile <<
" LASER Events " << std::endl;
287 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
291 statusFile <<
"FEDID = " <<
fedIDsLas.at(
i) << std::endl;
292 statusFile <<
"DCCID = " <<
dccIDsLas.at(
i) << std::endl;
314 statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" << std::endl;
316 statusFile <<
" " << std::endl;
321 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
322 statusFile <<
" TESTPULSE Events " << std::endl;
323 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
325 for (
unsigned int i = 0;
i <
fedIDsTP.size();
i++) {
327 statusFile <<
"FEDID = " <<
fedIDsTP.at(
i) << std::endl;
328 statusFile <<
"DCCID = " <<
dccIDsTP.at(
i) << std::endl;
335 statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" << std::endl;
337 statusFile <<
" " << std::endl;
342 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
343 statusFile <<
" PEDESTAL Events " << std::endl;
344 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" << std::endl;
348 statusFile <<
"FEDID = " <<
fedIDsPed.at(
i) << std::endl;
349 statusFile <<
"DCCID = " <<
dccIDsPed.at(
i) << std::endl;
356 statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" << std::endl;
358 statusFile <<
" " << std::endl;
361 statusFile <<
" ... header done" << std::endl;
std::map< int, int > isFedPedCreated
std::map< int, short > MGPAGainTP
std::vector< T >::const_iterator const_iterator
std::map< int, unsigned long long > timeStampBegLas
T const * product() const
std::map< int, short > MEMGainLas
~EcalStatusAnalyzer() override
T getUntrackedParameter(std::string const &, T const &) const
std::map< int, int > laserPowerBlue
unsigned long long timeStampCur
std::map< int, int > laserPowerRed
std::map< int, int > nEvtsTP
std::map< int, int > nEvtsPed
std::map< int, int > runTypePed
std::string eventHeaderProducer_
std::vector< int > dccIDsLas
#define DEFINE_FWK_MODULE(type)
std::string eventHeaderCollection_
std::map< int, unsigned long long > timeStampEndTP
std::map< int, int > isFedLasCreated
const_iterator begin() const
std::map< int, int > laserFilterBlue
std::map< int, int > laserFilterRed
std::map< int, unsigned long long > timeStampBegPed
std::vector< int > dccIDsPed
void analyze(const edm::Event &e, const edm::EventSetup &c) override
std::map< int, unsigned long long > timeStampBegTP
const_iterator end() const
std::map< int, short > MEMGainPed
std::map< int, int > laserDelayRed
EcalStatusAnalyzer(const edm::ParameterSet &iConfig)
std::map< int, unsigned long long > timeStampEndLas
std::map< int, int > nRedLas
T getParameter(std::string const &) const
std::vector< int > fedIDsTP
std::map< int, int > runTypeLas
std::vector< int > dccIDsTP
std::vector< int > fedIDsPed
std::vector< int > fedIDsLas
std::map< int, short > MGPAGainLas
std::map< int, short > MEMGainTP
std::map< int, unsigned long long > timeStampEndPed
std::map< int, int > nEvtsLas
std::map< int, int > isFedTPCreated
std::map< int, int > laserDelayBlue
std::map< int, int > nBlueLas
std::map< int, short > MGPAGainPed
std::map< int, int > runTypeTP