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
EEBeamCaloTask Class Reference

#include <EEBeamCaloTask.h>

Inheritance diagram for EEBeamCaloTask:
edm::EDAnalyzer

Public Member Functions

 EEBeamCaloTask (const edm::ParameterSet &ps)
 Constructor. More...
 
virtual ~EEBeamCaloTask ()
 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_
 
MonitorElementmeEEBCaloBeamCentered_
 
MonitorElementmeEEBCaloDesync_
 
MonitorElementmeEEBCaloE1MaxCry_
 
MonitorElementmeEEBCaloE1vsCry_
 
MonitorElementmeEEBCaloE3x3vsCry_
 
MonitorElementmeEEBCaloEntriesVsCry_
 
MonitorElementmeEEBCaloReadCryErrors_
 
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 EEBeamCaloTask.h.

Constructor & Destructor Documentation

EEBeamCaloTask::EEBeamCaloTask ( const edm::ParameterSet ps)

Constructor.

Definition at line 34 of file EEBeamCaloTask.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_, meEEBCaloBeamCentered_, meEEBCaloDesync_, meEEBCaloE1MaxCry_, meEEBCaloE1vsCry_, meEEBCaloE3x3vsCry_, meEEBCaloEntriesVsCry_, meEEBCaloReadCryErrors_, mergeRuns_, cmsCodeRules.cppFunctionSkipper::operator, prefixME_, and TableMoving_.

34  {
35 
36  init_ = false;
37 
39 
40  prefixME_ = ps.getUntrackedParameter<std::string>("prefixME", "");
41 
42  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup", false);
43 
44  mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns", false);
45 
46  EcalTBEventHeader_ = ps.getParameter<edm::InputTag>("EcalTBEventHeader");
47  EcalRawDataCollection_ = ps.getParameter<edm::InputTag>("EcalRawDataCollection");
48  EBDigiCollection_ = ps.getParameter<edm::InputTag>("EBDigiCollection");
49  EcalUncalibratedRecHitCollection_ = ps.getParameter<edm::InputTag>("EcalUncalibratedRecHitCollection");
50 
51  for (int i = 0; i < cryInArray_ ; i++) {
54  meBBCaloGains_[i]=0;
55  meBBCaloEne_[i]=0;
56 
57  //meBBCaloPulseProfMoving_[i]=0;
58  //meBBCaloPulseProfG12Moving_[i]=0;
59  //meBBCaloGainsMoving_[i]=0;
60  //meBBCaloEneMoving_[i]=0;
61  }
62 
63  meBBCaloCryRead_ = 0;
64  //meBBCaloCryReadMoving_ = 0;
65 
68 
69  meBBCaloE3x3_ = 0;
71 
74  TableMoving_ = 0;
75 
76  CrystalsDone_ = 0;
83 
85 // for(int u=0;u<851;u++){
86 // meBBCaloE3x3Cry_[u]=0;
87 // meBBCaloE1Cry_[u]=0;
88 // }
89 
90  meEEBCaloDesync_ = 0;
91 
92 }
T getParameter(std::string const &) const
MonitorElement * meEEBCaloE1MaxCry_
T getUntrackedParameter(std::string const &, T const &) const
int i
Definition: DBlmapReader.cc:9
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meEEBCaloE1vsCry_
MonitorElement * CrystalsDone_
edm::InputTag EcalTBEventHeader_
MonitorElement * meEEBCaloDesync_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
MonitorElement * meEEBCaloReadCryErrors_
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloGains_[cryInArray_]
edm::InputTag EBDigiCollection_
MonitorElement * meBBCaloE3x3Moving_
edm::InputTag EcalRawDataCollection_
MonitorElement * TableMoving_
MonitorElement * meBBCaloCryRead_
std::string prefixME_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
DQMStore * dqmStore_
MonitorElement * meEEBCaloEntriesVsCry_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * CrystalInBeam_vs_Event_
edm::InputTag EcalUncalibratedRecHitCollection_
static const int cryInArray_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meBBNumCaloCryRead_
MonitorElement * meEEBCaloE3x3vsCry_
MonitorElement * meEEBCaloBeamCentered_
EEBeamCaloTask::~EEBeamCaloTask ( )
virtual

