CMS 3D CMS Logo

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

#include <Analyzer_minbias.h>

Inheritance diagram for cms::Analyzer_minbias:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
 Analyzer_minbias (const edm::ParameterSet &)
 
virtual void beginJob ()
 
virtual void beginRun (const edm::Run &r, const edm::EventSetup &iSetup)
 
virtual void endJob ()
 
virtual void endRun (const edm::Run &r, const edm::EventSetup &iSetup)
 
 ~Analyzer_minbias ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Attributes

int depth
 
float eta
 
std::string fOutputFileName
 
TH1F * hbheNoiseE
 
edm::InputTag hbherecoMB
 
edm::InputTag hbherecoNoise
 
TH1F * hbheSignalE
 
std::string hcalfile_
 
TH1F * hCalo1 [73][43]
 
TH1F * hCalo1mom2 [73][43]
 
TH1F * hCalo2 [73][43]
 
TH1F * hCalo2mom2 [73][43]
 
TH1F * hfNoiseE
 
edm::InputTag hfrecoMB
 
edm::InputTag hfrecoNoise
 
TH1F * hfSignalE
 
TH2F * hHBHEsize_vs_run
 
TH2F * hHFsize_vs_run
 
edm::InputTag horecoMB
 
edm::InputTag horecoNoise
 
TFile * hOutputFile
 
int ieta
 
int iphi
 
double meannoise_min [73][43]
 
double meannoise_pl [73][43]
 
float mom0_Diff
 
float mom0_MB
 
float mom0_Noise
 
float mom1_Diff
 
float mom1_MB
 
float mom1_Noise
 
float mom2_Diff
 
float mom2_MB
 
float mom2_Noise
 
float mom3_Diff
 
float mom3_MB
 
float mom3_Noise
 
float mom4_Diff
 
float mom4_MB
 
float mom4_Noise
 
int mydet
 
std::ofstream * myout_hcal
 
int mysubd
 
TTree * myTree
 
double nevent
 
int nevent_run
 
double noise_min [73][43]
 
double noise_pl [73][43]
 
float occup
 
float phi
 
double theDFFillDetMapMin0 [5][5][73][43]
 
double theDFFillDetMapMin1 [5][5][73][43]
 
double theDFFillDetMapMin2 [5][5][73][43]
 
double theDFFillDetMapPl0 [5][5][73][43]
 
double theDFFillDetMapPl1 [5][5][73][43]
 
double theDFFillDetMapPl2 [5][5][73][43]
 
double theMBFillDetMapMin0 [5][5][73][43]
 
double theMBFillDetMapMin1 [5][5][73][43]
 
double theMBFillDetMapMin2 [5][5][73][43]
 
double theMBFillDetMapMin4 [5][5][73][43]
 
double theMBFillDetMapPl0 [5][5][73][43]
 
double theMBFillDetMapPl1 [5][5][73][43]
 
double theMBFillDetMapPl2 [5][5][73][43]
 
double theMBFillDetMapPl4 [5][5][73][43]
 
double theNSFillDetMapMin0 [5][5][73][43]
 
double theNSFillDetMapMin1 [5][5][73][43]
 
double theNSFillDetMapMin2 [5][5][73][43]
 
double theNSFillDetMapMin4 [5][5][73][43]
 
double theNSFillDetMapPl0 [5][5][73][43]
 
double theNSFillDetMapPl1 [5][5][73][43]
 
double theNSFillDetMapPl2 [5][5][73][43]
 
double theNSFillDetMapPl4 [5][5][73][43]
 
bool theRecalib
 

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)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 51 of file Analyzer_minbias.h.

Constructor & Destructor Documentation

cms::Analyzer_minbias::Analyzer_minbias ( const edm::ParameterSet iConfig)
explicit

Definition at line 38 of file Analyzer_minbias.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalLocalRecoNZS_cff::hbherecoMB, ALCARECOHcalCalMinBias_cff::hbherecoNoise, hcalLocalRecoNZS_cff::hfrecoMB, ALCARECOHcalCalMinBias_cff::hfrecoNoise, hcalLocalRecoNZS_cff::horecoMB, ALCARECOHcalCalMinBias_cff::horecoNoise, i, and j.

