CMS 3D CMS Logo

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

#include <EBBeamCaloTask.h>

Inheritance diagram for EBBeamCaloTask:
edm::EDAnalyzer

Public Member Functions

 EBBeamCaloTask (const edm::ParameterSet &ps)
 Constructor. More...
 
virtual ~EBBeamCaloTask ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze. More...
 
void beginJob (void)
 BeginJob. More...
 
void beginRun (const edm::Run &r, const edm::EventSetup &c)
 BeginRun. More...
 
void cleanup (void)
 Cleanup. More...
 
void endJob (void)
 EndJob. More...
 
void endRun (const edm::Run &r, const edm::EventSetup &c)
 EndRun. More...
 
void reset (void)
 Reset. More...
 
void setup (void)
 Setup. More...
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Private Attributes

bool changed_cry_in_beam_
 
bool changed_tb_status_
 
int cib_ [12]
 
int crystal_step_
 
MonitorElementCrystalInBeam_vs_Event_
 
MonitorElementCrystalsDone_
 
DQMStoredqmStore_
 
edm::InputTag EBDigiCollection_
 
edm::InputTag EcalRawDataCollection_
 
edm::InputTag EcalTBEventHeader_
 
edm::InputTag EcalUncalibratedRecHitCollection_
 
bool enableCleanup_
 
int event_last_reset_
 
int evt_after_change_
 
int ievt_
 
bool init_
 
int last_cry_in_beam_
 
int lastStableStatus_
 
MonitorElementmeBBCaloAllNeededCry_
 
MonitorElementmeBBCaloCryOnBeam_
 
MonitorElementmeBBCaloCryRead_
 
MonitorElementmeBBCaloE3x3_
 
MonitorElementmeBBCaloE3x3Moving_
 
MonitorElementmeBBCaloEne_ [cryInArray_]
 
MonitorElementmeBBCaloGains_ [cryInArray_]
 
MonitorElementmeBBCaloMaxEneCry_
 
MonitorElementmeBBCaloPulseProf_ [cryInArray_]
 
MonitorElementmeBBCaloPulseProfG12_ [cryInArray_]
 
MonitorElementmeBBNumCaloCryRead_
 
MonitorElementmeEBBCaloBeamCentered_
 
MonitorElementmeEBBCaloDesync_
 
MonitorElementmeEBBCaloE1MaxCry_
 
MonitorElementmeEBBCaloE1vsCry_
 
MonitorElementmeEBBCaloE3x3vsCry_
 
MonitorElementmeEBBCaloEntriesVsCry_
 
MonitorElementmeEBBCaloReadCryErrors_
 
bool mergeRuns_
 
std::string prefixME_
 
int previous_cry_in_beam_
 
int previous_ev_num_
 
int PreviousCrystalinBeam_ [3]
 
int PreviousTableStatus_ [2]
 
bool profileArranged_
 
int table_step_
 
MonitorElementTableMoving_
 
bool wasFakeChange_
 

Static Private Attributes

static const int cryInArray_ = 9
 
static const int defaultPede_ = 200
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 20 of file EBBeamCaloTask.h.

Constructor & Destructor Documentation

EBBeamCaloTask::EBBeamCaloTask ( const edm::ParameterSet ps)

Constructor.

Definition at line 35 of file EBBeamCaloTask.cc.

References cryInArray_, CrystalInBeam_vs_Event_, CrystalsDone_, dqmStore_, EBDigiCollection_, EcalRawDataCollection_, EcalTBEventHeader_, EcalUncalibratedRecHitCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEBBCaloBeamCentered_, meEBBCaloDesync_, meEBBCaloE1MaxCry_, meEBBCaloE1vsCry_, meEBBCaloE3x3vsCry_, meEBBCaloEntriesVsCry_, meEBBCaloReadCryErrors_, mergeRuns_, cmsCodeRules.cppFunctionSkipper::operator, prefixME_, and TableMoving_.

35  {
36 
37  init_ = false;
38 
40 
41  prefixME_ = ps.getUntrackedParameter<std::string>("prefixME", "");
42 
43  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup", false);
44 
45  mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns", false);
46 
47  EcalTBEventHeader_ = ps.getParameter<edm::InputTag>("EcalTBEventHeader");
48  EcalRawDataCollection_ = ps.getParameter<edm::InputTag>("EcalRawDataCollection");
49  EBDigiCollection_ = ps.getParameter<edm::InputTag>("EBDigiCollection");
50  EcalUncalibratedRecHitCollection_ = ps.getParameter<edm::InputTag>("EcalUncalibratedRecHitCollection");
51 
52  for (int i = 0; i < cryInArray_ ; i++) {
55  meBBCaloGains_[i]=0;
56  meBBCaloEne_[i]=0;
57  }
58 
59  meBBCaloCryRead_ = 0;
60 
63 
64  meBBCaloE3x3_ = 0;
66 
69  TableMoving_ = 0;
70 
71  CrystalsDone_ = 0;
78 
80 
81  meEBBCaloDesync_ = 0;
82 
83 }
MonitorElement * TableMoving_
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int i
Definition: DBlmapReader.cc:9
MonitorElement * meEBBCaloE3x3vsCry_
MonitorElement * meEBBCaloReadCryErrors_
MonitorElement * CrystalInBeam_vs_Event_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * meEBBCaloE1vsCry_
MonitorElement * meBBNumCaloCryRead_
std::string prefixME_
edm::InputTag EcalUncalibratedRecHitCollection_
edm::InputTag EcalTBEventHeader_
MonitorElement * meEBBCaloEntriesVsCry_
MonitorElement * CrystalsDone_
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meEBBCaloE1MaxCry_
MonitorElement * meEBBCaloBeamCentered_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEBBCaloDesync_
edm::InputTag EBDigiCollection_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloE3x3Moving_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
DQMStore * dqmStore_
edm::InputTag EcalRawDataCollection_
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloGains_[cryInArray_]
static const int cryInArray_
EBBeamCaloTask::~EBBeamCaloTask ( )
virtual

