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
 
edm::InputTag hbherecoMB
 
edm::InputTag hbherecoNoise
 
std::string hcalfile_
 
TH1F * hCalo1 [73][43]
 
TH1F * hCalo1mom2 [73][43]
 
TH1F * hCalo2 [73][43]
 
TH1F * hCalo2mom2 [73][43]
 
edm::InputTag hfrecoMB
 
edm::InputTag hfrecoNoise
 
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)
 
- 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 33 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.

34 {
35  // get name of output file with histogramms
36  fOutputFileName = iConfig.getUntrackedParameter<string>("HistOutFile");
37  // get names of modules, producing object collections
38 
39  hbherecoMB = iConfig.getParameter<edm::InputTag>("hbheInputMB");
40  horecoMB = iConfig.getParameter<edm::InputTag>("hoInputMB");
41  hfrecoMB = iConfig.getParameter<edm::InputTag>("hfInputMB");
42 
43  hbherecoNoise = iConfig.getParameter<edm::InputTag>("hbheInputNoise");
44  horecoNoise = iConfig.getParameter<edm::InputTag>("hoInputNoise");
45  hfrecoNoise = iConfig.getParameter<edm::InputTag>("hfInputNoise");
46 
47  theRecalib = iConfig.getParameter<bool>("Recalib");
48 
49 //
50 //
51  for(int i=0; i<73; i++)
52  {
53  for(int j=0; j<43; j++)
54  {
55  noise_min[i][j] = 0.;
56  noise_pl[i][j] = 0.;
57  }
58  }
59 //
60 //
61 
62 }
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 64 of file Analyzer_minbias.cc.

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

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 329 of file Analyzer_minbias.cc.

References abs, gather_cfg::cout, HcalDetId::depth(), CaloRecHit::energy(), HcalObjRepresent::Fill(), edm::EventSetup::get(), edm::Event::getByLabel(), 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(), mathSSE::return(), and edm::Event::run().

