14 #include "TPaveText.h"
45 _dataType( iConfig.getUntrackedParameter< std::
string >(
"dataType",
"h4" ) )
104 DCCHeader=pDCCHeader.
product();
116 evtHeader = pEventHeader.
product();
142 runType=headerItr->getRunType();
143 runNum=headerItr->getRunNumber();
144 event=headerItr->getLV1();
145 dccID=headerItr->getDccInTCCCommand();
146 fedID=headerItr->fedId();
148 short VFEGain=headerItr->getMgpaGain() ;
149 short MEMGain=headerItr->getMemGain() ;
159 int laser_delay = settings.
delay ;
160 if( laser_color <0 )
return;
184 bool doesExist=
false;
208 if (laser_color==
iBLUE) {
213 }
else if (laser_color==
iIR) {
292 string statusfile=namefile.str();
299 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
300 statusFile <<
" LASER Events "<<std::endl;
301 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
306 statusFile <<
"FEDID = "<<
fedIDsLas.at(
i) << std::endl;
307 statusFile <<
"DCCID = "<<
dccIDsLas.at(
i) << std::endl;
328 if(
i<
fedIDsLas.size()-1) statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
329 else statusFile <<
" "<<std::endl;
335 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
336 statusFile <<
" TESTPULSE Events "<<std::endl;
337 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
342 statusFile <<
"FEDID = "<<
fedIDsTP.at(
i) << std::endl;
343 statusFile <<
"DCCID = "<<
dccIDsTP.at(
i) << std::endl;
349 if(
i<
fedIDsTP.size()-1) statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
350 else statusFile <<
" "<<std::endl;
356 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
357 statusFile <<
" PEDESTAL Events "<<std::endl;
358 statusFile <<
"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
363 statusFile <<
"FEDID = "<<
fedIDsPed.at(
i) << std::endl;
364 statusFile <<
"DCCID = "<<
dccIDsPed.at(
i) << std::endl;
370 if(
i<
fedIDsPed.size()-1) statusFile <<
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
371 else statusFile <<
" "<<std::endl;
374 statusFile <<
" ... header done"<<std::endl;
std::map< int, int > nRedLas
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::map< int, int > isFedTPCreated
std::vector< int > dccIDsPed
std::map< int, short > MGPAGainLas
std::map< int, int > runTypePed
std::vector< int > fedIDsTP
std::map< int, unsigned long long > timeStampEndTP
#define DEFINE_FWK_MODULE(type)
std::vector< T >::const_iterator const_iterator
std::map< int, unsigned long long > timeStampEndLas
std::string eventHeaderCollection_
std::map< int, int > laserDelayRed
std::map< int, short > MEMGainTP
std::map< int, int > nEvtsLas
EcalStatusAnalyzer(const edm::ParameterSet &iConfig)
std::map< int, unsigned long long > timeStampBegTP
std::vector< int > dccIDsTP
std::map< int, short > MEMGainLas
std::map< int, unsigned long long > timeStampBegPed
std::map< int, int > nEvtsTP
std::vector< int > fedIDsLas
std::map< int, int > laserFilterBlue
std::vector< int > fedIDsPed
std::map< int, int > runTypeTP
std::string eventHeaderProducer_
std::map< int, int > runTypeLas
std::map< int, unsigned long long > timeStampBegLas
std::map< int, int > nBlueLas
std::map< int, int > laserPowerRed
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
TimeValue_t value() const
std::map< int, short > MGPAGainPed
std::map< int, unsigned long long > timeStampEndPed
std::map< int, int > laserFilterRed
std::map< int, short > MEMGainPed
T const * product() const
std::map< int, short > MGPAGainTP
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
std::map< int, int > laserPowerBlue
std::map< int, int > isFedLasCreated
std::vector< int > dccIDsLas
unsigned long long timeStampCur
std::map< int, int > laserDelayBlue
std::map< int, int > isFedPedCreated
std::map< int, int > nEvtsPed
edm::Timestamp time() const
const_iterator begin() const