Destructor.

Definition at line 85 of file EBBeamCaloTask.cc.

85  {
86 
87 }

Member Function Documentation

void EBBeamCaloTask::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Analyze.

Implements edm::EDAnalyzer.

Definition at line 346 of file EBBeamCaloTask.cc.

References abs, ecalMGPA::adc(), EcalMGPASample::adc(), EcalDCCHeaderBlock::BEAMH2, EcalDCCHeaderBlock::BEAMH4, newFWLiteAna::bin, benchmark_cfg::cerr, changed_cry_in_beam_, changed_tb_status_, cryInArray_, crystal_step_, EcalTBEventHeader::crystalInBeam(), CrystalInBeam_vs_Event_, CrystalsDone_, createTree::dd, defaultPede_, EBDigiCollection_, EcalBarrel, EcalRawDataCollection_, EcalTBEventHeader_, EcalUncalibratedRecHitCollection_, event(), event_last_reset_, EcalTBEventHeader::eventNumber(), MonitorElement::Fill(), EcalMGPASample::gainId(), MonitorElement::getBinContent(), edm::Event::getByLabel(), i, EBDetId::ic(), ievt_, init_, last_cry_in_beam_, lastStableStatus_, LogDebug, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEBBCaloBeamCentered_, meEBBCaloDesync_, meEBBCaloE1MaxCry_, meEBBCaloE1vsCry_, meEBBCaloE3x3vsCry_, meEBBCaloEntriesVsCry_, meEBBCaloReadCryErrors_, previous_cry_in_beam_, previous_ev_num_, PreviousCrystalinBeam_, PreviousTableStatus_, edm::Handle< T >::product(), profileArranged_, MonitorElement::Reset(), EcalDataFrame::sample(), MonitorElement::setBinContent(), setup(), Numbers::subDet(), EcalTBEventHeader::syncError(), table_step_, EcalTBEventHeader::tableIsMoving(), TableMoving_, cond::rpcobtemp::temp, and wasFakeChange_.