330 {
331 
332  std::cout<<" Start Analyzer_minbias::analyze "<<nevent<<std::endl;
333  nevent++;
334  nevent_run++;
335  using namespace edm;
336 
337  float rnnum = (float)iEvent.run();
338 /*
339  std::vector<Provenance const*> theProvenance;
340  iEvent.getAllProvenance(theProvenance);
341 
342  for( std::vector<Provenance const*>::const_iterator ip = theProvenance.begin();
343  ip != theProvenance.end(); ip++)
344  {
345  cout<<" Print all module/label names "<<(**ip).moduleName()<<" "<<(**ip).moduleLabel()<<
346  " "<<(**ip).productInstanceName()<<endl;
347  }
348 */
349 
351  iEvent.getByLabel("gtDigis", gtRecord);
352 
353  if (!gtRecord.isValid()) {
354 
355 // LogDebug("L1GlobalTriggerRecordProducer")
356 // << "\n\n Error: no L1GlobalTriggerReadoutRecord found with input tag "
357 // << m_l1GtReadoutRecord
358 // << "\n Returning empty L1GlobalTriggerRecord.\n\n"
359 // << std::endl;
360  cout<<" No L1 trigger record "<<endl;
361 // return;
362  }
363 
364 
365  const HcalRespCorrs* myRecalib=0;
366  if( theRecalib ) {
367 // Radek:
368  edm::ESHandle <HcalRespCorrs> recalibCorrs;
369  iSetup.get<HcalRespCorrsRcd>().get("recalibrate",recalibCorrs);
370  myRecalib = recalibCorrs.product();
371 // end
372  } // theRecalib
373 
374 // Noise part for HB HE
375 
376  double tmpNSFillDetMapPl1[5][5][73][43];
377  double tmpNSFillDetMapPl2[5][5][73][43];
378  double tmpNSFillDetMapMin1[5][5][73][43];
379  double tmpNSFillDetMapMin2[5][5][73][43];
380 
381  for (int i=0; i<5;i++)
382  {
383  for (int j=0; j<5;j++)
384  {
385  for (int k=0; k<73;k++)
386  {
387  for (int l=0; l<43;l++)
388  {
389  tmpNSFillDetMapPl1[i][j][k][l] = 0.;
390  tmpNSFillDetMapPl2[i][j][k][l] = 0.;
391  tmpNSFillDetMapMin1[i][j][k][l] = 0.;
392  tmpNSFillDetMapMin2[i][j][k][l] = 0.;
393  }
394  }
395  }
396  }
398  iEvent.getByLabel("hbhereco", hbheNormal);
399  if(!hbheNormal.isValid()){
400  cout<<" hbheNormal failed "<<endl;
401  } else {
402  cout<<" The size of the normal collection "<<hbheNormal->size()<<endl;
403  }
404 
405 
407  iEvent.getByLabel(hbherecoNoise, hbheNS);
408 
409 
410  if(!hbheNS.isValid()){
411  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
412  cout<<" No HBHE MS "<<endl;
413  return ;
414  }
415 
416 
417  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
418  cout<<" HBHE NS size of collection "<<HithbheNS.size()<<endl;
419  hHBHEsize_vs_run->Fill(rnnum,(float)HithbheNS.size());
420 
421  if(HithbheNS.size()!= 5184) {
422  cout<<" HBHE problem "<<rnnum<<" "<<HithbheNS.size()<<endl;
423  return;
424  }
426  iEvent.getByLabel(hbherecoMB, hbheMB);
427 
428  if(!hbheMB.isValid()){
429  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
430  cout<<" No HBHE MB"<<endl;
431  return ;
432  }
433 
434  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
435  cout<<" HBHE MB size of collection "<<HithbheMB.size()<<endl;
436  if(HithbheMB.size()!= 5184) {
437  cout<<" HBHE problem "<<rnnum<<" "<<HithbheMB.size()<<endl;
438  return;
439  }
440 
442  iEvent.getByLabel(hfrecoNoise, hfNS);
443 
444  if(!hfNS.isValid()){
445  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
446  cout<<" No HF NS "<<endl;
447  return ;
448  }
449 
450  const HFRecHitCollection HithfNS = *(hfNS.product());
451  cout<<" HFE NS size of collection "<<HithfNS.size()<<endl;
452  hHFsize_vs_run->Fill(rnnum,(float)HithfNS.size());
453  if(HithfNS.size()!= 1728) {
454  cout<<" HF problem "<<rnnum<<" "<<HithfNS.size()<<endl;
455  return;
456  }
457 
459  iEvent.getByLabel(hfrecoMB, hfMB);
460 
461  if(!hfMB.isValid()){
462  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
463  cout<<" No HBHE MB"<<endl;
464  return ;
465  }
466 
467  const HFRecHitCollection HithfMB = *(hfMB.product());
468  cout<<" HF MB size of collection "<<HithfMB.size()<<endl;
469  if(HithfMB.size()!= 1728) {
470  cout<<" HF problem "<<rnnum<<" "<<HithfMB.size()<<endl;
471  return;
472  }
473 
474 
475 
476  for(HBHERecHitCollection::const_iterator hbheItr=HithbheNS.begin(); hbheItr!=HithbheNS.end(); hbheItr++)
477  {
478 // Recalibration of energy
479  float icalconst=1.;
480  DetId mydetid = hbheItr->id().rawId();
481  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
482 
483  HBHERecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
484 
485  double energyhit = aHit.energy();
486 
487  DetId id = (*hbheItr).detid();
488  HcalDetId hid=HcalDetId(id);
489 
490  int mysu = ((hid).rawId()>>25)&0x7;
491  if( hid.ieta() > 0 ) {
492  theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
493  theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
494  theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
495  theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
496 
497  tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
498  tmpNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = pow(energyhit,2);
499 
500 
501  } else {
502  theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
503  theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
504  theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
505  theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
506 
507 
508  tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
509  tmpNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = pow(energyhit,2);
510 
511  }
512 
513  if(hid.depth() == 1) {
514  if( hid.ieta() > 0 ) {
515  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit-noise_pl[hid.iphi()][hid.ieta()]);
516  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
517  } else {
518  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit-noise_min[hid.iphi()][abs(hid.ieta())]);
519  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
520  } // eta><0
521  } // depth=1
522  } // HBHE_NS
523 
524 
525 // Signal part for HB HE
526 
527 
528  for(HBHERecHitCollection::const_iterator hbheItr=HithbheMB.begin(); hbheItr!=HithbheMB.end(); hbheItr++)
529  {
530 // Recalibration of energy
531  float icalconst=1.;
532  DetId mydetid = hbheItr->id().rawId();
533  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
534 
535  HBHERecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
536 
537  double energyhit = aHit.energy();
538 
539  DetId id = (*hbheItr).detid();
540  HcalDetId hid=HcalDetId(id);
541 
542  int mysu = ((hid).rawId()>>25)&0x7;
543  if( hid.ieta() > 0 ) {
544  theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
545  theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
546  theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
547  theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
548  float mydiff = energyhit - tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
549 
550 
551  theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+mydiff;
552  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(mydiff,2);
553  } else {
554  theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
555  theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
556  theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
557  theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
558 
559 
560  float mydiff = energyhit - tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()];
561  theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+mydiff;
562  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(mydiff,2);
563  }
564 
565 
566  if(hid.depth() == 1) {
567  if( hid.ieta() > 0 ) {
568  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit);
569  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
570  } else {
571  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit);
572  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
573  } // eta><0
574  } // depth=1
575  } // HBHE_MB
576 
577 // HF
578 
579  for(HFRecHitCollection::const_iterator hbheItr=HithfNS.begin(); hbheItr!=HithfNS.end(); hbheItr++)
580  {
581 // Recalibration of energy
582  float icalconst=1.;
583  DetId mydetid = hbheItr->id().rawId();
584  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
585 
586  HFRecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
587 
588  double energyhit = aHit.energy();
589 
590  DetId id = (*hbheItr).detid();
591  HcalDetId hid=HcalDetId(id);
592 
593  int mysu = ((hid).rawId()>>25)&0x7;
594  if( hid.ieta() > 0 ) {
595  theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
596  theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
597  theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
598  theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theNSFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
599 
600  tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
601  tmpNSFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = pow(energyhit,2);
602 
603 
604  } else {
605  theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
606  theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
607  theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
608  theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theNSFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
609 
610 
611  tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = energyhit;
612  tmpNSFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = pow(energyhit,2);
613 
614  }
615 
616  if(hid.depth() == 1) {
617  if( hid.ieta() > 0 ) {
618  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit-noise_pl[hid.iphi()][hid.ieta()]);
619  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
620  } else {
621  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit-noise_min[hid.iphi()][abs(hid.ieta())]);
622  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
623  } // eta><0
624  } // depth=1
625  } // HBHE_NS
626 
627 
628 // Signal part for HB HE
629 
630  for(HFRecHitCollection::const_iterator hbheItr=HithfMB.begin(); hbheItr!=HithfMB.end(); hbheItr++)
631  {
632 // Recalibration of energy
633  float icalconst=1.;
634  DetId mydetid = hbheItr->id().rawId();
635  if( theRecalib ) icalconst=myRecalib->getValues(mydetid)->getValue();
636 
637  HFRecHit aHit(hbheItr->id(),hbheItr->energy()*icalconst,hbheItr->time());
638 
639  double energyhit = aHit.energy();
640 
641  DetId id = (*hbheItr).detid();
642  HcalDetId hid=HcalDetId(id);
643 
644  int mysu = ((hid).rawId()>>25)&0x7;
645  if( hid.ieta() > 0 ) {
646  theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl0[mysu][hid.depth()][hid.iphi()][hid.ieta()]+ 1.;
647  theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]+energyhit;
648  theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,2);
649  theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()] = theMBFillDetMapPl4[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow(energyhit,4);
650 
651 
652  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()];
653  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()] =
654  theDFFillDetMapPl2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow((energyhit-tmpNSFillDetMapPl1[mysu][hid.depth()][hid.iphi()][hid.ieta()]),2);
655  } else {
656  theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin0[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+ 1.;
657  theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin1[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+energyhit;
658  theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin2[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,2);
659  theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())] = theMBFillDetMapMin4[mysu][hid.depth()][hid.iphi()][abs(hid.ieta())]+pow(energyhit,4);
660 
661  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()];
662  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()] =
663  theDFFillDetMapMin2[mysu][hid.depth()][hid.iphi()][hid.ieta()]+pow((energyhit-tmpNSFillDetMapMin1[mysu][hid.depth()][hid.iphi()][hid.ieta()]),2);
664  }
665 
666 
667  if(hid.depth() == 1) {
668  if( hid.ieta() > 0 ) {
669  hCalo1[hid.iphi()][hid.ieta()]->Fill(energyhit);
670  hCalo1mom2[hid.iphi()][hid.ieta()]->Fill(pow(energyhit,2));
671  } else {
672  hCalo2[hid.iphi()][abs(hid.ieta())]->Fill(energyhit);
673  hCalo2mom2[hid.iphi()][abs(hid.ieta())]->Fill(pow(energyhit,2));
674  } // eta><0
675  } // depth=1
676  } // HF_MB
677 
678  std::cout<<" Event is finished "<<std::endl;
679 }
#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]
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]
double noise_min[73][43]
TH1F * hCalo1mom2[73][43]
return((rh^lh)&mask)
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
double noise_pl[73][43]
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
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:66
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:355
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]
tuple cout
Definition: gather_cfg.py:41
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 81 of file Analyzer_minbias.cc.

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

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