39 {
40  // get name of output file with histogramms
41  fOutputFileName = iConfig.getUntrackedParameter<string>("HistOutFile");
42  // get names of modules, producing object collections
43 
44  hbherecoMB = iConfig.getParameter<edm::InputTag>("hbheInputMB");
45  horecoMB = iConfig.getParameter<edm::InputTag>("hoInputMB");
46  hfrecoMB = iConfig.getParameter<edm::InputTag>("hfInputMB");
47 
48  hbherecoNoise = iConfig.getParameter<edm::InputTag>("hbheInputNoise");
49  horecoNoise = iConfig.getParameter<edm::InputTag>("hoInputNoise");
50  hfrecoNoise = iConfig.getParameter<edm::InputTag>("hfInputNoise");
51 
52  theRecalib = iConfig.getParameter<bool>("Recalib");
53 
54 //
55 //
56  for(int i=0; i<73; i++)
57  {
58  for(int j=0; j<43; j++)
59  {
60  noise_min[i][j] = 0.;
61  noise_pl[i][j] = 0.;
62  }
63  }
64 //
65 //
66 
67 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int i
Definition: DBlmapReader.cc:9
edm::InputTag hbherecoNoise
double noise_min[73][43]
double noise_pl[73][43]
int j
Definition: DBlmapReader.cc:9
cms::Analyzer_minbias::~Analyzer_minbias ( )

Definition at line 69 of file Analyzer_minbias.cc.

70 {
71 
72  // do anything here that needs to be done at desctruction time
73  // (e.g. close files, deallocate resources etc.)
74 
75 }

Member Function Documentation

void cms::Analyzer_minbias::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 351 of file Analyzer_minbias.cc.

References abs, gather_cfg::cout, HcalDetId::depth(), CaloRecHit::energy(), HcalObjRepresent::Fill(), edm::EventSetup::get(), edm::Event::getByLabel(), L1GtTriggerMenu::gtAlgorithmMap(), hcalLocalRecoNZS_cff::hbherecoMB, ALCARECOHcalCalMinBias_cff::hbherecoNoise, hcalLocalRecoNZS_cff::hfrecoMB, ALCARECOHcalCalMinBias_cff::hfrecoNoise, i, HcalDetId::ieta(), HcalDetId::iphi(), j, gen::k, prof2calltree::l, LogDebug, nevent, funct::pow(), edm::ESHandle< class >::product(), DetId::rawId(), hitfit::return, and edm::Event::run().

352 {
353 
354  std::cout<<" Start Analyzer_minbias::analyze "<<nevent<<std::endl;
355  nevent++;
356  nevent_run++;
357  using namespace edm;
358 
359  float rnnum = (float)iEvent.run();
360 /*
361  std::vector<Provenance const*> theProvenance;
362  iEvent.getAllProvenance(theProvenance);
363 
364  for( std::vector<Provenance const*>::const_iterator ip = theProvenance.begin();
365  ip != theProvenance.end(); ip++)
366  {
367  cout<<" Print all module/label names "<<(**ip).moduleName()<<" "<<(**ip).moduleLabel()<<
368  " "<<(**ip).productInstanceName()<<endl;
369  }
370 */
371 
373  iSetup.get<L1GtTriggerMenuRcd>().get(menuRcd) ;
374  const L1GtTriggerMenu* menu = menuRcd.product();
375  const AlgorithmMap& bitMap = menu->gtAlgorithmMap();
376 
378  iEvent.getByLabel("gtDigisAlCaMB", gtRecord);
379 
380  if (!gtRecord.isValid()) {
381 
382 // LogDebug("L1GlobalTriggerRecordProducer")
383 // << "\n\n Error: no L1GlobalTriggerReadoutRecord found with input tag "
384 // << m_l1GtReadoutRecord
385 // << "\n Returning empty L1GlobalTriggerRecord.\n\n"
386 // << std::endl;
387  cout<<" No L1 trigger record "<<endl;
388  } else {
389 
390  const DecisionWord dWord = gtRecord->decisionWord();
391 
392  for (CItAlgo itAlgo = bitMap.begin(); itAlgo != bitMap.end(); itAlgo++)
393  {
394  bool decision=menu->gtAlgorithmResult(itAlgo->first,dWord);
395  if(decision == 1) std::cout<<" Trigger "<<itAlgo->first<<" "<<decision<<std::endl;
396  }
397 
398  }
399 
400  const HcalRespCorrs* myRecalib=0;
401  if( theRecalib ) {
402 // Radek:
403  edm::ESHandle <HcalRespCorrs> recalibCorrs;
404  iSetup.get<HcalRespCorrsRcd>().get("recalibrate",recalibCorrs);
405  myRecalib = recalibCorrs.product();
406 // end
407  } // theRecalib
408 
409 // Noise part for HB HE
410 
411  double tmpNSFillDetMapPl1[5][5][73][43];
412  double tmpNSFillDetMapMin1[5][5][73][43];
413 
414  for (int i=0; i<5;i++)
415  {
416  for (int j=0; j<5;j++)
417  {
418  for (int k=0; k<73;k++)
419  {
420  for (int l=0; l<43;l++)
421  {
422  tmpNSFillDetMapPl1[i][j][k][l] = 0.;
423  tmpNSFillDetMapMin1[i][j][k][l] = 0.;
424  }
425  }
426  }
427  }
429  iEvent.getByLabel("hbhereco", hbheNormal);
430  if(!hbheNormal.isValid()){
431  cout<<" hbheNormal failed "<<endl;
432  } else {
433  cout<<" The size of the normal collection "<<hbheNormal->size()<<endl;
434  }
435 
436 
438  iEvent.getByLabel(hbherecoNoise, hbheNS);
439 
440 
441  if(!hbheNS.isValid()){
442  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
443  cout<<" No HBHE MS "<<endl;
444  return ;
445  }
446 
447 
448  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
449  cout<<" HBHE NS size of collection "<<HithbheNS.size()<<endl;
450  hHBHEsize_vs_run->Fill(rnnum,(float)HithbheNS.size());
451 
452  if(HithbheNS.size()!= 5184) {
453  cout<<" HBHE problem "<<rnnum<<" "<<HithbheNS.size()<<endl;
454  return;
455  }
457  iEvent.getByLabel(hbherecoMB, hbheMB);
458 
459  if(!hbheMB.isValid()){
460  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
461  cout<<" No HBHE MB"<<endl;
462  return ;
463  }
464 
465  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
466  cout<<" HBHE MB size of collection "<<HithbheMB.size()<<endl;
467  if(HithbheMB.size()!= 5184) {
468  cout<<" HBHE problem "<<rnnum<<" "<<HithbheMB.size()<<endl;
469  return;
470  }
471 
473  iEvent.getByLabel(hfrecoNoise, hfNS);
474 
475  if(!hfNS.isValid()){
476  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
477  cout<<" No HF NS "<<endl;
478  return ;
479  }
480 
481  const HFRecHitCollection HithfNS = *(hfNS.product());
482  cout<<" HFE NS size of collection "<<HithfNS.size()<<endl;
483  hHFsize_vs_run->Fill(rnnum,(float)HithfNS.size());
484  if(HithfNS.size()!= 1728) {
485  cout<<" HF problem "<<rnnum<<" "<<HithfNS.size()<<endl;
486  return;
487  }
488 
490  iEvent.getByLabel(hfrecoMB, hfMB);
491 
492  if(!hfMB.isValid()){
493  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
494  cout<<" No HBHE MB"<<endl;
495  return ;
496  }
497 
498  const HFRecHitCollection HithfMB = *(hfMB.product());
499  cout<<" HF MB size of collection "<<HithfMB.size()<<endl;
500  if(HithfMB.size()!= 1728) {
501  cout<<" HF problem "<<rnnum<<" "<<HithfMB.size()<<endl;
502  return;
503  }
504 
505 
506 
507  for(HBHERecHitCollection::const_iterator hbheItr=HithbheNS.begin(); hbheItr!=HithbheNS.end(); hbheItr++)
508  {
509 // Recalibration of energy
510  float icalconst=1.;
511  DetId mydetid = hbheItr->id().rawId();
512  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
513 
514  HBHERecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
515 
516  double energyhit = aHit.energy();
517 
518  DetId id = (*hbheItr).detid();
519  HcalDetId hid=HcalDetId(id);
520 
521 
522 
523  int mysu = ((hid).rawId()>>25)&0x7;
524  if( hid.ieta() > 0 ) {
525  theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
526  theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
527  theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
528  theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
529 
530  tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
531 
532 
533  } else {
534  theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
535  theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
536  theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
537  theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
538 
539 
540  tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
541 
542  }
543 
544  if(hid.depth() == 1) {
545  hbheNoiseE->Fill(energyhit);
546 
547  if(energyhit<-2.) std::cout<<" Run "<<rnnum<<" ieta,iphi "<<hid.ieta()<<" "<<hid.iphi()<<energyhit<<std::endl;
548 
549  // if( hid.ieta() > 0 ) {
550  // hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit-noise_pl[hid.iphi()][hid.ieta()]);
551  // hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
552  // } else {
553  // hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit-noise_min[hid.iphi()][abs(hid.ieta())]);
554  // hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
555  // } // eta><0
556 
557  } // depth=1
558 
559 
560  } // HBHE_NS
561 
562 
563 // Signal part for HB HE
564 
565 
566  for(HBHERecHitCollection::const_iterator hbheItr=HithbheMB.begin(); hbheItr!=HithbheMB.end(); hbheItr++)
567  {
568 // Recalibration of energy
569  float icalconst=1.;
570  DetId mydetid = hbheItr->id().rawId();
571  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
572 
573  HBHERecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
574 
575  double energyhit = aHit.energy();
576 
577  DetId id = (*hbheItr).detid();
578  HcalDetId hid=HcalDetId(id);
579 
580  int mysu = ((hid).rawId()>>25)&0x7;
581  if( hid.ieta() > 0 ) {
582  theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
583  theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
584  theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
585  theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
586  float mydiff = energyhit - tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
587 
588 
589  theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+mydiff;
590  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(mydiff,2);
591  } else {
592  theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
593  theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
594  theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
595  theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
596 
597 
598  float mydiff = energyhit - tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
599  theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+mydiff;
600  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(mydiff,2);
601  }
602 
603 
604  if(hid.depth() == 1) {
605 
606  hbheSignalE->Fill(energyhit);
607 
608  if( hid.ieta() > 0 ) {
609  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit);
610  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
611  } else {
612  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit);
613  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
614  } // eta><0
615 
616  } // depth=1
617 
618 
619  } // HBHE_MB
620 
621 // HF
622 
623  for(HFRecHitCollection::const_iterator hbheItr=HithfNS.begin(); hbheItr!=HithfNS.end(); hbheItr++)
624  {
625 // Recalibration of energy
626  float icalconst=1.;
627  DetId mydetid = hbheItr->id().rawId();
628  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
629 
630  HFRecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
631 
632  double energyhit = aHit.energy();
633 //
634 // Remove PMT hits
635 //
636  if(fabs(energyhit) > 40. ) continue;
637 
638  DetId id = (*hbheItr).detid();
639  HcalDetId hid=HcalDetId(id);
640 
641  int mysu = ((hid).rawId()>>25)&0x7;
642  if( hid.ieta() > 0 ) {
643  theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
644  theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
645  theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
646  theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
647 
648  tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
649 
650 
651  } else {
652  theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
653  theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
654  theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
655  theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
656 
657 
658  tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
659 
660  }
661 
662  if(hid.depth() == 1) {
663  hfNoiseE->Fill(energyhit);
664 
665  //if( hid.ieta() > 0 ) {
666  // hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit-noise_pl[hid.iphi()][hid.ieta()]);
667  // hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
668  //} else {
669  // hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit-noise_min[hid.iphi()][abs(hid.ieta())]);
670  // hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
671  //} // eta><0
672 
673  } // depth=1
674 
675  } // HBHE_NS
676 
677 
678 // Signal part for HB HE
679 
680  for(HFRecHitCollection::const_iterator hbheItr=HithfMB.begin(); hbheItr!=HithfMB.end(); hbheItr++)
681  {
682 // Recalibration of energy
683  float icalconst=1.;
684  DetId mydetid = hbheItr->id().rawId();
685  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
686 
687  HFRecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
688 
689  double energyhit = aHit.energy();
690 //
691 // Remove PMT hits
692 //
693  if(fabs(energyhit) > 40. ) continue;
694 
695  DetId id = (*hbheItr).detid();
696  HcalDetId hid=HcalDetId(id);
697 
698  int mysu = ((hid).rawId()>>25)&0x7;
699  if( hid.ieta() > 0 ) {
700  theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
701  theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
702  theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
703  theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
704 
705 
706  theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit-tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
707  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] =
708  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow((energyhit-tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]),2);
709  } else {
710  theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
711  theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
712  theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
713  theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
714 
715  theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit-tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
716  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] =
717  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow((energyhit-tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()]),2);
718  }
719 
720 
721  if(hid.depth() == 1) {
722  hfSignalE->Fill(energyhit);
723 
724  if( hid.ieta() > 0 )
725  {
726  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit);
727  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
728  } else
729  {
730  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit);
731  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
732  } // eta><0
733 
734  } // depth=1
735 
736  } // HF_MB
737 
738  std::cout<<" Event is finished "<<std::endl;
739 }
#define LogDebug(id)
double theMBFillDetMapMin0[5][5][73][43]
double theMBFillDetMapMin2[5][5][73][43]
int i
Definition: DBlmapReader.cc:9
double theDFFillDetMapPl2[5][5][73][43]
double theMBFillDetMapMin1[5][5][73][43]
edm::InputTag hbherecoNoise
double theNSFillDetMapPl4[5][5][73][43]
double theNSFillDetMapPl0[5][5][73][43]
double theNSFillDetMapMin0[5][5][73][43]
double theMBFillDetMapPl0[5][5][73][43]
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
TH1F * hCalo2mom2[73][43]
std::vector< T >::const_iterator const_iterator
double theDFFillDetMapPl1[5][5][73][43]
#define abs(x)
Definition: mlp_lapack.h:159
double theNSFillDetMapPl2[5][5][73][43]
double theDFFillDetMapMin2[5][5][73][43]
TH1F * hCalo1mom2[73][43]
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
double theNSFillDetMapPl1[5][5][73][43]
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
double theMBFillDetMapPl1[5][5][73][43]
int depth() const
get the tower depth
Definition: HcalDetId.h:42
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< bool > DecisionWord
typedefs
float energy() const
Definition: CaloRecHit.h:19
int ieta() const
get the cell ieta
Definition: HcalDetId.h:38
RunNumber_t run() const
Definition: Event.h:67
int j
Definition: DBlmapReader.cc:9
double theMBFillDetMapPl4[5][5][73][43]
double theNSFillDetMapMin1[5][5][73][43]
double theNSFillDetMapMin4[5][5][73][43]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
double theMBFillDetMapPl2[5][5][73][43]
int k[5][pyjets_maxn]
int iphi() const
get the cell iphi
Definition: HcalDetId.h:40
Definition: DetId.h:20
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
double theMBFillDetMapMin4[5][5][73][43]
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
tuple cout
Definition: gather_cfg.py:121
double theNSFillDetMapMin2[5][5][73][43]
double theDFFillDetMapMin1[5][5][73][43]
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
void cms::Analyzer_minbias::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 86 of file Analyzer_minbias.cc.