Destructor.

Definition at line 94 of file EEBeamCaloTask.cc.

94  {
95 
96 }

Member Function Documentation

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

Analyze.

Implements edm::EDAnalyzer.

Definition at line 367 of file EEBeamCaloTask.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_, EcalEndcap, 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_, meEEBCaloBeamCentered_, meEEBCaloDesync_, meEEBCaloE1MaxCry_, meEEBCaloE1vsCry_, meEEBCaloE3x3vsCry_, meEEBCaloEntriesVsCry_, meEEBCaloReadCryErrors_, 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_.

367  {
368 
369  bool enable = false;
370 
372 
373  if ( e.getByLabel(EcalRawDataCollection_, dcchs) ) {
374 
375  for ( EcalRawDataCollection::const_iterator dcchItr = dcchs->begin(); dcchItr != dcchs->end(); ++dcchItr ) {
376 
377  if ( Numbers::subDet( *dcchItr ) != EcalEndcap ) continue;
378 
379  if ( dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH4 ||
380  dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH2 ) enable = true;
381  }
382 
383  } else {
384  edm::LogWarning("EEBeamCaloTask") << EcalRawDataCollection_ << " not available";
385  }
386 
387  if ( ! enable ) return;
388  if ( ! init_ ) this->setup();
389  ievt_++;
390 
391  edm::Handle<EcalTBEventHeader> pEventHeader;
392  const EcalTBEventHeader* evtHeader=0;
393 
394  if ( e.getByLabel(EcalTBEventHeader_, pEventHeader) ) {
395  evtHeader = pEventHeader.product(); // get a ptr to the product
396  } else {
397  std::cerr << "Error! can't get the product for the event header" << std::endl;
398  }
399 
400  //FIX ME, in the task we should use LV1 instead of ievt_ (prescaling)
401  int cry_in_beam = 0;
402  bool tb_moving = false;//just for test, to be filled with info from the event
403  int event = 0;
404 
405  if(evtHeader){
406  cry_in_beam = evtHeader->crystalInBeam();
407  tb_moving = evtHeader->tableIsMoving();
408  event = evtHeader->eventNumber();
409  if( evtHeader->syncError() ) {meEEBCaloDesync_->Fill(crystal_step_);}
410  }
411  else {
412  cry_in_beam = previous_cry_in_beam_;
413  tb_moving = lastStableStatus_;
414  event = previous_ev_num_ +10;
415  }
416 
417  previous_cry_in_beam_ = cry_in_beam;
419 
420  bool reset_histos_stable = false;
421  bool reset_histos_moving = false;
422 
423  bool skip_this_event = false;
424 
425  if(ievt_ < 3){last_cry_in_beam_ = cry_in_beam;}
426 
427  if(tb_moving){
428 
429  TableMoving_->Fill(1);
430  if( PreviousTableStatus_[0] == 0 && PreviousTableStatus_[1] == 1 && lastStableStatus_ == 0){
431  reset_histos_moving=true;
432  wasFakeChange_ = false;
433  // ! Warning! This works in the assumption that the crystal in beam stay the same
434  // while the tb is moving and is set to the new one only when the table
435  // reaches the new position
436  lastStableStatus_ = 1;
437 
438  }
439  else if( PreviousTableStatus_[1] == 0) {
440  skip_this_event=true;
441  changed_tb_status_ = true;
442  wasFakeChange_ = true;
443  }
444  // just skip the first event when the table change status
446  PreviousTableStatus_[1] = 1;
447  }//end of if(tb_moving)
448 
449  else {// table is not moving
450 
451  TableMoving_->Fill(0);
452  if( PreviousTableStatus_[0] == 1 && PreviousTableStatus_[1] == 0 && lastStableStatus_ == 1){
453  //reset_histos_stable = true;
454  wasFakeChange_ = false;
455  lastStableStatus_ = 0;
456  }
457  else if(PreviousTableStatus_[1] == 1) {
458  skip_this_event=true;
459  changed_tb_status_ = true;
460  wasFakeChange_ = true;
461  }
462  // just skip the first event when the table change status
465 
466  // check also whether cry in beam has changed
468  reset_histos_stable=true;
469  wasFakeChange_ = false;
470  }
471  else if (PreviousCrystalinBeam_[2] != cry_in_beam){
472  changed_cry_in_beam_ = true;
473  skip_this_event=true;
474  wasFakeChange_ = true;
475  }
476 
479  PreviousCrystalinBeam_[2] = cry_in_beam;
480  }
481 
482  if( !tb_moving ) {CrystalInBeam_vs_Event_->Fill(event,float(cry_in_beam));}
483  else{CrystalInBeam_vs_Event_->Fill(event,-100); }
484  if ( !profileArranged_ ){
485  float dd=0;
486  int mbin =0;
487  for( int bin=1; bin < 20001; bin++ ){
489  if(temp>0){ dd= temp+0.01; mbin=bin; break;}
490  }
491  if(mbin >0) { CrystalInBeam_vs_Event_->Fill(20*mbin-1,dd);}
492  profileArranged_ = true;
493  }
494 
495  if(reset_histos_moving){
496  edm::LogInfo("EEBeamCaloTask") << "event " << ievt_ << " resetting histos for moving table!! ";
497 
498  table_step_++;
499 
500  //here the follwowing histos should be reset
501 
503 
504  }
505 
506 
507  if(reset_histos_stable){
508  if( event - event_last_reset_ > 30){//to be tuned, to avoid a double reset for the change in the table status and
509  //in the crystal in beam. This works ONLY if the crystal in beam stay the same
510  // while the table is moving.
511  //One can also think to remove the reset of the histograms when the table change
512  // status from moving to stable, and to leave the reset only if the cry_in_beam changes.
513 
514  edm::LogInfo("EEBeamCaloTask") << "event " << ievt_ << " resetting histos for stable table!! ";
515 
517 
518  last_cry_in_beam_ = cry_in_beam;
519  crystal_step_++;
520 
521  //here the follwowing histos should be reset
522  for (int u=0;u<cryInArray_;u++){
525  meBBCaloGains_[u]->Reset();
526  meBBCaloEne_[u]->Reset();
527  }
529  meBBCaloE3x3_->Reset();
531  }
532  }
533 
534  if(skip_this_event){
535  edm::LogInfo("EEBeamCaloTask") << "event " << event <<" analyzed: "<<ievt_ << " : skipping this event!! ";
536  return;}
537 
538  // now CrystalsDone_ contains the crystal on beam at the beginning fo a new step, and not when it has finished !!
539  // <5 just to avoid that we skip the event just after the reset and we do not set CrystalsDone_ .
540  // if( ievt_ - event_last_reset_ < 5){ CrystalsDone_->setBinContent(cry_in_beam , crystal_step_ );}
541  CrystalsDone_->setBinContent(cry_in_beam , crystal_step_ );
542  int eta_c = ( cry_in_beam-1)/20 ;
543  int phi_c = ( cry_in_beam-1)%20 ;
544 
545  float xie = eta_c + 0.5;
546  float xip = phi_c + 0.5;
547  if (!tb_moving) {meBBCaloCryOnBeam_->Fill(xie,xip);}
548 
550  e.getByLabel(EBDigiCollection_, digis);
551  int nebd = digis->size();
552 
553  meBBNumCaloCryRead_->Fill(nebd);
554 
555  //matrix 7x7 around cry in beam
556  int cry_to_beRead[49]; //0 or -1 for non existing crystals (eg 852)
557  for(int u=0;u<49;u++){cry_to_beRead[u]=0;}
558  // chech that all the crystals in the 7x7 exist
559  for(int de=-3; de<4; de++){
560  for(int dp=-3; dp<4; dp++){
561  int u = de -7*dp + 24;
562  bool existing_cry = (phi_c+dp) >= 0 && (phi_c+dp) <= 19 && (eta_c+de) >=0 && (eta_c+de) <= 84;
563  if(!existing_cry){cry_to_beRead[u]=-1;}
564  }
565  }
566 
567 
568  meEEBCaloEntriesVsCry_->Fill(cry_in_beam);
569 
570  for ( EBDigiCollection::const_iterator digiItr = digis->begin(); digiItr != digis->end(); ++digiItr ) {
571 
572  EBDetId id = digiItr->id();
573 
574  int ic = id.ic();
575  int ie = (ic-1)/20;
576  int ip = (ic-1)%20;
577 
578  int deta_c= ie - eta_c;
579  int dphi_c= ip - phi_c;
580  if (! tb_moving){meBBCaloCryRead_->Fill(deta_c, dphi_c);}
581 
582  if(std::abs(deta_c) > 3 || std::abs(dphi_c) > 3){continue;}
583  int i_toBeRead = deta_c -7*dphi_c + 24;
584  if( i_toBeRead > -1 && i_toBeRead <49){
585  cry_to_beRead[i_toBeRead]++;
586  }
587 
588  if(std::abs(deta_c) > 1 || std::abs(dphi_c) > 1){continue;}
589  int i_in_array = deta_c -3*dphi_c + 4;
590 
591  if( i_in_array < 0 || i_in_array > 8 ){continue;}
592 
593  EBDataFrame dataframe = (*digiItr);
594 
595  for (int i = 0; i < 10; i++) {
596  int adc = dataframe.sample(i).adc();
597  int gainid = dataframe.sample(i).gainId();
598 
599  if ( gainid == 1 ){// gain 12
600  if(! tb_moving){
601  meBBCaloPulseProfG12_[i_in_array]->Fill(i,float(adc));
602  meBBCaloPulseProf_[i_in_array]->Fill(i,float(adc));
603  meBBCaloGains_[i_in_array]->Fill(12);
604  }
605  }
606  else if ( gainid == 2 ){// gain 6
607  float val = (float(adc)-defaultPede_)*2 + defaultPede_;
608  if(! tb_moving){
609  meBBCaloPulseProf_[i_in_array]->Fill(i,val);
610  meBBCaloGains_[i_in_array]->Fill(6);
611  }
612  }
613  else if ( gainid == 3 ){// gain 1
614  float val = (float(adc)-defaultPede_)*12 + defaultPede_;
615  if(! tb_moving){
616  meBBCaloPulseProf_[i_in_array]->Fill(i,val);
617  meBBCaloGains_[i_in_array]->Fill(1);
618  }
619  }
620  }// end of loop over samples
621  }// end of loop over digis
622 
623  //now if everything was correct cry_to_beRead should be filled with 1 or -1 but not 0
624  bool all_cry_readout = true;
625 
626  if(all_cry_readout){ meBBCaloAllNeededCry_->Fill(1.5);}//bin3
627  else {
628  meBBCaloAllNeededCry_->Fill(-0.5);//bin1
629  if( tb_moving ) {meEEBCaloReadCryErrors_->Fill( crystal_step_+0.5 );}
631  }
632 
633  //the part involving rechits
634 
637  int neh = hits->size();
638  LogDebug("EEBeamCaloTask") << "event " << event <<" analyzed: "<< ievt_ << " hits collection size " << neh;
639  float ene3x3=0;
640  float maxEne = 0;
641  int ieM =-1, ipM = -1;//for the crystal with maximum energy deposition
642  float cryInBeamEne =0;
643  for ( EcalUncalibratedRecHitCollection::const_iterator hitItr = hits->begin(); hitItr != hits->end(); ++hitItr ) {
644 
645  EBDetId id = hitItr->id();
646 
647  int ic = id.ic();
648  int ie = (ic-1)/20;
649  int ip = (ic-1)%20;
650 
651  int deta_c= ie - eta_c;
652  int dphi_c= ip - phi_c;
653 
654  int i_in_array = deta_c -3*dphi_c + 4;
655 
656  float R_ene = hitItr->amplitude();
657  if ( R_ene <= 0. ) R_ene = 0.0;
658  if(R_ene > maxEne){
659  maxEne=R_ene;
660  ieM =ie; ipM = ip;
661  }
662  if(std::abs(deta_c) > 1 || std::abs(dphi_c) > 1){continue;}
663  meEEBCaloBeamCentered_->Fill(deta_c,dphi_c,R_ene);
664 
665  if( i_in_array < 0 || i_in_array > 8 ){continue;}
666 
667  if(i_in_array == 4){cryInBeamEne = R_ene;}
668  if(! tb_moving){meBBCaloEne_[i_in_array]->Fill(R_ene);}
669  ene3x3 += R_ene;
670 
671  }//end of loop over rechits
672 
673  if (!tb_moving){
674  meBBCaloE3x3_->Fill(ene3x3);
675  meEEBCaloE1vsCry_->Fill(cry_in_beam , cryInBeamEne );
676  meEEBCaloE3x3vsCry_->Fill(cry_in_beam, ene3x3 );
677  meBBCaloMaxEneCry_->Fill(ieM,ipM);
678  meEEBCaloE1MaxCry_->Fill(maxEne);
679  }
680  else{meBBCaloE3x3Moving_->Fill(ene3x3);}
682 }
#define LogDebug(id)
int adc(sample_type sample)
get the ADC sample (12 bits)
MonitorElement * meEEBCaloE1MaxCry_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meBBCaloEne_[cryInArray_]
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * meEEBCaloE1vsCry_
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
bool tableIsMoving() const
Tell if the table is Moving.
MonitorElement * CrystalsDone_
static const int defaultPede_
edm::InputTag EcalTBEventHeader_
std::vector< T >::const_iterator const_iterator
#define abs(x)
Definition: mlp_lapack.h:159
EcalMGPASample sample(int i) const
Definition: EcalDataFrame.h:28
MonitorElement * meEEBCaloDesync_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
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) ...
MonitorElement * meEEBCaloReadCryErrors_
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloGains_[cryInArray_]
edm::InputTag EBDigiCollection_
void Fill(long long x)
MonitorElement * meBBCaloE3x3Moving_
int PreviousTableStatus_[2]
edm::InputTag EcalRawDataCollection_
MonitorElement * TableMoving_
MonitorElement * meBBCaloCryRead_
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
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
int PreviousCrystalinBeam_[3]
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEEBCaloEntriesVsCry_
MonitorElement * meBBCaloCryOnBeam_
int eventNumber() const
Returns the event number.
T const * product() const
Definition: Handle.h:74
MonitorElement * CrystalInBeam_vs_Event_
edm::InputTag EcalUncalibratedRecHitCollection_
double getBinContent(int binx) const
get content of bin (1-D)
static const int cryInArray_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloAllNeededCry_
static EcalSubdetector subDet(const EBDetId &id)
Definition: Numbers.cc:136
MonitorElement * meBBNumCaloCryRead_
MonitorElement * meEEBCaloE3x3vsCry_
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meEEBCaloBeamCentered_
void setup(void)
Setup.
bool syncError() const
is there any sync error
int adc() const
get the ADC sample (12 bits)
void EEBeamCaloTask::beginJob ( void  )
protectedvirtual

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 98 of file EEBeamCaloTask.cc.

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