73 {
74  nevent_run = 0;
75 }
void cms::Analyzer_minbias::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 233 of file Analyzer_minbias.cc.

References gather_cfg::cout, i, j, gen::k, prof2calltree::l, and mathSSE::return().

234 {
235  int ii=0;
236 
237  for (int i=1; i<5;i++)
238  {
239  for (int j=1; j<5;j++)
240  {
241  for (int k=1; k<73;k++)
242  {
243  for (int l=1; l<43;l++)
244  {
245  if(theMBFillDetMapPl0[i][j][k][l] > 0)
246  {
258 
259  mysubd = i;
260  depth = j;
261  ieta = l;
262  iphi = k;
263  cout<<" Result Plus= "<<mysubd<<" "<<ieta<<" "<<iphi<<" mom0 "<<mom0_MB<<" mom1 "<<mom1_MB<<" mom2 "<<mom2_MB<<endl;
264  myTree->Fill();
265  ii++;
266  } // Pl > 0
267 
268 
269  if(theMBFillDetMapMin0[i][j][k][l] > 0)
270  {
282 
283 
284  mysubd = i;
285  depth = j;
286  ieta = -1*l;
287  iphi = k;
288  cout<<" Result Minus= "<<mysubd<<" "<<ieta<<" "<<iphi<<" mom0 "<<mom0_MB<<" mom1 "<<mom1_MB<<" mom2 "<<mom2_MB<<endl;
289  myTree->Fill();
290  ii++;
291 
292  } // Min>0
293  } // ieta
294  } // iphi
295  } // depth
296  } //subd
297 
298 
299 
300  cout<<" Number of cells "<<ii<<endl;
301 
302  hOutputFile->Write() ;
303  hOutputFile->cd();
304  hHBHEsize_vs_run->Write() ;
305  hHFsize_vs_run->Write() ;
306  for(int i=1;i<73;i++){
307  for(int j=1;j<43;j++){
308  hCalo1[i][j]->Write();
309  hCalo2[i][j]->Write();
310  hCalo1mom2[i][j]->Write();
311  hCalo2mom2[i][j]->Write();
312  }
313  }
314 
315 
316  myTree->Write();
317  hOutputFile->Close() ;
318 
319  return ;
320 }
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]
return((rh^lh)&mask)
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:41
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 76 of file Analyzer_minbias.cc.

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