References gather_cfg::cout, eta(), i, j, gen::k, prof2calltree::l, nevent, phi, and hitfit::return.

87 {
88 
89  hOutputFile = new TFile( fOutputFileName.c_str(), "RECREATE" ) ;
90 
91  myTree = new TTree("RecJet","RecJet Tree");
92  myTree->Branch("mydet", &mydet, "mydet/I");
93  myTree->Branch("mysubd", &mysubd, "mysubd/I");
94  myTree->Branch("depth", &depth, "depth/I");
95  myTree->Branch("ieta", &ieta, "ieta/I");
96  myTree->Branch("iphi", &iphi, "iphi/I");
97  myTree->Branch("eta", &eta, "eta/F");
98  myTree->Branch("phi", &phi, "phi/F");
99 
100  myTree->Branch("mom0_MB", &mom0_MB, "mom0_MB/F");
101  myTree->Branch("mom1_MB", &mom1_MB, "mom1_MB/F");
102  myTree->Branch("mom2_MB", &mom2_MB, "mom2_MB/F");
103  myTree->Branch("mom4_MB", &mom4_MB, "mom4_MB/F");
104 
105  myTree->Branch("mom0_Noise", &mom0_Noise, "mom0_Noise/F");
106  myTree->Branch("mom1_Noise", &mom1_Noise, "mom1_Noise/F");
107  myTree->Branch("mom2_Noise", &mom2_Noise, "mom2_Noise/F");
108  myTree->Branch("mom4_Noise", &mom4_Noise, "mom4_Noise/F");
109 
110  myTree->Branch("mom0_Diff", &mom0_Diff, "mom0_Diff/F");
111  myTree->Branch("mom1_Diff", &mom1_Diff, "mom1_Diff/F");
112  myTree->Branch("mom2_Diff", &mom2_Diff, "mom2_Diff/F");
113 
114  myTree->Branch("occup", &occup, "occup/F");
115 
116  std::cout<<" Before ordering Histos "<<std::endl;
117 
118  char str0[15];
119  char str1[15];
120 
121  char str10[15];
122  char str11[15];
123 
124  int k=0;
125  nevent = 0;
126 // Size of collections
127 
128  hHBHEsize_vs_run = new TH2F("hHBHEsize_vs_run","hHBHEsize_vs_run",500,111500.,112000.,6101,-100.5,6000.5);
129  hHFsize_vs_run = new TH2F("hHFsize_vs_run","hHFsize_vs_run",500,111500.,112000.,6101,-100.5,6000.5);
130 
131  for(int i=1;i<73;i++){
132  for(int j=1;j<43;j++){
133 
134  meannoise_pl[i][j] = 0.;
135  meannoise_min[i][j] = 0.;
136 
137 // for(int l=1;l<5;l++){
138  k = i*1000+j;
139  sprintf(str0,"mpl%d",k);
140  sprintf(str1,"mmin%d",k);
141 
142  sprintf(str10,"vpl%d",k);
143  sprintf(str11,"vmin%d",k);
144 // cout<<" "<<i<<" "<<j<<endl;
145  if( j < 30 )
146  {
147 // first order moment
148  hCalo1[i][j] = new TH1F(str0, "h0", 320, -10., 10.);
149  hCalo2[i][j] = new TH1F(str1, "h1", 320, -10., 10.);
150 
151 // second order moment
152  hCalo1mom2[i][j] = new TH1F(str10, "h10", 320, 0., 20.);
153  hCalo2mom2[i][j] = new TH1F(str11, "h11", 320, 0., 20.);
154  }
155  else
156  {
157 // HF
158 // first order moment
159 // cout<<" "<<i<<" "<<j<<" "<<k<<endl;
160  if(j < 40)
161  {
162  hCalo1[i][j] = new TH1F(str0, "h0", 320, -10., 10.);
163  hCalo2[i][j] = new TH1F(str1, "h1", 320, -10., 10.);
164 //
165 // second order moment
166  hCalo1mom2[i][j] = new TH1F(str10, "h10", 320, 0., 40.);
167  hCalo2mom2[i][j] = new TH1F(str11, "h11", 320, 0., 40.);
168  }
169  else
170  {
171  hCalo1[i][j] = new TH1F(str0,"h0" , 320, -10., 10.);
172  hCalo2[i][j] = new TH1F(str1, "h1", 320, -10., 10.);
173 
174 // second order moment
175  hCalo1mom2[i][j] = new TH1F(str10, "h10", 320, 0., 120.);
176  hCalo2mom2[i][j] = new TH1F(str11, "h11", 320, 0., 120.);
177 
178  }
179  } // HE/HF boundary
180 // } // l
181  } // j
182  } // i
183 
184 
185  hbheNoiseE = new TH1F("hbheNoiseE","hbheNoiseE", 320, -10., 10.);
186  hfNoiseE = new TH1F("hfNoiseE","hfNoiseE", 320, -10., 10.);
187  hbheSignalE = new TH1F("hbheSignalE","hbheSignalE", 320, -10., 10.);
188  hfSignalE = new TH1F("hfSignalE","hfSignalE", 320, -10., 10.);
189 
190 
191  std::cout<<" After ordering Histos "<<std::endl;
192 
193  std::string ccc = "noise_0.dat";
194 
195  myout_hcal = new ofstream(ccc.c_str());
196  if(!myout_hcal) cout << " Output file not open!!! "<<endl;
197 
198 //
199  for (int i=0; i<5;i++)
200  {
201  for (int j=0; j<5;j++)
202  {
203  for (int k=0; k<73;k++)
204  {
205  for (int l=0; l<43;l++)
206  {
207  theMBFillDetMapPl0[i][j][k][l] = 0.;
208  theMBFillDetMapPl1[i][j][k][l] = 0.;
209  theMBFillDetMapPl2[i][j][k][l] = 0.;
210  theMBFillDetMapPl4[i][j][k][l] = 0.;
211 
212  theMBFillDetMapMin0[i][j][k][l] = 0.;
213  theMBFillDetMapMin1[i][j][k][l] = 0.;
214  theMBFillDetMapMin2[i][j][k][l] = 0.;
215  theMBFillDetMapMin4[i][j][k][l] = 0.;
216 
217 
218  theNSFillDetMapPl0[i][j][k][l] = 0.;
219  theNSFillDetMapPl1[i][j][k][l] = 0.;
220  theNSFillDetMapPl2[i][j][k][l] = 0.;
221  theNSFillDetMapPl4[i][j][k][l] = 0.;
222 
223  theNSFillDetMapMin0[i][j][k][l] = 0.;
224  theNSFillDetMapMin1[i][j][k][l] = 0.;
225  theNSFillDetMapMin2[i][j][k][l] = 0.;
226  theNSFillDetMapMin4[i][j][k][l] = 0.;
227 
228  theDFFillDetMapPl0[i][j][k][l] = 0.;
229  theDFFillDetMapPl1[i][j][k][l] = 0.;
230  theDFFillDetMapPl2[i][j][k][l] = 0.;
231  theDFFillDetMapMin0[i][j][k][l] = 0.;
232  theDFFillDetMapMin1[i][j][k][l] = 0.;
233  theDFFillDetMapMin2[i][j][k][l] = 0.;
234  }
235  }
236  }
237  }
238 
239  return ;
240 }
double theMBFillDetMapMin0[5][5][73][43]
double theMBFillDetMapMin2[5][5][73][43]
int i
Definition: DBlmapReader.cc:9
double theDFFillDetMapPl2[5][5][73][43]
double theMBFillDetMapMin1[5][5][73][43]
double theNSFillDetMapPl4[5][5][73][43]
double theNSFillDetMapPl0[5][5][73][43]
double theNSFillDetMapMin0[5][5][73][43]
double theMBFillDetMapPl0[5][5][73][43]
TH1F * hCalo2mom2[73][43]
double theDFFillDetMapPl1[5][5][73][43]
std::ofstream * myout_hcal
double meannoise_pl[73][43]
double theNSFillDetMapPl2[5][5][73][43]
double theDFFillDetMapMin2[5][5][73][43]
TH1F * hCalo1mom2[73][43]
double theNSFillDetMapPl1[5][5][73][43]
double theMBFillDetMapPl1[5][5][73][43]
double theDFFillDetMapPl0[5][5][73][43]
int j
Definition: DBlmapReader.cc:9
double theMBFillDetMapPl4[5][5][73][43]
double theNSFillDetMapMin1[5][5][73][43]
double theNSFillDetMapMin4[5][5][73][43]
double theDFFillDetMapMin0[5][5][73][43]
double theMBFillDetMapPl2[5][5][73][43]
int k[5][pyjets_maxn]
double theMBFillDetMapMin4[5][5][73][43]
double meannoise_min[73][43]
tuple cout
Definition: gather_cfg.py:121
double theNSFillDetMapMin2[5][5][73][43]
double theDFFillDetMapMin1[5][5][73][43]
void cms::Analyzer_minbias::beginRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 77 of file Analyzer_minbias.cc.