346  {
347 
348  bool enable = false;
349 
351 
352  if ( e.getByLabel(EcalRawDataCollection_, dcchs) ) {
353 
354  for ( EcalRawDataCollection::const_iterator dcchItr = dcchs->begin(); dcchItr != dcchs->end(); ++dcchItr ) {
355 
356  if ( Numbers::subDet( *dcchItr ) != EcalBarrel ) continue;
357 
358  if ( dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH4 ||
359  dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH2 ) enable = true;
360 
361  }
362 
363  } else {
364  edm::LogWarning("EBBeamCaloTask") << EcalRawDataCollection_ << " not available";
365  }
366 
367  if ( ! enable ) return;
368  if ( ! init_ ) this->setup();
369  ievt_++;
370 
371  edm::Handle<EcalTBEventHeader> pEventHeader;
372  const EcalTBEventHeader* evtHeader=0;
373 
374  if ( e.getByLabel(EcalTBEventHeader_, pEventHeader) ) {
375  evtHeader = pEventHeader.product(); // get a ptr to the product
376  } else {
377  std::cerr << "Error! can't get the product for the event header" << std::endl;
378  }
379 
380  //FIX ME, in the task we should use LV1 instead of ievt_ (prescaling)
381  int cry_in_beam = 0;
382  bool tb_moving = false;//just for test, to be filled with info from the event
383  int event = 0;
384 
385  if(evtHeader){
386  cry_in_beam = evtHeader->crystalInBeam();
387  tb_moving = evtHeader->tableIsMoving();
388  event = evtHeader->eventNumber();
389  if( evtHeader->syncError() ) {meEBBCaloDesync_->Fill(crystal_step_);}
390  }
391  else {
392  cry_in_beam = previous_cry_in_beam_;
393  tb_moving = lastStableStatus_;
394  event = previous_ev_num_ +10;
395  }
396 
397  previous_cry_in_beam_ = cry_in_beam;
399 
400 
401  bool reset_histos_stable = false;
402  bool reset_histos_moving = false;
403 
404  bool skip_this_event = false;
405 
406  if(ievt_ < 3){last_cry_in_beam_ = cry_in_beam;}
407 
408  if(tb_moving){
409 
410  TableMoving_->Fill(1);
411  if( PreviousTableStatus_[0] == 0 && PreviousTableStatus_[1] == 1 && lastStableStatus_ == 0){
412  reset_histos_moving=true;
413  wasFakeChange_ = false;
414  // ! Warning! This works in the assumption that the crystal in beam stay the same
415  // while the tb is moving and is set to the new one only when the table
416  // reaches the new position
417  lastStableStatus_ = 1;
418 
419  }
420  else if( PreviousTableStatus_[1] == 0) {
421  skip_this_event=true;
422  changed_tb_status_ = true;
423  wasFakeChange_ = true;
424  }
425  // just skip the first event when the table change status
427  PreviousTableStatus_[1] = 1;
428  }//end of if(tb_moving)
429 
430  else {// table is not moving
431 
432  TableMoving_->Fill(0);
433  if( PreviousTableStatus_[0] == 1 && PreviousTableStatus_[1] == 0 && lastStableStatus_ == 1){
434  //reset_histos_stable = true;
435  wasFakeChange_ = false;
436  lastStableStatus_ = 0;
437  }
438  else if(PreviousTableStatus_[1] == 1) {
439  skip_this_event=true;
440  changed_tb_status_ = true;
441  wasFakeChange_ = true;
442  }
443  // just skip the first event when the table change status
446 
447  // check also whether cry in beam has changed
449  reset_histos_stable=true;
450  wasFakeChange_ = false;
451  }
452  else if (PreviousCrystalinBeam_[2] != cry_in_beam){
453  changed_cry_in_beam_ = true;
454  skip_this_event=true;
455  wasFakeChange_ = true;
456  }
457  // }
458 
461  PreviousCrystalinBeam_[2] = cry_in_beam;
462  }
463 
464 
465  if( !tb_moving ) {CrystalInBeam_vs_Event_->Fill(event,float(cry_in_beam));}
466  else{CrystalInBeam_vs_Event_->Fill(event,-100); }
467  if ( !profileArranged_ ){
468  float dd=0;
469  int mbin =0;
470  for( int bin=1; bin < 20001; bin++ ){
472  if(temp>0){ dd= temp+0.01; mbin=bin; break;}
473  }
474  if(mbin >0) { CrystalInBeam_vs_Event_->Fill(20*mbin-1,dd);}
475  profileArranged_ = true;
476  }
477 
478  if(reset_histos_moving){
479  edm::LogInfo("EBBeamCaloTask") << "event " << ievt_ << " resetting histos for moving table!! ";
480 
481  table_step_++;
482 
484 
485  }
486 
487 
488  if(reset_histos_stable){
489  if( event - event_last_reset_ > 30){//to be tuned, to avoid a double reset for the change in the table status and
490  //in the crystal in beam. This works ONLY if the crystal in beam stay the same
491  // while the table is moving.
492  //One can also think to remove the reset of the histograms when the table change
493  // status from moving to stable, and to leave the reset only if the cry_in_beam changes.
494 
495  edm::LogInfo("EBBeamCaloTask") << "event " << ievt_ << " resetting histos for stable table!! ";
496 
498 
499  last_cry_in_beam_ = cry_in_beam;
500  crystal_step_++;
501 
502  //here the follwowing histos should be reset
503  for (int u=0;u<cryInArray_;u++){
506  meBBCaloGains_[u]->Reset();
507  meBBCaloEne_[u]->Reset();
508  }
510  meBBCaloE3x3_->Reset();
512  }
513  }
514 
515  if(skip_this_event){
516  edm::LogInfo("EBBeamCaloTask") << "event " << event <<" analyzed: "<<ievt_ << " : skipping this event!! ";
517  return;}
518 
519  // now CrystalsDone_ contains the crystal on beam at the beginning fo a new step, and not when it has finished !!
520  // <5 just to avoid that we skip the event just after the reset and we do not set CrystalsDone_ .
521  // if( ievt_ - event_last_reset_ < 5){ CrystalsDone_->setBinContent(cry_in_beam , crystal_step_ );}
522  CrystalsDone_->setBinContent(cry_in_beam , crystal_step_ );
523  int eta_c = ( cry_in_beam-1)/20 ;
524  int phi_c = ( cry_in_beam-1)%20 ;
525 
526  float xie = eta_c + 0.5;
527  float xip = phi_c + 0.5;
528  if (!tb_moving) {meBBCaloCryOnBeam_->Fill(xie,xip);}
529 
531  e.getByLabel(EBDigiCollection_, digis);
532  int nebd = digis->size();
533 
534  meBBNumCaloCryRead_->Fill(nebd);
535 
536  //matrix 7x7 around cry in beam
537  int cry_to_beRead[49]; //0 or -1 for non existing crystals (eg 1702)
538  for(int u=0;u<49;u++){cry_to_beRead[u]=0;}
539  // chech that all the crystals in the 7x7 exist
540  for(int de=-3; de<4; de++){
541  for(int dp=-3; dp<4; dp++){
542  int u = de -7*dp + 24;
543  bool existing_cry = (phi_c+dp) >= 0 && (phi_c+dp) <= 19 && (eta_c+de) >=0 && (eta_c+de) <= 84;
544  if(!existing_cry){cry_to_beRead[u]=-1;}
545  }
546  }
547 
548 
549  meEBBCaloEntriesVsCry_->Fill(cry_in_beam);
550 
551  for ( EBDigiCollection::const_iterator digiItr = digis->begin(); digiItr != digis->end(); ++digiItr ) {
552 
553  EBDetId id = digiItr->id();
554 
555  int ic = id.ic();
556  int ie = (ic-1)/20;
557  int ip = (ic-1)%20;
558 
559  int deta_c= ie - eta_c;
560  int dphi_c= ip - phi_c;
561  if (! tb_moving){meBBCaloCryRead_->Fill(deta_c, dphi_c);}
562 
563  if(std::abs(deta_c) > 3 || std::abs(dphi_c) > 3){continue;}
564  int i_toBeRead = deta_c -7*dphi_c + 24;
565  if( i_toBeRead > -1 && i_toBeRead <49){
566  cry_to_beRead[i_toBeRead]++;
567  }
568 
569  if(std::abs(deta_c) > 1 || std::abs(dphi_c) > 1){continue;}
570  int i_in_array = deta_c -3*dphi_c + 4;
571 
572  if( i_in_array < 0 || i_in_array > 8 ){continue;}
573 
574  EBDataFrame dataframe = (*digiItr);
575 
576  for (int i = 0; i < 10; i++) {
577  int adc = dataframe.sample(i).adc();
578  int gainid = dataframe.sample(i).gainId();
579 
580  if ( gainid == 1 ){// gain 12
581  if(! tb_moving){
582  meBBCaloPulseProfG12_[i_in_array]->Fill(i,float(adc));
583  meBBCaloPulseProf_[i_in_array]->Fill(i,float(adc));
584  meBBCaloGains_[i_in_array]->Fill(12);
585  }
586 
587  }
588  else if ( gainid == 2 ){// gain 6
589  float val = (float(adc)-defaultPede_)*2 + defaultPede_;
590  if(! tb_moving){
591  meBBCaloPulseProf_[i_in_array]->Fill(i,val);
592  meBBCaloGains_[i_in_array]->Fill(6);
593  }
594 
595  }
596  else if ( gainid == 3 ){// gain 1
597  float val = (float(adc)-defaultPede_)*12 + defaultPede_;
598  if(! tb_moving){
599  meBBCaloPulseProf_[i_in_array]->Fill(i,val);
600  meBBCaloGains_[i_in_array]->Fill(1);
601  }
602 
603  }
604  }// end of loop over samples
605  }// end of loop over digis
606 
607  //now if everything was correct cry_to_beRead should be filled with 1 or -1 but not 0
608  bool all_cry_readout = true;
609 
610  if(all_cry_readout){ meBBCaloAllNeededCry_->Fill(1.5);}//bin3
611  else {
612  meBBCaloAllNeededCry_->Fill(-0.5);//bin1
613  if( tb_moving ) {meEBBCaloReadCryErrors_->Fill( crystal_step_+0.5 );}
615  }
616 
617  //the part involving rechits
618 
621  int neh = hits->size();
622  LogDebug("EBBeamCaloTask") << "event " << event <<" analyzed: "<< ievt_ << " hits collection size " << neh;
623  float ene3x3=0;
624  float maxEne = 0;
625  int ieM =-1, ipM = -1;//for the crystal with maximum energy deposition
626  float cryInBeamEne =0;
627  for ( EcalUncalibratedRecHitCollection::const_iterator hitItr = hits->begin(); hitItr != hits->end(); ++hitItr ) {
628 
629  EBDetId id = hitItr->id();
630 
631  int ic = id.ic();
632  int ie = (ic-1)/20;
633  int ip = (ic-1)%20;
634 
635  int deta_c= ie - eta_c;
636  int dphi_c= ip - phi_c;
637 
638  int i_in_array = deta_c -3*dphi_c + 4;
639 
640  float R_ene = hitItr->amplitude();
641  if ( R_ene <= 0. ) R_ene = 0.0;
642  if(R_ene > maxEne){
643  maxEne=R_ene;
644  ieM =ie; ipM = ip;
645  }
646  if(std::abs(deta_c) > 1 || std::abs(dphi_c) > 1){continue;}
647  meEBBCaloBeamCentered_->Fill(deta_c,dphi_c,R_ene);
648 
649  if( i_in_array < 0 || i_in_array > 8 ){continue;}
650 
651  if(i_in_array == 4){cryInBeamEne = R_ene;}
652  if(! tb_moving){meBBCaloEne_[i_in_array]->Fill(R_ene);}
653  ene3x3 += R_ene;
654 
655  }//end of loop over rechits
656 
657  if (!tb_moving){
658  meBBCaloE3x3_->Fill(ene3x3);
659  meEBBCaloE1vsCry_->Fill(cry_in_beam , cryInBeamEne );
660  meEBBCaloE3x3vsCry_->Fill(cry_in_beam, ene3x3 );
661 
662  meBBCaloMaxEneCry_->Fill(ieM,ipM);
663  meEBBCaloE1MaxCry_->Fill(maxEne);
664  }
665  else{meBBCaloE3x3Moving_->Fill(ene3x3);}
667 }
#define LogDebug(id)
int adc(sample_type sample)
get the ADC sample (12 bits)
MonitorElement * TableMoving_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meEBBCaloE3x3vsCry_
void setBinContent(int binx, double content)
set content of bin (1-D)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
bool tableIsMoving() const
Tell if the table is Moving.
MonitorElement * meEBBCaloReadCryErrors_
std::vector< T >::const_iterator const_iterator
MonitorElement * CrystalInBeam_vs_Event_
MonitorElement * meBBCaloCryOnBeam_
#define abs(x)
Definition: mlp_lapack.h:159
EcalMGPASample sample(int i) const
Definition: EcalDataFrame.h:28
MonitorElement * meEBBCaloE1vsCry_
MonitorElement * meBBNumCaloCryRead_
int gainId() const
get the gainId (2 bits)
int crystalInBeam() const
Returns the crystal which is being hit by the beam (in the internal SM numbering scheme) ...
edm::InputTag EcalUncalibratedRecHitCollection_
static const int defaultPede_
int PreviousCrystalinBeam_[3]
edm::InputTag EcalTBEventHeader_
void Fill(long long x)
MonitorElement * meEBBCaloEntriesVsCry_
MonitorElement * CrystalsDone_
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meEBBCaloE1MaxCry_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
MonitorElement * meEBBCaloBeamCentered_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:355
int ic() const
get ECAL/crystal number inside SM
Definition: EBDetId.cc:94
void setup(void)
Setup.
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEBBCaloDesync_
edm::InputTag EBDigiCollection_
MonitorElement * meBBCaloMaxEneCry_
int eventNumber() const
Returns the event number.
MonitorElement * meBBCaloE3x3Moving_
T const * product() const
Definition: Handle.h:74
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
double getBinContent(int binx) const
get content of bin (1-D)
edm::InputTag EcalRawDataCollection_
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloGains_[cryInArray_]
static EcalSubdetector subDet(const EBDetId &id)
Definition: Numbers.cc:136
void Reset(void)
reset ME (ie. contents, errors, etc)
int PreviousTableStatus_[2]
bool syncError() const
is there any sync error
int adc() const
get the ADC sample (12 bits)
static const int cryInArray_
void EBBeamCaloTask::beginJob ( void  )
protectedvirtual

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 89 of file EBBeamCaloTask.cc.