77 {
78  std::cout<<" Runnumber "<<r.run()<<" Nevents "<<nevent_run<<std::endl;
79 }
RunNumber_t run() const
Definition: RunBase.h:44
tuple cout
Definition: gather_cfg.py:41

Member Data Documentation

int cms::Analyzer_minbias::depth
private

Definition at line 80 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::eta
private

Definition at line 81 of file Analyzer_minbias.h.

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

Definition at line 64 of file Analyzer_minbias.h.

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

Definition at line 121 of file Analyzer_minbias.h.

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

Definition at line 125 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.

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

Definition at line 123 of file Analyzer_minbias.h.

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

Definition at line 127 of file Analyzer_minbias.h.

TH2F* cms::Analyzer_minbias::hHBHEsize_vs_run
private

Definition at line 76 of file Analyzer_minbias.h.

TH2F* cms::Analyzer_minbias::hHFsize_vs_run
private

Definition at line 77 of file Analyzer_minbias.h.

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

Definition at line 122 of file Analyzer_minbias.h.

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

Definition at line 126 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 80 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::iphi
private

Definition at line 80 of file Analyzer_minbias.h.

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

Definition at line 88 of file Analyzer_minbias.h.

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

Definition at line 88 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_Diff
private

Definition at line 84 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_MB
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom0_Noise
private

