CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
EcalStatusAnalyzer Class Reference

#include <EcalStatusAnalyzer.h>

Inheritance diagram for EcalStatusAnalyzer:
edm::EDAnalyzer

Public Types

enum  EcalLaserColorType { iBLUE = 0, iGREEN = 1, iRED = 3, iIR = 2 }
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
virtual void beginJob ()
 
 EcalStatusAnalyzer (const edm::ParameterSet &iConfig)
 
virtual void endJob ()
 
 ~EcalStatusAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Attributes

std::string _dataType
 
int dccID
 
std::vector< int > dccIDsLas
 
std::vector< int > dccIDsPed
 
std::vector< int > dccIDsTP
 
int event
 
std::string eventHeaderCollection_
 
std::string eventHeaderProducer_
 
int fedID
 
std::vector< int > fedIDsLas
 
std::vector< int > fedIDsPed
 
std::vector< int > fedIDsTP
 
int iEvent
 
std::map< int, int > isFedLasCreated
 
std::map< int, int > isFedPedCreated
 
std::map< int, int > isFedTPCreated
 
std::map< int, int > laserDelayBlue
 
std::map< int, int > laserDelayRed
 
std::map< int, int > laserFilterBlue
 
std::map< int, int > laserFilterRed
 
std::map< int, int > laserPowerBlue
 
std::map< int, int > laserPowerRed
 
std::map< int, short > MEMGainLas
 
std::map< int, short > MEMGainPed
 
std::map< int, short > MEMGainTP
 
std::map< int, short > MGPAGainLas
 
std::map< int, short > MGPAGainPed
 
std::map< int, short > MGPAGainTP
 
std::map< int, int > nBlueLas
 
std::map< int, int > nEvtsLas
 
std::map< int, int > nEvtsPed
 
std::map< int, int > nEvtsTP
 
std::map< int, int > nRedLas
 
int nSM
 
std::string resdir_
 
int runNum
 
int runType
 
std::map< int, int > runTypeLas
 
std::map< int, int > runTypePed
 
std::map< int, int > runTypeTP
 
std::string statusfile_
 
std::map< int, unsigned long long > timeStampBegLas
 
std::map< int, unsigned long long > timeStampBegPed
 
std::map< int, unsigned long long > timeStampBegTP
 
unsigned long long timeStampCur
 
std::map< int, unsigned long long > timeStampEndLas
 
std::map< int, unsigned long long > timeStampEndPed
 
std::map< int, unsigned long long > timeStampEndTP
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 11 of file EcalStatusAnalyzer.h.

Member Enumeration Documentation

Enumerator
iBLUE 
iGREEN 
iRED 
iIR 

Definition at line 22 of file EcalStatusAnalyzer.h.

22  {
23  iBLUE = 0,
24  iGREEN = 1,
25  iRED = 3, // in fact should be 2
26  iIR = 2 // in fact should be 3
27  };

Constructor & Destructor Documentation

EcalStatusAnalyzer::EcalStatusAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 39 of file EcalStatusAnalyzer.cc.

References eventHeaderCollection_, eventHeaderProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), resdir_, and statusfile_.