References dqmStore_, ievt_, prefixME_, profileArranged_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().

89  {
90 
91  ievt_ = 0;
92 
93  profileArranged_ = false;
94 
95  if ( dqmStore_ ) {
96  dqmStore_->setCurrentFolder(prefixME_ + "/EBBeamCaloTask");
97  dqmStore_->rmdir(prefixME_ + "/EBBeamCaloTask");
98  }
99 
100 }
void rmdir(const std::string &fullpath)
Definition: DQMStore.cc:2311
std::string prefixME_
DQMStore * dqmStore_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:232
void EBBeamCaloTask::beginRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

BeginRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 102 of file EBBeamCaloTask.cc.

References Numbers::initGeometry(), mergeRuns_, and reset().

102  {
103 
104  Numbers::initGeometry(c, false);
105 
106  if ( ! mergeRuns_ ) this->reset();
107 
108 }
void reset(void)
Reset.
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
Definition: Numbers.cc:45
void EBBeamCaloTask::cleanup ( void  )
protected

Cleanup.

Definition at line 280 of file EBBeamCaloTask.cc.

References cryInArray_, CrystalInBeam_vs_Event_, CrystalsDone_, dqmStore_, edm::getName(), MonitorElement::getName(), i, init_, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEBBCaloBeamCentered_, meEBBCaloDesync_, meEBBCaloE1MaxCry_, meEBBCaloE1vsCry_, meEBBCaloE3x3vsCry_, meEBBCaloEntriesVsCry_, meEBBCaloReadCryErrors_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and TableMoving_.