Definition at line 83 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_Diff
private

Definition at line 84 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_MB
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom1_Noise
private

Definition at line 83 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_Diff
private

Definition at line 84 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_MB
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom2_Noise
private

Definition at line 83 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_Diff
private

Definition at line 84 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_MB
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom3_Noise
private

Definition at line 83 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_Diff
private

Definition at line 84 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_MB
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::mom4_Noise
private

Definition at line 83 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::mydet
private

Definition at line 80 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 80 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 93 of file Analyzer_minbias.h.

int cms::Analyzer_minbias::nevent_run
private

Definition at line 79 of file Analyzer_minbias.h.

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

Definition at line 89 of file Analyzer_minbias.h.

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

Definition at line 89 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::occup
private

Definition at line 82 of file Analyzer_minbias.h.

float cms::Analyzer_minbias::phi
private

Definition at line 81 of file Analyzer_minbias.h.

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

Definition at line 117 of file Analyzer_minbias.h.

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

Definition at line 118 of file Analyzer_minbias.h.

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

Definition at line 119 of file Analyzer_minbias.h.

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

Definition at line 114 of file Analyzer_minbias.h.

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

Definition at line 115 of file Analyzer_minbias.h.

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

Definition at line 116 of file Analyzer_minbias.h.

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

Definition at line 99 of file Analyzer_minbias.h.

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

Definition at line 100 of file Analyzer_minbias.h.

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

Definition at line 101 of file Analyzer_minbias.h.

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

Definition at line 102 of file Analyzer_minbias.h.

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

Definition at line 94 of file Analyzer_minbias.h.

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

Definition at line 95 of file Analyzer_minbias.h.

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

Definition at line 96 of file Analyzer_minbias.h.

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

Definition at line 97 of file Analyzer_minbias.h.

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

Definition at line 109 of file Analyzer_minbias.h.

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

Definition at line 110 of file Analyzer_minbias.h.

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

Definition at line 111 of file Analyzer_minbias.h.

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

Definition at line 112 of file Analyzer_minbias.h.

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

Definition at line 104 of file Analyzer_minbias.h.

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

Definition at line 105 of file Analyzer_minbias.h.

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

Definition at line 106 of file Analyzer_minbias.h.

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

Definition at line 107 of file Analyzer_minbias.h.

bool cms::Analyzer_minbias::theRecalib
private

Definition at line 130 of file Analyzer_minbias.h.