78 {
79  nevent_run = 0;
80 }
void cms::Analyzer_minbias::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 244 of file Analyzer_minbias.cc.

References gather_cfg::cout, i, j, gen::k, prof2calltree::l, and hitfit::return.

245 {
246  int ii=0;
247 
248  for (int i=1; i<5;i++)
249  {
250  for (int j=1; j<5;j++)
251  {
252  for (int k=1; k<73;k++)
253  {
254  for (int l=1; l<43;l++)
255  {
256  if(theMBFillDetMapPl0[i][j][k][l] > 0)
257  {
269 
270  mysubd = i;
271  depth = j;
272  ieta = l;
273  iphi = k;
274  cout<<" Result Plus= "<<mysubd<<" "<<ieta<<" "<<iphi<<" mom0 "<<mom0_MB<<" mom1 "<<mom1_MB<<" mom2 "<<mom2_MB<<endl;
275  myTree->Fill();
276  ii++;
277  } // Pl > 0
278 
279 
280  if(theMBFillDetMapMin0[i][j][k][l] > 0)
281  {
293 
294 
295  mysubd = i;
296  depth = j;
297  ieta = -1*l;
298  iphi = k;
299  cout<<" Result Minus= "<<mysubd<<" "<<ieta<<" "<<iphi<<" mom0 "<<mom0_MB<<" mom1 "<<mom1_MB<<" mom2 "<<mom2_MB<<endl;
300  myTree->Fill();
301  ii++;
302 
303  } // Min>0
304  } // ieta
305  } // iphi
306  } // depth
307  } //subd
308 
309 
310 
311  cout<<" Number of cells "<<ii<<endl;
312 
313  hOutputFile->Write();
314 
315  hOutputFile->cd();
316 
317  myTree->Write();
318 
319  hHBHEsize_vs_run->Write() ;
320  hHFsize_vs_run->Write() ;
321 
322  for(int i=1;i<73;i++){
323  for(int j=1;j<43;j++){
324  hCalo1[i][j]->Write();
325  hCalo2[i][j]->Write();
326  hCalo1mom2[i][j]->Write();
327  hCalo2mom2[i][j]->Write();
328  }
329  }
330 
331  hbheNoiseE->Write() ;
332  hfNoiseE->Write() ;
333  hbheSignalE->Write() ;
334  hfSignalE->Write() ;
335 
336 
337  hOutputFile->Close() ;
338 
339  cout<<" File is closed "<<endl;
340 
341  return ;
342 }
double theMBFillDetMapMin0[5][5][73][43]
double theMBFillDetMapMin2[5][5][73][43]
int i
Definition: DBlmapReader.cc:9
double theDFFillDetMapPl2[5][5][73][43]
double theMBFillDetMapMin1[5][5][73][43]
double theNSFillDetMapPl4[5][5][73][43]
double theNSFillDetMapPl0[5][5][73][43]
double theNSFillDetMapMin0[5][5][73][43]
double theMBFillDetMapPl0[5][5][73][43]
TH1F * hCalo2mom2[73][43]
double theDFFillDetMapPl1[5][5][73][43]
double theNSFillDetMapPl2[5][5][73][43]
double theDFFillDetMapMin2[5][5][73][43]
TH1F * hCalo1mom2[73][43]
double theNSFillDetMapPl1[5][5][73][43]
double theMBFillDetMapPl1[5][5][73][43]
double theDFFillDetMapPl0[5][5][73][43]
int j
Definition: DBlmapReader.cc:9
double theMBFillDetMapPl4[5][5][73][43]
double theNSFillDetMapMin1[5][5][73][43]
double theNSFillDetMapMin4[5][5][73][43]
double theDFFillDetMapMin0[5][5][73][43]
double theMBFillDetMapPl2[5][5][73][43]
int k[5][pyjets_maxn]
double theMBFillDetMapMin4[5][5][73][43]
tuple cout
Definition: gather_cfg.py:121
double theNSFillDetMapMin2[5][5][73][43]
double theDFFillDetMapMin1[5][5][73][43]
void cms::Analyzer_minbias::endRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 81 of file Analyzer_minbias.cc.