Referenced by endJob().

280  {
281 
282  if ( ! init_ ) return;
283 
284  if ( dqmStore_ ) {
285  dqmStore_->setCurrentFolder(prefixME_ + "/EBBeamCaloTask");
286  for (int i = 0; i < cryInArray_ ; i++) {
288  meBBCaloPulseProf_[i] = 0;
292  meBBCaloGains_[i] = 0;
294  meBBCaloEne_[i] = 0;
295 
296  }
297 
299  meBBCaloCryRead_ = 0;
305  meBBCaloE3x3_ = 0;
309  meBBCaloCryOnBeam_ = 0;
311  meBBCaloMaxEneCry_ = 0;
313  TableMoving_ = 0;
315  CrystalsDone_ = 0;
321  meEBBCaloE1vsCry_ = 0;
329  meEBBCaloE1MaxCry_ = 0;
331  meEBBCaloDesync_ = 0;
332  }
333 
334  init_ = false;
335 
336 }
MonitorElement * TableMoving_
const std::string & getName(void) const
get name of ME
int i
Definition: DBlmapReader.cc:9
MonitorElement * meEBBCaloE3x3vsCry_
MonitorElement * meEBBCaloReadCryErrors_
MonitorElement * CrystalInBeam_vs_Event_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * meEBBCaloE1vsCry_
MonitorElement * meBBNumCaloCryRead_
std::string prefixME_
MonitorElement * meEBBCaloEntriesVsCry_
MonitorElement * CrystalsDone_
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meBBCaloE3x3_
void removeElement(const std::string &name)
Definition: DQMStore.cc:2353
MonitorElement * meBBCaloAllNeededCry_
std::string getName(Reflex::Type &cc)
Definition: ClassFiller.cc:18
MonitorElement * meEBBCaloE1MaxCry_
MonitorElement * meEBBCaloBeamCentered_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEBBCaloDesync_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloE3x3Moving_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
DQMStore * dqmStore_
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloGains_[cryInArray_]
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:232
static const int cryInArray_
void EBBeamCaloTask::endJob ( void  )
protectedvirtual

EndJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 338 of file EBBeamCaloTask.cc.

References cleanup(), enableCleanup_, and ievt_.

338  {
339 
340  edm::LogInfo("EBBeamCaloTask") << "analyzed " << ievt_ << " events";
341 
342  if ( enableCleanup_ ) this->cleanup();
343 
344 }
void cleanup(void)
Cleanup.
void EBBeamCaloTask::endRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 110 of file EBBeamCaloTask.cc.