98  {
99 
100  ievt_ = 0;
101 
102  profileArranged_ = false;
103 
104  if ( dqmStore_ ) {
105  dqmStore_->setCurrentFolder(prefixME_ + "/EEBeamCaloTask");
106  dqmStore_->rmdir(prefixME_ + "/EEBeamCaloTask");
107  }
108 
109 }
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 EEBeamCaloTask::beginRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

BeginRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 111 of file EEBeamCaloTask.cc.

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

111  {
112 
113  Numbers::initGeometry(c, false);
114 
115  if ( ! mergeRuns_ ) this->reset();
116 
117 }
void reset(void)
Reset.
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
Definition: Numbers.cc:45
void EEBeamCaloTask::cleanup ( void  )
protected

Cleanup.

Definition at line 302 of file EEBeamCaloTask.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_, meEEBCaloBeamCentered_, meEEBCaloDesync_, meEEBCaloE1MaxCry_, meEEBCaloE1vsCry_, meEEBCaloE3x3vsCry_, meEEBCaloEntriesVsCry_, meEEBCaloReadCryErrors_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and TableMoving_.

Referenced by endJob().

302  {
303 
304  if ( ! init_ ) return;
305 
306  if ( dqmStore_ ) {
307  dqmStore_->setCurrentFolder(prefixME_ + "/EEBeamCaloTask");
308  for (int i = 0; i < cryInArray_ ; i++) {
310  meBBCaloPulseProf_[i] = 0;
314  meBBCaloGains_[i] = 0;
316  meBBCaloEne_[i] = 0;
317  }
318 
320  meBBCaloCryRead_ = 0;
326  meBBCaloE3x3_ = 0;
330  meBBCaloCryOnBeam_ = 0;
332  meBBCaloMaxEneCry_ = 0;
334  TableMoving_ = 0;
336  CrystalsDone_ = 0;
342  meEEBCaloE1vsCry_ = 0;
350  meEEBCaloE1MaxCry_ = 0;
352  meEEBCaloDesync_ = 0;
353  }
354 
355  init_ = false;
356 
357 }
MonitorElement * meEEBCaloE1MaxCry_
const std::string & getName(void) const
get name of ME
int i
Definition: DBlmapReader.cc:9
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meEEBCaloE1vsCry_
MonitorElement * CrystalsDone_
MonitorElement * meEEBCaloDesync_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
MonitorElement * meEEBCaloReadCryErrors_
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloGains_[cryInArray_]
MonitorElement * meBBCaloE3x3Moving_
void removeElement(const std::string &name)
Definition: DQMStore.cc:2353
MonitorElement * TableMoving_
MonitorElement * meBBCaloCryRead_
std::string prefixME_
std::string getName(Reflex::Type &cc)
Definition: ClassFiller.cc:18
MonitorElement * meBBCaloPulseProf_[cryInArray_]
DQMStore * dqmStore_
MonitorElement * meEEBCaloEntriesVsCry_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * CrystalInBeam_vs_Event_
static const int cryInArray_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meBBNumCaloCryRead_
MonitorElement * meEEBCaloE3x3vsCry_
MonitorElement * meEEBCaloBeamCentered_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:232
void EEBeamCaloTask::endJob ( void  )
protectedvirtual

EndJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 359 of file EEBeamCaloTask.cc.

References cleanup(), enableCleanup_, and ievt_.

359  {
360 
361  edm::LogInfo("EEBeamCaloTask") << "analyzed " << ievt_ << " events";
362 
363  if ( enableCleanup_ ) this->cleanup();
364 
365 }
void cleanup(void)
Cleanup.
void EEBeamCaloTask::endRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 119 of file EEBeamCaloTask.cc.

119  {
120 
121 }
void EEBeamCaloTask::reset ( void  )
protected

Reset.

Definition at line 123 of file EEBeamCaloTask.cc.

References cryInArray_, CrystalInBeam_vs_Event_, CrystalsDone_, i, meBBCaloAllNeededCry_, meBBCaloCryOnBeam_, meBBCaloCryRead_, meBBCaloE3x3_, meBBCaloE3x3Moving_, meBBCaloEne_, meBBCaloGains_, meBBCaloMaxEneCry_, meBBCaloPulseProf_, meBBCaloPulseProfG12_, meBBNumCaloCryRead_, meEEBCaloBeamCentered_, meEEBCaloDesync_, meEEBCaloE1MaxCry_, meEEBCaloE1vsCry_, meEEBCaloE3x3vsCry_, meEEBCaloEntriesVsCry_, meEEBCaloReadCryErrors_, MonitorElement::Reset(), and TableMoving_.