References gather_cfg::cout, and edm::RunBase::run().

82 {
83  std::cout<<" Runnumber "<<r.run()<<" Nevents "<<nevent_run<<std::endl;
84 }
RunNumber_t run() const
Definition: RunBase.h:42
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

int cms::Analyzer_minbias::depth
private
float cms::Analyzer_minbias::eta
private

Definition at line 86 of file Analyzer_minbias.h.

std::string cms::Analyzer_minbias::fOutputFileName
private

Definition at line 64 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hbheNoiseE
private

Definition at line 76 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::hbherecoMB
private

Definition at line 126 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::hbherecoNoise
private

Definition at line 130 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hbheSignalE
private

Definition at line 77 of file Analyzer_minbias.h.

std::string cms::Analyzer_minbias::hcalfile_
private

Definition at line 65 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hCalo1[73][43]
private

Definition at line 72 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hCalo1mom2[73][43]
private

Definition at line 74 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hCalo2[73][43]
private

Definition at line 73 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hCalo2mom2[73][43]
private

Definition at line 75 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hfNoiseE
private

Definition at line 78 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::hfrecoMB
private

Definition at line 128 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::hfrecoNoise
private

Definition at line 132 of file Analyzer_minbias.h.

TH1F* cms::Analyzer_minbias::hfSignalE
private