110  {
111 
112 }
void EBBeamCaloTask::reset ( void  )
protected

Reset.

Definition at line 114 of file EBBeamCaloTask.cc.

References cryInArray_, CrystalInBeam_vs_Event_, CrystalsDone_, i, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEBBCaloBeamCentered_, meEBBCaloDesync_, meEBBCaloE1MaxCry_, meEBBCaloE1vsCry_, meEBBCaloE3x3vsCry_, meEBBCaloEntriesVsCry_, meEBBCaloReadCryErrors_, MonitorElement::Reset(), and TableMoving_.

Referenced by beginRun().

114  {
115 
116  for (int i = 0; i < cryInArray_ ; i++) {
119  if ( meBBCaloGains_[i] ) meBBCaloGains_[i]->Reset();
120  if ( meBBCaloEne_[i] ) meBBCaloEne_[i]->Reset();
121  }
122 
130  if ( TableMoving_ ) TableMoving_->Reset();
140 
141 }
MonitorElement * TableMoving_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meEBBCaloE3x3vsCry_
MonitorElement * meEBBCaloReadCryErrors_
MonitorElement * CrystalInBeam_vs_Event_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * meEBBCaloE1vsCry_
MonitorElement * meBBNumCaloCryRead_
MonitorElement * meEBBCaloEntriesVsCry_
MonitorElement * CrystalsDone_
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meEBBCaloE1MaxCry_
MonitorElement * meEBBCaloBeamCentered_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEBBCaloDesync_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloE3x3Moving_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloGains_[cryInArray_]
void Reset(void)
reset ME (ie. contents, errors, etc)
static const int cryInArray_
void EBBeamCaloTask::setup ( void  )
protected

Setup.

Definition at line 143 of file EBBeamCaloTask.cc.

References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookProfile(), changed_cry_in_beam_, changed_tb_status_, cib_, cryInArray_, crystal_step_, CrystalInBeam_vs_Event_, CrystalsDone_, dqmStore_, event_last_reset_, evt_after_change_, i, init_, last_cry_in_beam_, lastStableStatus_, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEBBCaloBeamCentered_, meEBBCaloDesync_, meEBBCaloE1MaxCry_, meEBBCaloE1vsCry_, meEBBCaloE3x3vsCry_, meEBBCaloEntriesVsCry_, meEBBCaloReadCryErrors_, mergeVDriftHistosByStation::name, prefixME_, previous_cry_in_beam_, PreviousCrystalinBeam_, PreviousTableStatus_, profileArranged_, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), table_step_, TableMoving_, and wasFakeChange_.

Referenced by analyze().