Referenced by beginRun().

123  {
124 
125  for (int i = 0; i < cryInArray_ ; i++) {
128  if ( meBBCaloGains_[i] ) meBBCaloGains_[i]->Reset();
129  if ( meBBCaloEne_[i] ) meBBCaloEne_[i]->Reset();
130 
131 // if ( meBBCaloPulseProfMoving_[i] ) meBBCaloPulseProfMoving_[i]->Reset();
132 // if ( meBBCaloPulseProfG12Moving_[i] ) meBBCaloPulseProfG12Moving_[i]->Reset();
133 // if ( meBBCaloGainsMoving_[i] ) meBBCaloGainsMoving_[i]->Reset();
134 // if ( meBBCaloEneMoving_[i] ) meBBCaloEneMoving_[i]->Reset();
135  }
136 
137 // for(int u=0; u< 1701;u++){
138 // if ( meBBCaloE3x3Cry_[u] ) meBBCaloE3x3Cry_[u]->Reset();
139 // if ( meBBCaloE1Cry_[u] ) meBBCaloE1Cry_[u]->Reset();
140 // }
141 
143 // if ( meBBCaloCryReadMoving_ ) meBBCaloCryReadMoving_->Reset();
150  if ( TableMoving_ ) TableMoving_->Reset();
160 
161 }
MonitorElement * meEEBCaloE1MaxCry_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meBBCaloEne_[cryInArray_]
MonitorElement * meEEBCaloE1vsCry_
MonitorElement * CrystalsDone_
MonitorElement * meEEBCaloDesync_
MonitorElement * meBBCaloPulseProfG12_[cryInArray_]
MonitorElement * meEEBCaloReadCryErrors_
MonitorElement * meBBCaloE3x3_
MonitorElement * meBBCaloGains_[cryInArray_]
MonitorElement * meBBCaloE3x3Moving_
MonitorElement * TableMoving_
MonitorElement * meBBCaloCryRead_
MonitorElement * meBBCaloPulseProf_[cryInArray_]
MonitorElement * meEEBCaloEntriesVsCry_
MonitorElement * meBBCaloCryOnBeam_
MonitorElement * CrystalInBeam_vs_Event_
static const int cryInArray_
MonitorElement * meBBCaloMaxEneCry_
MonitorElement * meBBCaloAllNeededCry_
MonitorElement * meBBNumCaloCryRead_
MonitorElement * meEEBCaloE3x3vsCry_
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meEEBCaloBeamCentered_
void EEBeamCaloTask::setup ( void  )
protected