41  :
42 iEvent(0),
43 
44 // framework parameters with default values
45 _dataType( iConfig.getUntrackedParameter< std::string >( "dataType", "h4" ) ) // h4 or p5
46 
47 //========================================================================
48 
49 {
50 
51  //now do what ever initialization is needed
52 
53  resdir_ = iConfig.getUntrackedParameter<std::string>("resDir");
54  statusfile_ = iConfig.getUntrackedParameter<std::string>("statusFile");
55 
56  eventHeaderCollection_ = iConfig.getParameter<std::string>("eventHeaderCollection");
57  eventHeaderProducer_ = iConfig.getParameter<std::string>("eventHeaderProducer");
58 
59 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string eventHeaderCollection_
std::string eventHeaderProducer_
EcalStatusAnalyzer::~EcalStatusAnalyzer ( )

Definition at line 63 of file EcalStatusAnalyzer.cc.

63  {
64 //========================================================================
65 
66 
67  // do anything here that needs to be done at desctruction time
68  // (e.g. close files, deallocate resources etc.)
69 
70 }

Member Function Documentation

void EcalStatusAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 94 of file EcalStatusAnalyzer.cc.

References _dataType, EcalTBEventHeader::begBurstTimeSec(), edm::SortedCollection< T, SORT >::begin(), dtNoiseDBValidation_cfg::cerr, dccID, dccIDsLas, dccIDsPed, dccIDsTP, EcalDCCHeaderBlock::EcalDCCEventSettings::delay, edm::SortedCollection< T, SORT >::end(), eventHeaderCollection_, eventHeaderProducer_, cppFunctionSkipper::exception, fedID, fedIDsLas, fedIDsPed, fedIDsTP, edm::Event::getByLabel(), iBLUE, iEvent, iIR, isFedLasCreated, isFedPedCreated, isFedTPCreated, EcalDCCHeaderBlock::LASER_DELAY_SCAN, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_POWER_SCAN, EcalDCCHeaderBlock::LASER_STD, laserDelayBlue, laserDelayRed, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter, laserFilterBlue, laserFilterRed, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower, laserPowerBlue, laserPowerRed, MEMGainLas, MEMGainPed, MEMGainTP, MGPAGainLas, MGPAGainPed, MGPAGainTP, nBlueLas, nEvtsLas, nEvtsPed, nEvtsTP, nRedLas, nSM, EcalDCCHeaderBlock::PEDESTAL_25NS_SCAN, EcalDCCHeaderBlock::PEDESTAL_OFFSET_SCAN, EcalDCCHeaderBlock::PEDESTAL_STD, edm::Handle< T >::product(), runNum, runType, runTypeLas, runTypePed, runTypeTP, EcalTBEventHeader::smInBeam(), EcalDCCHeaderBlock::TESTPULSE_GAP, EcalDCCHeaderBlock::TESTPULSE_MGPA, EcalDCCHeaderBlock::TESTPULSE_SCAN_MEM, edm::EventBase::time(), timeStampBegLas, timeStampBegPed, timeStampBegTP, timeStampCur, timeStampEndLas, timeStampEndPed, timeStampEndTP, edm::Timestamp::value(), and EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength.

94  {
95 //========================================================================
96 
97  ++iEvent;
98 
99  // retrieving DCC header
101  const EcalRawDataCollection* DCCHeader=0;
102  try {
104  DCCHeader=pDCCHeader.product();
105  }catch ( std::exception& ex ) {
106  std::cerr << "Error! can't get the product retrieving DCC header " << eventHeaderCollection_.c_str() << std::endl;
107  }
108 
109  // retrieving TB event header
110 
111  edm::Handle<EcalTBEventHeader> pEventHeader;
112  const EcalTBEventHeader* evtHeader=0;
113  if ( _dataType == "h4" ){
114  try {
115  e.getByLabel( eventHeaderProducer_ , pEventHeader );
116  evtHeader = pEventHeader.product(); // get a ptr to the product
117  } catch ( std::exception& ex ) {
118  std::cerr << "Error! can't get the product " << eventHeaderProducer_.c_str() << std::endl;
119  }
120 
121  timeStampCur=evtHeader->begBurstTimeSec();
122  nSM=evtHeader->smInBeam();
123 
124  }
125 
126  // Get Timestamp
127 
128  edm::Timestamp Time=e.time();
129 
130  if ( _dataType != "h4" ){
131  timeStampCur = Time.value();
132  }
133 
134  // ====================================
135  // Decode Basic DCCHeader Information
136  // ====================================
137 
138  for ( EcalRawDataCollection::const_iterator headerItr= DCCHeader->begin();headerItr != DCCHeader->end();
139  ++headerItr ) {
140 
141  // Get run type and run number
142  runType=headerItr->getRunType();
143  runNum=headerItr->getRunNumber();
144  event=headerItr->getLV1();
145  dccID=headerItr->getDccInTCCCommand();
146  fedID=headerItr->fedId();
147 
148  short VFEGain=headerItr->getMgpaGain() ;
149  short MEMGain=headerItr->getMemGain() ;
150 
151 
152  // Retrieve laser color and event number
153 
154  EcalDCCHeaderBlock::EcalDCCEventSettings settings = headerItr->getEventSettings();
155 
156  int laser_color = settings.wavelength;
157  int laser_power = settings.LaserPower ;
158  int laser_filter = settings.LaserFilter ;
159  int laser_delay = settings.delay ;
160  if( laser_color <0 ) return;
161  // int laser_ = settings.MEMVinj;
162 
163  bool isLas=false;
164  bool isTP=false;
165  bool isPed=false;
166 
169 
172 
175 
176 
177  // take event only if the fed corresponds to the DCC in TCC
178  // and fill gain stuff with value of 1st event
179 
180 
181  if( 600+dccID != fedID ) continue;
182 
183 
184  bool doesExist=false;
185 
186  if( (isFedLasCreated.count(fedID)==1 && isLas ) || ( isFedTPCreated.count(fedID)==1 && isTP ) || ( isFedPedCreated.count(fedID)==1 && isPed )) doesExist=true;
187  else if(isLas) isFedLasCreated[fedID]=1;
188  else if(isTP) isFedTPCreated[fedID]=1;
189  else if(isPed) isFedPedCreated[fedID]=1;
190 
191 
192 
193  if(!doesExist){
194 
195  // create new entry for laser
196 
197  if (isLas){
198 
199  fedIDsLas.push_back(fedID);
200  dccIDsLas.push_back(dccID);
201 
204 
205  nEvtsLas[fedID]=1;
207 
208  if (laser_color==iBLUE) {
209  nBlueLas[fedID]=1;
210  laserPowerBlue[fedID] = laser_power;
211  laserFilterBlue[fedID]= laser_filter;
212  laserDelayBlue[fedID] = laser_delay;
213  }else if (laser_color==iIR) {
214  nRedLas[fedID]=1;
215  laserPowerRed[fedID] = laser_power;
216  laserFilterRed[fedID]= laser_filter;
217  laserDelayRed[fedID] = laser_delay;
218  }
219 
220  MGPAGainLas[fedID]=VFEGain;
221  MEMGainLas[fedID]=MEMGain;
222 
223 
224  }
225 
226  // or create new entry for test-pulse
227  else if (isTP){
228 
229  fedIDsTP.push_back(fedID);
230  dccIDsTP.push_back(dccID);
231 
232  nEvtsTP[fedID]=1;
234 
237 
238  MGPAGainTP[fedID]=VFEGain;
239  MEMGainTP[fedID]=MEMGain;
240 
241  // or create new entry for pedestal
242 
243  } else if (isPed){
244 
245  fedIDsPed.push_back(fedID);
246  dccIDsPed.push_back(dccID);
247 
248  nEvtsPed[fedID]=1;
250 
253 
254  MGPAGainPed[fedID]=VFEGain;
255  MEMGainPed[fedID]=MEMGain;
256 
257  }
258 
259  }else{
260  if (isLas){
261  nEvtsLas[fedID]++;
262  if (laser_color==iBLUE)nBlueLas[fedID]++;
263  else if (laser_color==iIR)nRedLas[fedID]++;
264 
267 
268  }else if (isTP){
269  nEvtsTP[fedID]++;
272  }else if (isPed){
273  nEvtsPed[fedID]++;
276  }
277  }
278  }
279 
280 }// analyze
std::map< int, int > nRedLas
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
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
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
int begBurstTimeSec() const
Returns the begin burst time (sec)
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
Definition: Event.h:356
const_iterator end() const
TimeValue_t value() const
Definition: Timestamp.cc:72
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
Definition: Handle.h:74
std::map< int, short > MGPAGainTP
short smInBeam() const
Returns the burst number.
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
Definition: EventBase.h:57
const_iterator begin() const
void EcalStatusAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 75 of file EcalStatusAnalyzer.cc.

References fedID, nSM, runNum, and runType.

75  {
76 //========================================================================
77 
78 
79 
80  // Initializations
81 
82 
83  nSM=0;
84  fedID=0;
85  runType=-999;
86  runNum=-999;
87  event=0;
88 
89 
90 }
void EcalStatusAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 284 of file EcalStatusAnalyzer.cc.

References dccIDsLas, dccIDsPed, dccIDsTP, fedIDsLas, fedIDsPed, fedIDsTP, i, laserDelayBlue, laserDelayRed, laserFilterBlue, laserFilterRed, laserPowerBlue, laserPowerRed, MEMGainLas, MEMGainPed, MEMGainTP, MGPAGainLas, MGPAGainPed, MGPAGainTP, prof2calltree::namefile, nBlueLas, nEvtsLas, nEvtsPed, nEvtsTP, nRedLas, dbtoconf::out, resdir_, runTypeLas, runTypePed, runTypeTP, statusfile_, timeStampBegLas, timeStampBegPed, timeStampBegTP, timeStampEndLas, timeStampEndPed, and timeStampEndTP.

284  {
285 //========================================================================
286 
287  // Create output status file
288 
289  std::stringstream namefile;
290  namefile << resdir_ <<"/"<<statusfile_;
291 
292  string statusfile=namefile.str();
293 
294  ofstream statusFile(statusfile.c_str(), ofstream::out);
295 
296 
297  if(fedIDsLas.size()!=0 && fedIDsLas.size()==dccIDsLas.size()){
298 
299  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
300  statusFile <<" LASER Events "<<std::endl;
301  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
302 
303  for(unsigned int i=0;i<fedIDsLas.size();i++){
304 
305  statusFile <<"RUNTYPE = "<< runTypeLas[fedIDsLas.at(i)]<< std::endl;
306  statusFile <<"FEDID = "<< fedIDsLas.at(i) << std::endl;
307  statusFile <<"DCCID = "<< dccIDsLas.at(i) << std::endl;
308  statusFile <<"TIMESTAMP_BEG = "<<timeStampBegLas[fedIDsLas.at(i)] << std::endl;
309  statusFile <<"TIMESTAMP_END = "<<timeStampEndLas[fedIDsLas.at(i)] << std::endl;
310  statusFile <<"MPGA_GAIN = "<<MGPAGainLas[fedIDsLas.at(i)] << std::endl;
311  statusFile <<"MEM_GAIN = "<<MEMGainLas[fedIDsLas.at(i)] << std::endl;
312  statusFile <<"EVENTS = "<< nEvtsLas[fedIDsLas.at(i)]<< std::endl;
313 
314  if(nBlueLas[fedIDsLas.at(i)]>0){
315  statusFile <<" blue laser events = "<< nBlueLas[fedIDsLas.at(i)]<< std::endl;
316  statusFile <<" blue laser power = "<< laserPowerBlue[fedIDsLas.at(i)]<< std::endl;
317  statusFile <<" blue laser filter = "<< laserFilterBlue[fedIDsLas.at(i)]<< std::endl;
318  statusFile <<" blue laser delay = "<< laserDelayBlue[fedIDsLas.at(i)]<< std::endl;
319  }
320 
321  if(nRedLas[fedIDsLas.at(i)]>0){
322  statusFile <<" ired laser events = "<< nRedLas[fedIDsLas.at(i)]<< std::endl;
323  statusFile <<" ired laser power = "<< laserPowerRed[fedIDsLas.at(i)]<< std::endl;
324  statusFile <<" ired laser filter = "<< laserFilterRed[fedIDsLas.at(i)]<< std::endl;
325  statusFile <<" ired laser delay = "<< laserDelayRed[fedIDsLas.at(i)]<< std::endl;
326  }
327 
328  if(i<fedIDsLas.size()-1) statusFile <<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
329  else statusFile <<" "<<std::endl;
330  }
331  }
332 
333  if(fedIDsTP.size()!=0 && fedIDsTP.size()==dccIDsTP.size()){
334 
335  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
336  statusFile <<" TESTPULSE Events "<<std::endl;
337  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
338 
339  for(unsigned int i=0;i<fedIDsTP.size();i++){
340 
341  statusFile <<"RUNTYPE = "<< runTypeTP[fedIDsTP.at(i)]<< std::endl;
342  statusFile <<"FEDID = "<< fedIDsTP.at(i) << std::endl;
343  statusFile <<"DCCID = "<< dccIDsTP.at(i) << std::endl;
344  statusFile <<"TIMESTAMP_BEG = "<<timeStampBegTP[fedIDsTP.at(i)] << std::endl;
345  statusFile <<"TIMESTAMP_END = "<<timeStampEndTP[fedIDsTP.at(i)] << std::endl;
346  statusFile <<"MPGA_GAIN = "<<MGPAGainTP[fedIDsTP.at(i)] << std::endl;
347  statusFile <<"MEM_GAIN = "<<MEMGainTP[fedIDsTP.at(i)] << std::endl;
348  statusFile <<"EVENTS = "<< nEvtsTP[fedIDsTP.at(i)]<< std::endl;
349  if(i<fedIDsTP.size()-1) statusFile <<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
350  else statusFile <<" "<<std::endl;
351  }
352  }
353 
354  if(fedIDsPed.size()!=0 && fedIDsPed.size()==dccIDsPed.size()){
355 
356  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
357  statusFile <<" PEDESTAL Events "<<std::endl;
358  statusFile <<"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+="<<std::endl;
359 
360  for(unsigned int i=0;i<fedIDsPed.size();i++){
361 
362  statusFile <<"RUNTYPE = "<< runTypePed[fedIDsPed.at(i)]<< std::endl;
363  statusFile <<"FEDID = "<< fedIDsPed.at(i) << std::endl;
364  statusFile <<"DCCID = "<< dccIDsPed.at(i) << std::endl;
365  statusFile <<"TIMESTAMP_BEG = "<<timeStampBegPed[fedIDsPed.at(i)] << std::endl;
366  statusFile <<"TIMESTAMP_END = "<<timeStampEndPed[fedIDsPed.at(i)] << std::endl;
367  statusFile <<"MPGA_GAIN = "<<MGPAGainPed[fedIDsPed.at(i)] << std::endl;
368  statusFile <<"MEM_GAIN = "<<MEMGainPed[fedIDsPed.at(i)] << std::endl;
369  statusFile <<"EVENTS = "<< nEvtsPed[fedIDsPed.at(i)]<< std::endl;
370  if(i<fedIDsPed.size()-1) statusFile <<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="<<std::endl;
371  else statusFile <<" "<<std::endl;
372  }
373  }
374  statusFile <<" ... header done"<<std::endl;
375 
376  statusFile.close();
377 
378 }
std::map< int, int > nRedLas
int i
Definition: DBlmapReader.cc:9
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
std::map< int, unsigned long long > timeStampEndLas
std::map< int, int > laserDelayRed
std::map< int, short > MEMGainTP
std::map< int, int > nEvtsLas
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::map< int, int > runTypeLas
std::map< int, unsigned long long > timeStampBegLas
std::map< int, int > nBlueLas
std::map< int, int > laserPowerRed
tuple out
Definition: dbtoconf.py:99
std::map< int, short > MGPAGainPed
std::map< int, unsigned long long > timeStampEndPed
std::map< int, int > laserFilterRed
std::map< int, short > MEMGainPed
std::map< int, short > MGPAGainTP
std::map< int, int > laserPowerBlue
std::vector< int > dccIDsLas
std::map< int, int > laserDelayBlue
std::map< int, int > nEvtsPed

Member Data Documentation

std::string EcalStatusAnalyzer::_dataType
private

Definition at line 49 of file EcalStatusAnalyzer.h.

Referenced by analyze().

int EcalStatusAnalyzer::dccID
private

Definition at line 58 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::vector<int> EcalStatusAnalyzer::dccIDsLas
private

Definition at line 45 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::vector<int> EcalStatusAnalyzer::dccIDsPed
private

Definition at line 47 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::vector<int> EcalStatusAnalyzer::dccIDsTP
private

Definition at line 46 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

int EcalStatusAnalyzer::event
private

Definition at line 55 of file EcalStatusAnalyzer.h.

Referenced by Types.EventID::cppID().

std::string EcalStatusAnalyzer::eventHeaderCollection_
private

Definition at line 35 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and EcalStatusAnalyzer().

std::string EcalStatusAnalyzer::eventHeaderProducer_
private

Definition at line 36 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and EcalStatusAnalyzer().

int EcalStatusAnalyzer::fedID
private

Definition at line 57 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and beginJob().

std::vector<int> EcalStatusAnalyzer::fedIDsLas
private

Definition at line 42 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::vector<int> EcalStatusAnalyzer::fedIDsPed
private

Definition at line 44 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::vector<int> EcalStatusAnalyzer::fedIDsTP
private

Definition at line 43 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

int EcalStatusAnalyzer::iEvent
private

Definition at line 31 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::map<int,int> EcalStatusAnalyzer::isFedLasCreated
private

Definition at line 38 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::map<int,int> EcalStatusAnalyzer::isFedPedCreated
private

Definition at line 40 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::map<int,int> EcalStatusAnalyzer::isFedTPCreated
private

Definition at line 39 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::map<int, int > EcalStatusAnalyzer::laserDelayBlue
private

Definition at line 82 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int > EcalStatusAnalyzer::laserDelayRed
private

Definition at line 86 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int > EcalStatusAnalyzer::laserFilterBlue
private

Definition at line 81 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int > EcalStatusAnalyzer::laserFilterRed
private

Definition at line 85 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int > EcalStatusAnalyzer::laserPowerBlue
private

Definition at line 80 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int > EcalStatusAnalyzer::laserPowerRed
private

Definition at line 84 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MEMGainLas
private

Definition at line 72 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MEMGainPed
private

Definition at line 78 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MEMGainTP
private

Definition at line 75 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MGPAGainLas
private

Definition at line 71 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MGPAGainPed
private

Definition at line 77 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, short> EcalStatusAnalyzer::MGPAGainTP
private

Definition at line 74 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::nBlueLas
private

Definition at line 89 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::nEvtsLas
private

Definition at line 88 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::nEvtsPed
private

Definition at line 96 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::nEvtsTP
private

Definition at line 93 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::nRedLas
private

Definition at line 90 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

int EcalStatusAnalyzer::nSM
private

Definition at line 56 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and beginJob().

std::string EcalStatusAnalyzer::resdir_
private

Definition at line 33 of file EcalStatusAnalyzer.h.

Referenced by EcalStatusAnalyzer(), and endJob().

int EcalStatusAnalyzer::runNum
private

Definition at line 54 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and beginJob().

int EcalStatusAnalyzer::runType
private

Definition at line 53 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and beginJob().

std::map<int, int> EcalStatusAnalyzer::runTypeLas
private

Definition at line 91 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::runTypePed
private

Definition at line 97 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, int> EcalStatusAnalyzer::runTypeTP
private

Definition at line 94 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::string EcalStatusAnalyzer::statusfile_
private

Definition at line 34 of file EcalStatusAnalyzer.h.

Referenced by EcalStatusAnalyzer(), and endJob().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegLas
private

Definition at line 62 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegPed
private

Definition at line 68 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegTP
private

Definition at line 65 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

unsigned long long EcalStatusAnalyzer::timeStampCur
private

Definition at line 60 of file EcalStatusAnalyzer.h.

Referenced by analyze().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndLas
private

Definition at line 63 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndPed
private

Definition at line 69 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndTP
private

Definition at line 66 of file EcalStatusAnalyzer.h.

Referenced by analyze(), and endJob().