143  {
144 
145  init_ = true;
146  profileArranged_= false;
147 
148  PreviousTableStatus_[0]=0;//let's start with stable...
149  PreviousTableStatus_[1]=0;//let's start with stable...
150 
151  PreviousCrystalinBeam_[0] = 0;
152  PreviousCrystalinBeam_[1] = 0;
153  PreviousCrystalinBeam_[2] = -1;
154  // PreviousCrystalinBeam_[2] = -1 is needed to have a correct step vs cry matching
156  for(int u=0;u<10;u++){cib_[u]=0;}
157  changed_tb_status_= false;
158  changed_cry_in_beam_ = false;
160  wasFakeChange_= false;
161  table_step_=1;
162  crystal_step_=1;
163  event_last_reset_ = 0;
164  last_cry_in_beam_ = 0;
166 
167  if ( dqmStore_ ) {
168  dqmStore_->setCurrentFolder(prefixME_ + "/EBBeamCaloTask");
169 
170  std::stringstream ss;
171  std::string name;
172 
173  for (int i = 0; i < cryInArray_ ; i++) {
174  ss << std::setw(1) << std::setfill('0') << i+1;
175 
176  name = "EBBCT pulse profile cry ";
177  //considering the gain the range is 4096*12 ~ 50000
178  meBBCaloPulseProf_[i] = dqmStore_->bookProfile(name + ss.str(), name + ss.str(), 10,0.,10.,50000,0.,50000.,"s");
179 
180  name = "EBBCT pulse profile in G12 cry ";
181  meBBCaloPulseProfG12_[i] = dqmStore_->bookProfile(name + ss.str(), name + ss.str(), 10,0.,10.,4096,0.,4096.,"s");
182  meBBCaloPulseProfG12_[i]->setAxisTitle("#sample", 1);
184 
185  name = "EBBCT found gains cry ";
186  meBBCaloGains_[i] = dqmStore_->book1D(name + ss.str(), name + ss.str(),14,0.,14.);
187  meBBCaloGains_[i]->setAxisTitle("gain", 1);
188  // g1-> bin 2, g6-> bin 7, g12-> bin 13
189 
190  name = "EBBCT rec energy cry ";
191  meBBCaloEne_[i] = dqmStore_->book1D(name + ss.str(), name + ss.str(),500,0.,9000.);
192  meBBCaloEne_[i]->setAxisTitle("rec ene (ADC)", 1);
193  //9000 ADC in G12 equivalent is about 330 GeV
194 
195  }
196 
197  name = "EBBCT readout crystals";
198  meBBCaloCryRead_ = dqmStore_->book2D(name, name,9,-4.,5.,9,-4.,5.);
199  //matrix of readout crystal around cry in beam
200 
201  name = "EBBCT all needed crystals readout";
202  meBBCaloAllNeededCry_ = dqmStore_->book1D(name, name,3,-1.,2.);
203  // not all needed cry are readout-> bin 1, all needed cry are readout-> bin 3
204 
205  name = "EBBCT readout crystals number";
206  meBBNumCaloCryRead_ = dqmStore_->book1D(name, name,1701,0.,1701.);
207  meBBNumCaloCryRead_->setAxisTitle("number of read crystals", 1);
208 
209  name = "EBBCT rec Ene sum 3x3";
210  meBBCaloE3x3_ = dqmStore_->book1D(name, name,500,0.,9000.);
211  meBBCaloE3x3_->setAxisTitle("rec ene (ADC)", 1);
212  //9000 ADC in G12 equivalent is about 330 GeV
213 
214  name = "EBBCT rec Ene sum 3x3 table moving";
215  meBBCaloE3x3Moving_ = dqmStore_->book1D(name, name,500,0.,9000.);
216  //9000 ADC in G12 equivalent is about 330 GeV
217 
218  name = "EBBCT crystal on beam";
219  meBBCaloCryOnBeam_ = dqmStore_->book2D(name, name, 85, 0., 85., 20, 0., 20.);
220 
221  name = "EBBCT crystal with maximum rec energy";
222  meBBCaloMaxEneCry_ = dqmStore_->book2D(name, name, 85, 0., 85., 20, 0., 20.);
223 
224  name = "EBBCT table is moving";
225  TableMoving_ = dqmStore_->book1D(name,name,2,0.,1.1);
226  TableMoving_->setAxisTitle("table status (0=stable, 1=moving)", 1);
227  //table is moving-> bin 2, table is not moving-> bin 1
228 
229  name = "EBBCT crystals done";
230  CrystalsDone_ = dqmStore_->book1D(name,name,1700,1.,1701.);
231  CrystalsDone_->setAxisTitle("crystal", 1);
232  CrystalsDone_->setAxisTitle("step in the scan", 2);
233  //for a crystal done the corresponing bin is filled with the step in the
234  //autoscan pertainig to the given crystales
235 
236  name = "EBBCT crystal in beam vs event";
237  CrystalInBeam_vs_Event_ = dqmStore_->bookProfile(name, name, 20000,0.,400000.,1802,-101.,1701.,"s");
239  CrystalInBeam_vs_Event_->setAxisTitle("crystal in beam", 2);
240  // 1 bin each 20 events
241  // when table is moving for just one events fill with -100
242 
243  name = "EBBCT readout crystals errors";
244  meEBBCaloReadCryErrors_ = dqmStore_->book1D(name, name, 425,1.,86.);
245  meEBBCaloReadCryErrors_->setAxisTitle("step in the scan", 1);
246 
247  name = "EBBCT average rec energy in the single crystal";
248  meEBBCaloE1vsCry_ = dqmStore_->bookProfile(name, name, 1700,1.,1701.,500,0.,9000.,"s");
249  meEBBCaloE1vsCry_->setAxisTitle("crystal", 1);
250  meEBBCaloE1vsCry_->setAxisTitle("rec energy (ADC)", 2);
251 
252  name = "EBBCT average rec energy in the 3x3 array";
253  meEBBCaloE3x3vsCry_ = dqmStore_->bookProfile(name, name, 1700,1.,1701.,500,0.,9000.,"s");
254  meEBBCaloE3x3vsCry_->setAxisTitle("crystal", 1);
255  meEBBCaloE3x3vsCry_->setAxisTitle("rec energy (ADC)", 2);
256 
257  name = "EBBCT number of entries";
258  meEBBCaloEntriesVsCry_ = dqmStore_->book1D(name, name,1700,1.,1701.);
259  meEBBCaloEntriesVsCry_->setAxisTitle("crystal", 1);
260  meEBBCaloEntriesVsCry_->setAxisTitle("number of events (prescaled)", 2);
261 
262  name = "EBBCT energy deposition in the 3x3";
263  meEBBCaloBeamCentered_ = dqmStore_->book2D(name, name,3,-1.5,1.5,3,-1.5,1.5);
264  meEBBCaloBeamCentered_->setAxisTitle("\\Delta \\eta", 1);
265  meEBBCaloBeamCentered_->setAxisTitle("\\Delta \\phi", 2);
266 
267  name = "EBBCT E1 in the max cry";
268  meEBBCaloE1MaxCry_= dqmStore_->book1D(name,name,500,0.,9000.);
269  meEBBCaloE1MaxCry_->setAxisTitle("rec Ene (ADC)", 1);
270 
271  name = "EBBCT Desynchronization vs step";
272  meEBBCaloDesync_= dqmStore_->book1D(name, name, 85 ,1.,86.);
273  meEBBCaloDesync_->setAxisTitle("step", 1);
274  meEBBCaloDesync_->setAxisTitle("Desynchronized events", 2);
275 
276  }
277 
278 }
MonitorElement * TableMoving_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meEBBCaloE3x3vsCry_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:514
MonitorElement * meEBBCaloReadCryErrors_
MonitorElement * CrystalInBeam_vs_Event_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * meEBBCaloE1vsCry_
MonitorElement * meBBNumCaloCryRead_
std::string prefixME_
int PreviousCrystalinBeam_[3]
MonitorElement * meEBBCaloEntriesVsCry_
MonitorElement * CrystalsDone_
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:828
MonitorElement * meEBBCaloE1MaxCry_
MonitorElement * meEBBCaloBeamCentered_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEBBCaloDesync_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloE3x3Moving_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
DQMStore * dqmStore_
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloGains_[cryInArray_]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:642
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
int PreviousTableStatus_[2]
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:232
static const int cryInArray_