Setup.

Definition at line 163 of file EEBeamCaloTask.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_, meEEBCaloBeamCentered_, meEEBCaloDesync_, meEEBCaloE1MaxCry_, meEEBCaloE1vsCry_, meEEBCaloE3x3vsCry_, meEEBCaloEntriesVsCry_, meEEBCaloReadCryErrors_, mergeVDriftHistosByStation::name, prefixME_, previous_cry_in_beam_, PreviousCrystalinBeam_, PreviousTableStatus_, profileArranged_, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), table_step_, TableMoving_, and wasFakeChange_.

Referenced by analyze().

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

Member Data Documentation

bool EEBeamCaloTask::changed_cry_in_beam_
private

Definition at line 130 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

bool EEBeamCaloTask::changed_tb_status_
private

Definition at line 129 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

int EEBeamCaloTask::cib_[12]
private

Definition at line 128 of file EEBeamCaloTask.h.

Referenced by setup().

const int EEBeamCaloTask::cryInArray_ = 9
staticprivate

Definition at line 73 of file EEBeamCaloTask.h.

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

int EEBeamCaloTask::crystal_step_
private

Definition at line 134 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EEBeamCaloTask::CrystalInBeam_vs_Event_
private

Definition at line 105 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::CrystalsDone_
private

Definition at line 103 of file EEBeamCaloTask.h.

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