Definition at line 79 of file Analyzer_minbias.h.

TH2F* cms::Analyzer_minbias::hHBHEsize_vs_run
private

Definition at line 81 of file Analyzer_minbias.h.

TH2F* cms::Analyzer_minbias::hHFsize_vs_run
private

Definition at line 82 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::horecoMB
private

Definition at line 127 of file Analyzer_minbias.h.

edm::InputTag cms::Analyzer_minbias::horecoNoise
private

Definition at line 131 of file Analyzer_minbias.h.

TFile* cms::Analyzer_minbias::hOutputFile
private

Definition at line 70 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::ieta
private

Definition at line 85 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::iphi
private

Definition at line 85 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::meannoise_min[73][43]
private

Definition at line 93 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::meannoise_pl[73][43]
private

Definition at line 93 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_Diff
private

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_MB
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_Noise
private

Definition at line 88 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_Diff
private

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_MB
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_Noise
private

Definition at line 88 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_Diff
private

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_MB
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_Noise
private

Definition at line 88 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_Diff
private

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_MB
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_Noise
private

Definition at line 88 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_Diff
private

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_MB
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_Noise
private

Definition at line 88 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::mydet
private

Definition at line 85 of file Analyzer_minbias.h.

std::ofstream* cms::Analyzer_minbias::myout_hcal
private