Member Data Documentation

bool EBBeamCaloTask::changed_cry_in_beam_
private

Definition at line 130 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

bool EBBeamCaloTask::changed_tb_status_
private

Definition at line 129 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

int EBBeamCaloTask::cib_[12]
private

Definition at line 128 of file EBBeamCaloTask.h.

Referenced by setup().

const int EBBeamCaloTask::cryInArray_ = 9
staticprivate

Definition at line 73 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

int EBBeamCaloTask::crystal_step_
private

Definition at line 134 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EBBeamCaloTask::CrystalInBeam_vs_Event_
private

Definition at line 105 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::CrystalsDone_
private

Definition at line 103 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

const int EBBeamCaloTask::defaultPede_ = 200
staticprivate

Definition at line 74 of file EBBeamCaloTask.h.

Referenced by analyze().

DQMStore* EBBeamCaloTask::dqmStore_
private

Definition at line 60 of file EBBeamCaloTask.h.

Referenced by beginJob(), cleanup(), EBBeamCaloTask(), and setup().

edm::InputTag EBBeamCaloTask::EBDigiCollection_
private

Definition at line 70 of file EBBeamCaloTask.h.

Referenced by analyze(), and EBBeamCaloTask().

edm::InputTag EBBeamCaloTask::EcalRawDataCollection_
private

Definition at line 69 of file EBBeamCaloTask.h.

Referenced by analyze(), and EBBeamCaloTask().

edm::InputTag EBBeamCaloTask::EcalTBEventHeader_
private

Definition at line 68 of file EBBeamCaloTask.h.

Referenced by analyze(), and EBBeamCaloTask().

edm::InputTag EBBeamCaloTask::EcalUncalibratedRecHitCollection_
private

Definition at line 71 of file EBBeamCaloTask.h.

Referenced by analyze(), and EBBeamCaloTask().

bool EBBeamCaloTask::enableCleanup_
private

Definition at line 64 of file EBBeamCaloTask.h.

Referenced by EBBeamCaloTask(), and endJob().

int EBBeamCaloTask::event_last_reset_
private

Definition at line 135 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

int EBBeamCaloTask::evt_after_change_
private

Definition at line 131 of file EBBeamCaloTask.h.

Referenced by setup().

int EBBeamCaloTask::ievt_
private

Definition at line 58 of file EBBeamCaloTask.h.

Referenced by analyze(), beginJob(), and endJob().

bool EBBeamCaloTask::init_
private

Definition at line 121 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), and setup().

int EBBeamCaloTask::last_cry_in_beam_
private

Definition at line 136 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

int EBBeamCaloTask::lastStableStatus_
private

Definition at line 133 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloAllNeededCry_
private

Definition at line 89 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloCryOnBeam_
private

Definition at line 98 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloCryRead_
private

Definition at line 86 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloE3x3_
private

Definition at line 92 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloE3x3Moving_
private

Definition at line 93 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloEne_[cryInArray_]
private

Definition at line 79 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloGains_[cryInArray_]
private

Definition at line 78 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloMaxEneCry_
private

Definition at line 99 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloPulseProf_[cryInArray_]
private

Definition at line 76 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBCaloPulseProfG12_[cryInArray_]
private

Definition at line 77 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meBBNumCaloCryRead_
private

Definition at line 90 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloBeamCentered_
private

Definition at line 115 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloDesync_
private

Definition at line 119 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloE1MaxCry_
private

Definition at line 117 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloE1vsCry_
private

Definition at line 109 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloE3x3vsCry_
private

Definition at line 111 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloEntriesVsCry_
private

Definition at line 113 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

MonitorElement* EBBeamCaloTask::meEBBCaloReadCryErrors_
private

Definition at line 107 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

bool EBBeamCaloTask::mergeRuns_
private

Definition at line 66 of file EBBeamCaloTask.h.

Referenced by beginRun(), and EBBeamCaloTask().

std::string EBBeamCaloTask::prefixME_
private

Definition at line 62 of file EBBeamCaloTask.h.

Referenced by beginJob(), cleanup(), EBBeamCaloTask(), and setup().

int EBBeamCaloTask::previous_cry_in_beam_
private

Definition at line 137 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

int EBBeamCaloTask::previous_ev_num_
private

Definition at line 138 of file EBBeamCaloTask.h.

Referenced by analyze().

int EBBeamCaloTask::PreviousCrystalinBeam_[3]
private

Definition at line 126 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

int EBBeamCaloTask::PreviousTableStatus_[2]
private

Definition at line 125 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

bool EBBeamCaloTask::profileArranged_
private

Definition at line 123 of file EBBeamCaloTask.h.

Referenced by analyze(), beginJob(), and setup().

int EBBeamCaloTask::table_step_
private

Definition at line 134 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EBBeamCaloTask::TableMoving_
private

Definition at line 101 of file EBBeamCaloTask.h.

Referenced by analyze(), cleanup(), EBBeamCaloTask(), reset(), and setup().

bool EBBeamCaloTask::wasFakeChange_
private

Definition at line 132 of file EBBeamCaloTask.h.

Referenced by analyze(), and setup().