const int EEBeamCaloTask::defaultPede_ = 200
staticprivate

Definition at line 74 of file EEBeamCaloTask.h.

Referenced by analyze().

DQMStore* EEBeamCaloTask::dqmStore_
private

Definition at line 60 of file EEBeamCaloTask.h.

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

edm::InputTag EEBeamCaloTask::EBDigiCollection_
private

Definition at line 70 of file EEBeamCaloTask.h.

Referenced by analyze(), and EEBeamCaloTask().

edm::InputTag EEBeamCaloTask::EcalRawDataCollection_
private

Definition at line 69 of file EEBeamCaloTask.h.

Referenced by analyze(), and EEBeamCaloTask().

edm::InputTag EEBeamCaloTask::EcalTBEventHeader_
private

Definition at line 68 of file EEBeamCaloTask.h.

Referenced by analyze(), and EEBeamCaloTask().

edm::InputTag EEBeamCaloTask::EcalUncalibratedRecHitCollection_
private

Definition at line 71 of file EEBeamCaloTask.h.

Referenced by analyze(), and EEBeamCaloTask().

bool EEBeamCaloTask::enableCleanup_
private

Definition at line 64 of file EEBeamCaloTask.h.

Referenced by EEBeamCaloTask(), and endJob().

int EEBeamCaloTask::event_last_reset_
private