Definition at line 66 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::mysubd
private

Definition at line 85 of file Analyzer_minbias.h.

TTree* cms::Analyzer_minbias::myTree
private

Definition at line 71 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::nevent
private

Definition at line 98 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::nevent_run
private

Definition at line 84 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::noise_min[73][43]
private

Definition at line 94 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::noise_pl[73][43]
private

Definition at line 94 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::occup
private

Definition at line 87 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::phi
private

Definition at line 86 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapMin0[5][5][73][43]
private

Definition at line 122 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapMin1[5][5][73][43]
private

Definition at line 123 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapMin2[5][5][73][43]
private

Definition at line 124 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapPl0[5][5][73][43]
private

Definition at line 119 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapPl1[5][5][73][43]
private

Definition at line 120 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theDFFillDetMapPl2[5][5][73][43]
private

Definition at line 121 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapMin0[5][5][73][43]
private

Definition at line 104 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapMin1[5][5][73][43]
private

Definition at line 105 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapMin2[5][5][73][43]
private

Definition at line 106 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapMin4[5][5][73][43]
private

Definition at line 107 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapPl0[5][5][73][43]
private

Definition at line 99 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapPl1[5][5][73][43]
private

Definition at line 100 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapPl2[5][5][73][43]
private

Definition at line 101 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theMBFillDetMapPl4[5][5][73][43]
private

Definition at line 102 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapMin0[5][5][73][43]
private

Definition at line 114 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapMin1[5][5][73][43]
private

Definition at line 115 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapMin2[5][5][73][43]
private

Definition at line 116 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapMin4[5][5][73][43]
private

Definition at line 117 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapPl0[5][5][73][43]
private

Definition at line 109 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapPl1[5][5][73][43]
private

Definition at line 110 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapPl2[5][5][73][43]
private

Definition at line 111 of file Analyzer_minbias.h.

double cms::Analyzer_minbias::theNSFillDetMapPl4[5][5][73][43]
private

Definition at line 112 of file Analyzer_minbias.h.

bool cms::Analyzer_minbias::theRecalib
private

Definition at line 135 of file Analyzer_minbias.h.