Definition at line 135 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

int EEBeamCaloTask::evt_after_change_
private

Definition at line 131 of file EEBeamCaloTask.h.

Referenced by setup().

int EEBeamCaloTask::ievt_
private

Definition at line 58 of file EEBeamCaloTask.h.

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

bool EEBeamCaloTask::init_
private

Definition at line 121 of file EEBeamCaloTask.h.

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

int EEBeamCaloTask::last_cry_in_beam_
private

Definition at line 136 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

int EEBeamCaloTask::lastStableStatus_
private

Definition at line 133 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EEBeamCaloTask::meBBCaloAllNeededCry_
private

Definition at line 89 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloCryOnBeam_
private

Definition at line 98 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloCryRead_
private

Definition at line 86 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloE3x3_
private

Definition at line 92 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloE3x3Moving_
private

Definition at line 93 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloEne_[cryInArray_]
private

Definition at line 79 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloGains_[cryInArray_]
private

Definition at line 78 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloMaxEneCry_
private

Definition at line 99 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloPulseProf_[cryInArray_]
private

Definition at line 76 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBCaloPulseProfG12_[cryInArray_]
private

Definition at line 77 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meBBNumCaloCryRead_
private

Definition at line 90 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloBeamCentered_
private

Definition at line 115 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloDesync_
private

Definition at line 119 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloE1MaxCry_
private

Definition at line 117 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloE1vsCry_
private

Definition at line 109 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloE3x3vsCry_
private

Definition at line 111 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloEntriesVsCry_
private

Definition at line 113 of file EEBeamCaloTask.h.

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

MonitorElement* EEBeamCaloTask::meEEBCaloReadCryErrors_
private

Definition at line 107 of file EEBeamCaloTask.h.

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

bool EEBeamCaloTask::mergeRuns_
private

Definition at line 66 of file EEBeamCaloTask.h.

Referenced by beginRun(), and EEBeamCaloTask().

std::string EEBeamCaloTask::prefixME_
private

Definition at line 62 of file EEBeamCaloTask.h.

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

int EEBeamCaloTask::previous_cry_in_beam_
private

Definition at line 137 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

int EEBeamCaloTask::previous_ev_num_
private

Definition at line 138 of file EEBeamCaloTask.h.

Referenced by analyze().

int EEBeamCaloTask::PreviousCrystalinBeam_[3]
private

Definition at line 126 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

int EEBeamCaloTask::PreviousTableStatus_[2]
private

Definition at line 125 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

bool EEBeamCaloTask::profileArranged_
private

Definition at line 123 of file EEBeamCaloTask.h.

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

int EEBeamCaloTask::table_step_
private

Definition at line 134 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().

MonitorElement* EEBeamCaloTask::TableMoving_
private

Definition at line 101 of file EEBeamCaloTask.h.

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

bool EEBeamCaloTask::wasFakeChange_
private

Definition at line 132 of file EEBeamCaloTask.h.

Referenced by analyze(), and setup().