#include <DQM/EcalBarrelMonitorTasks/interface/EBClusterTask.h>
Definition at line 20 of file EBClusterTask.h.
EBClusterTask::EBClusterTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 44 of file EBClusterTask.cc.
References BasicClusterCollection_, dqmStore_, EcalRawDataCollection_, EcalRecHitCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), init_, meBCEne_, meBCEneMap_, meBCEneMapProjEta_, meBCEneMapProjPhi_, meBCETMap_, meBCETMapProjEta_, meBCETMapProjPhi_, meBCNum_, meBCNumMap_, meBCNumMapProjEta_, meBCNumMapProjPhi_, meBCSiz_, meBCSizMap_, meBCSizMapProjEta_, meBCSizMapProjPhi_, meInvMassHigh_, meInvMassJPsi_, meInvMassPi0_, meInvMassZ0_, mergeRuns_, mes1s9_, mes9s25_, meSCEne_, meSCNum_, meSCSiz_, prefixME_, and SuperClusterCollection_.
00044 { 00045 00046 init_ = false; 00047 00048 dqmStore_ = Service<DQMStore>().operator->(); 00049 00050 prefixME_ = ps.getUntrackedParameter<string>("prefixME", ""); 00051 00052 enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup", false); 00053 00054 mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns", false); 00055 00056 // parameters... 00057 EcalRawDataCollection_ = ps.getParameter<edm::InputTag>("EcalRawDataCollection"); 00058 BasicClusterCollection_ = ps.getParameter<edm::InputTag>("BasicClusterCollection"); 00059 SuperClusterCollection_ = ps.getParameter<edm::InputTag>("SuperClusterCollection"); 00060 EcalRecHitCollection_ = ps.getParameter<edm::InputTag>("EcalRecHitCollection"); 00061 00062 // histograms... 00063 meBCEne_ = 0; 00064 meBCNum_ = 0; 00065 meBCSiz_ = 0; 00066 00067 meBCEneMap_ = 0; 00068 meBCNumMap_ = 0; 00069 meBCETMap_ = 0; 00070 meBCSizMap_ = 0; 00071 00072 meBCEneMapProjEta_ = 0; 00073 meBCNumMapProjEta_ = 0; 00074 meBCETMapProjEta_ = 0; 00075 meBCSizMapProjEta_ = 0; 00076 00077 meBCEneMapProjPhi_ = 0; 00078 meBCNumMapProjPhi_ = 0; 00079 meBCETMapProjPhi_ = 0; 00080 meBCSizMapProjPhi_ = 0; 00081 00082 meSCEne_ = 0; 00083 meSCNum_ = 0; 00084 meSCSiz_ = 0; 00085 00086 mes1s9_ = 0; 00087 mes9s25_ = 0; 00088 00089 meInvMassPi0_ = 0; 00090 meInvMassJPsi_ = 0; 00091 meInvMassZ0_ = 0; 00092 meInvMassHigh_ = 0; 00093 00094 }
EBClusterTask::~EBClusterTask | ( | ) | [virtual] |
void EBClusterTask::analyze | ( | const edm::Event & | e, | |
const edm::EventSetup & | c | |||
) | [protected, virtual] |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 389 of file EBClusterTask.cc.
References BasicClusterCollection_, EcalDCCHeaderBlock::BEAMH2, EcalDCCHeaderBlock::BEAMH4, EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalClusterTools::e3x3(), EcalClusterTools::e5x5(), EcalBarrel, EcalRawDataCollection_, EcalRecHitCollection_, EcalClusterTools::eMax(), MonitorElement::Fill(), edm::EventSetup::get(), edm::Event::getByLabel(), ievt_, init_, edm::Handle< T >::isValid(), edm::ESHandle< T >::isValid(), meBCEne_, meBCEneMap_, meBCEneMapProjEta_, meBCEneMapProjPhi_, meBCETMap_, meBCETMapProjEta_, meBCETMapProjPhi_, meBCNum_, meBCNumMap_, meBCNumMapProjEta_, meBCNumMapProjPhi_, meBCSiz_, meBCSizMap_, meBCSizMapProjEta_, meBCSizMapProjPhi_, meInvMassHigh_, meInvMassJPsi_, meInvMassPi0_, meInvMassZ0_, mes1s9_, mes9s25_, meSCEne_, meSCNum_, meSCSiz_, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, edm::ESHandle< T >::product(), edm::Handle< T >::product(), setup(), funct::sin(), Numbers::subDet(), sum(), and SuperClusterCollection_.
00389 { 00390 00391 bool enable = false; 00392 00393 Handle<EcalRawDataCollection> dcchs; 00394 00395 if ( e.getByLabel(EcalRawDataCollection_, dcchs) ) { 00396 00397 for ( EcalRawDataCollection::const_iterator dcchItr = dcchs->begin(); dcchItr != dcchs->end(); ++dcchItr ) { 00398 00399 if ( Numbers::subDet( *dcchItr ) != EcalBarrel ) continue; 00400 00401 if ( dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH4 || 00402 dcchItr->getRunType() == EcalDCCHeaderBlock::BEAMH2 ) enable = true; 00403 00404 if ( dcchItr->getRunType() == EcalDCCHeaderBlock::COSMIC || 00405 dcchItr->getRunType() == EcalDCCHeaderBlock::MTCC || 00406 dcchItr->getRunType() == EcalDCCHeaderBlock::COSMICS_GLOBAL || 00407 dcchItr->getRunType() == EcalDCCHeaderBlock::PHYSICS_GLOBAL || 00408 dcchItr->getRunType() == EcalDCCHeaderBlock::COSMICS_LOCAL || 00409 dcchItr->getRunType() == EcalDCCHeaderBlock::PHYSICS_LOCAL ) enable = true; 00410 00411 break; 00412 00413 } 00414 00415 } else { 00416 00417 enable = true; 00418 LogWarning("EBClusterTask") << EcalRawDataCollection_ << " not available"; 00419 00420 } 00421 00422 if ( ! enable ) return; 00423 00424 if ( ! init_ ) this->setup(); 00425 00426 ievt_++; 00427 00428 // --- Barrel Basic Clusters --- 00429 00430 Handle<BasicClusterCollection> pBasicClusters; 00431 00432 if ( e.getByLabel(BasicClusterCollection_, pBasicClusters) ) { 00433 00434 int nbcc = pBasicClusters->size(); 00435 if ( nbcc > 0 ) meBCNum_->Fill(float(nbcc)); 00436 00437 for ( BasicClusterCollection::const_iterator bCluster = pBasicClusters->begin(); bCluster != pBasicClusters->end(); ++bCluster ) { 00438 00439 meBCEne_->Fill(bCluster->energy()); 00440 meBCSiz_->Fill(float(bCluster->getHitsByDetId().size())); 00441 00442 float xphi = bCluster->phi(); 00443 if ( xphi > M_PI*(9-1.5)/9 ) xphi = xphi - M_PI*2; 00444 00445 meBCEneMap_->Fill(xphi, bCluster->eta(), bCluster->energy()); 00446 meBCEneMapProjEta_->Fill(bCluster->eta(), bCluster->energy()); 00447 meBCEneMapProjPhi_->Fill(xphi, bCluster->energy()); 00448 00449 meBCNumMap_->Fill(xphi, bCluster->eta()); 00450 meBCNumMapProjEta_->Fill(bCluster->eta()); 00451 meBCNumMapProjPhi_->Fill(xphi); 00452 00453 meBCSizMap_->Fill(xphi, bCluster->eta(), float(bCluster->getHitsByDetId().size())); 00454 meBCSizMapProjEta_->Fill(bCluster->eta(), float(bCluster->getHitsByDetId().size())); 00455 meBCSizMapProjPhi_->Fill(xphi, float(bCluster->getHitsByDetId().size())); 00456 00457 meBCETMap_->Fill(xphi, bCluster->eta(), float(bCluster->energy()) * sin(bCluster->position().theta())); 00458 meBCETMapProjEta_->Fill(bCluster->eta(), float(bCluster->energy()) * sin(bCluster->position().theta())); 00459 meBCETMapProjPhi_->Fill(xphi, float(bCluster->energy()) * sin(bCluster->position().theta())); 00460 00461 } 00462 00463 } else { 00464 00465 LogWarning("EBClusterTask") << BasicClusterCollection_ << " not available"; 00466 00467 } 00468 00469 00470 // --- Barrel Super Clusters --- 00471 00472 Handle<SuperClusterCollection> pSuperClusters; 00473 00474 if ( e.getByLabel(SuperClusterCollection_, pSuperClusters) ) { 00475 00476 int nscc = pSuperClusters->size(); 00477 if ( nscc > 0 ) meSCNum_->Fill(float(nscc)); 00478 00479 TLorentzVector sc1_p(0,0,0,0); 00480 TLorentzVector sc2_p(0,0,0,0); 00481 00482 for ( SuperClusterCollection::const_iterator sCluster = pSuperClusters->begin(); sCluster != pSuperClusters->end(); ++sCluster ) { 00483 00484 // energy, size 00485 meSCEne_->Fill( sCluster->energy() ); 00486 meSCSiz_->Fill( float(sCluster->clustersSize()) ); 00487 00488 // seed and shapes 00489 edm::Handle< EcalRecHitCollection > pEBRecHits; 00490 e.getByLabel( EcalRecHitCollection_, pEBRecHits ); 00491 if ( pEBRecHits.isValid() ) { 00492 const EcalRecHitCollection *ebRecHits = pEBRecHits.product(); 00493 00494 edm::ESHandle<CaloTopology> pTopology; 00495 c.get<CaloTopologyRecord>().get(pTopology); 00496 if ( pTopology.isValid() ) { 00497 const CaloTopology *topology = pTopology.product(); 00498 00499 BasicClusterRef theSeed = sCluster->seed(); 00500 float eMax = EcalClusterTools::eMax( *theSeed, ebRecHits ); 00501 float e3x3 = EcalClusterTools::e3x3( *theSeed, ebRecHits, topology ); 00502 float e5x5 = EcalClusterTools::e5x5( *theSeed, ebRecHits, topology ); 00503 00504 mes1s9_->Fill( eMax/e3x3 ); 00505 mes9s25_->Fill( e3x3/e5x5 ); 00506 } 00507 else { 00508 LogWarning("EBClusterTask") << "CaloTopology not valid"; 00509 } 00510 } 00511 else { 00512 LogWarning("EBClusterTask") << EcalRecHitCollection_ << " not available"; 00513 } 00514 00515 // look for the two most energetic super clusters 00516 if ( nscc >= 2 ) { 00517 if ( sCluster->energy() > sc1_p.Energy() ) { 00518 sc2_p=sc1_p; 00519 sc1_p.SetPtEtaPhiE(sCluster->energy()*sin(sCluster->position().theta()), 00520 sCluster->eta(), sCluster->phi(), sCluster->energy()); 00521 } else if ( sCluster->energy() > sc2_p.Energy() ) { 00522 sc2_p.SetPtEtaPhiE(sCluster->energy()*sin(sCluster->position().theta()), 00523 sCluster->eta(), sCluster->phi(), sCluster->energy()); 00524 } 00525 } 00526 } 00527 // Get the invariant mass of the two most energetic super clusters 00528 if ( nscc >= 2 ) { 00529 TLorentzVector sum = sc1_p+sc2_p; 00530 float mass = sum.M(); 00531 if ( mass < 0.3 ) { 00532 meInvMassPi0_->Fill( mass ); 00533 } else if ( mass > 2.9 && mass < 3.3 ) { 00534 meInvMassJPsi_->Fill( mass ); 00535 } else if ( mass > 40 && mass < 110 ) { 00536 meInvMassZ0_->Fill( mass ); 00537 } else if ( mass > 110 ) { 00538 meInvMassHigh_->Fill( mass ); 00539 } 00540 } 00541 00542 } else { 00543 00544 LogWarning("EBClusterTask") << SuperClusterCollection_ << " not available"; 00545 00546 } 00547 00548 }
void EBClusterTask::beginJob | ( | const edm::EventSetup & | c | ) | [protected, virtual] |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 100 of file EBClusterTask.cc.
References dqmStore_, ievt_, Numbers::initGeometry(), prefixME_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
00100 { 00101 00102 ievt_ = 0; 00103 00104 if ( dqmStore_ ) { 00105 dqmStore_->setCurrentFolder(prefixME_ + "/EBClusterTask"); 00106 dqmStore_->rmdir(prefixME_ + "/EBClusterTask"); 00107 } 00108 00109 Numbers::initGeometry(c, false); 00110 00111 }
void EBClusterTask::beginRun | ( | const edm::Run & | r, | |
const edm::EventSetup & | c | |||
) | [protected, virtual] |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file EBClusterTask.cc.
References mergeRuns_, and reset().
00113 { 00114 00115 if ( ! mergeRuns_ ) this->reset(); 00116 00117 }
Cleanup.
Definition at line 296 of file EBClusterTask.cc.
References dqmStore_, MonitorElement::getName(), init_, meBCEne_, meBCEneMap_, meBCEneMapProjEta_, meBCEneMapProjPhi_, meBCETMap_, meBCETMapProjEta_, meBCETMapProjPhi_, meBCNum_, meBCNumMap_, meBCNumMapProjEta_, meBCNumMapProjPhi_, meBCSiz_, meBCSizMap_, meBCSizMapProjEta_, meBCSizMapProjPhi_, meInvMassHigh_, meInvMassJPsi_, meInvMassPi0_, meInvMassZ0_, mes1s9_, mes9s25_, meSCEne_, meSCNum_, meSCSiz_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
00296 { 00297 00298 if ( ! init_ ) return; 00299 00300 if ( dqmStore_ ) { 00301 dqmStore_->setCurrentFolder(prefixME_ + "/EBClusterTask"); 00302 00303 if ( meBCEne_ ) dqmStore_->removeElement( meBCEne_->getName() ); 00304 meBCEne_ = 0; 00305 00306 if ( meBCNum_ ) dqmStore_->removeElement( meBCNum_->getName() ); 00307 meBCNum_ = 0; 00308 00309 if ( meBCSiz_ ) dqmStore_->removeElement( meBCSiz_->getName() ); 00310 meBCSiz_ = 0; 00311 00312 if ( meBCEneMap_ ) dqmStore_->removeElement( meBCEneMap_->getName() ); 00313 meBCEneMap_ = 0; 00314 00315 if ( meBCNumMap_ ) dqmStore_->removeElement( meBCNumMap_->getName() ); 00316 meBCNumMap_ = 0; 00317 00318 if ( meBCETMap_ ) dqmStore_->removeElement( meBCETMap_->getName() ); 00319 meBCETMap_ = 0; 00320 00321 if ( meBCSizMap_ ) dqmStore_->removeElement( meBCSizMap_->getName() ); 00322 meBCSizMap_ = 0; 00323 00324 if ( meBCEneMapProjEta_ ) dqmStore_->removeElement( meBCEneMapProjEta_->getName() ); 00325 meBCEneMapProjEta_ = 0; 00326 00327 if ( meBCEneMapProjPhi_ ) dqmStore_->removeElement( meBCEneMapProjPhi_->getName() ); 00328 meBCEneMapProjPhi_ = 0; 00329 00330 if ( meBCNumMapProjEta_ ) dqmStore_->removeElement( meBCNumMapProjEta_->getName() ); 00331 meBCNumMapProjEta_ = 0; 00332 00333 if ( meBCNumMapProjPhi_ ) dqmStore_->removeElement( meBCNumMapProjPhi_->getName() ); 00334 meBCNumMapProjPhi_ = 0; 00335 00336 if ( meBCETMapProjEta_ ) dqmStore_->removeElement( meBCETMapProjEta_->getName() ); 00337 meBCETMapProjEta_ = 0; 00338 00339 if ( meBCETMapProjPhi_ ) dqmStore_->removeElement( meBCETMapProjPhi_->getName() ); 00340 meBCETMapProjPhi_ = 0; 00341 00342 if ( meBCSizMapProjEta_ ) dqmStore_->removeElement( meBCSizMapProjEta_->getName() ); 00343 meBCSizMapProjEta_ = 0; 00344 00345 if ( meBCSizMapProjPhi_ ) dqmStore_->removeElement( meBCSizMapProjPhi_->getName() ); 00346 meBCSizMapProjPhi_ = 0; 00347 00348 if ( meSCEne_ ) dqmStore_->removeElement( meSCEne_->getName() ); 00349 meSCEne_ = 0; 00350 00351 if ( meSCNum_ ) dqmStore_->removeElement( meSCNum_->getName() ); 00352 meSCNum_ = 0; 00353 00354 if ( meSCSiz_ ) dqmStore_->removeElement( meSCSiz_->getName() ); 00355 meSCSiz_ = 0; 00356 00357 if ( mes1s9_ ) dqmStore_->removeElement( mes1s9_->getName() ); 00358 mes1s9_ = 0; 00359 00360 if ( mes9s25_ ) dqmStore_->removeElement( mes9s25_->getName() ); 00361 mes9s25_ = 0; 00362 00363 if ( meInvMassPi0_ ) dqmStore_->removeElement( meInvMassPi0_->getName() ); 00364 meInvMassPi0_ = 0; 00365 00366 if ( meInvMassJPsi_ ) dqmStore_->removeElement( meInvMassJPsi_->getName() ); 00367 meInvMassJPsi_ = 0; 00368 00369 if ( meInvMassZ0_ ) dqmStore_->removeElement( meInvMassZ0_->getName() ); 00370 meInvMassZ0_ = 0; 00371 00372 if ( meInvMassHigh_ ) dqmStore_->removeElement( meInvMassHigh_->getName() ); 00373 meInvMassHigh_ = 0; 00374 00375 } 00376 00377 init_ = false; 00378 00379 }
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 381 of file EBClusterTask.cc.
References cleanup(), enableCleanup_, and ievt_.
00381 { 00382 00383 LogInfo("EBClusterTask") << "analyzed " << ievt_ << " events"; 00384 00385 if ( enableCleanup_ ) this->cleanup(); 00386 00387 }
void EBClusterTask::endRun | ( | const edm::Run & | r, | |
const edm::EventSetup & | c | |||
) | [protected, virtual] |
Reset.
Definition at line 123 of file EBClusterTask.cc.
References meBCEne_, meBCEneMap_, meBCEneMapProjEta_, meBCEneMapProjPhi_, meBCETMap_, meBCETMapProjEta_, meBCETMapProjPhi_, meBCNum_, meBCNumMap_, meBCNumMapProjEta_, meBCNumMapProjPhi_, meBCSiz_, meBCSizMap_, meBCSizMapProjEta_, meBCSizMapProjPhi_, meInvMassHigh_, meInvMassJPsi_, meInvMassPi0_, meInvMassZ0_, mes1s9_, mes9s25_, meSCEne_, meSCNum_, meSCSiz_, and MonitorElement::Reset().
Referenced by beginRun().
00123 { 00124 00125 if ( meBCEne_ ) meBCEne_->Reset(); 00126 00127 if ( meBCNum_ ) meBCNum_->Reset(); 00128 00129 if ( meBCSiz_ ) meBCSiz_->Reset(); 00130 00131 if ( meBCEneMap_ ) meBCEneMap_->Reset(); 00132 00133 if ( meBCNumMap_ ) meBCNumMap_->Reset(); 00134 00135 if ( meBCETMap_ ) meBCETMap_->Reset(); 00136 00137 if ( meBCSizMap_ ) meBCSizMap_->Reset(); 00138 00139 if ( meBCEneMapProjEta_ ) meBCEneMapProjEta_->Reset(); 00140 00141 if ( meBCEneMapProjPhi_ ) meBCEneMapProjPhi_->Reset(); 00142 00143 if ( meBCNumMapProjEta_ ) meBCNumMapProjEta_->Reset(); 00144 00145 if ( meBCNumMapProjPhi_ ) meBCNumMapProjPhi_->Reset(); 00146 00147 if ( meBCETMapProjEta_ ) meBCETMapProjEta_->Reset(); 00148 00149 if ( meBCETMapProjPhi_ ) meBCETMapProjPhi_->Reset(); 00150 00151 if ( meBCSizMapProjEta_ ) meBCSizMapProjEta_->Reset(); 00152 00153 if ( meBCSizMapProjPhi_ ) meBCSizMapProjPhi_->Reset(); 00154 00155 if ( meSCEne_ ) meSCEne_->Reset(); 00156 00157 if ( meSCNum_ ) meSCNum_->Reset(); 00158 00159 if ( meSCSiz_ ) meSCSiz_->Reset(); 00160 00161 if ( mes1s9_ ) mes1s9_->Reset(); 00162 00163 if ( mes9s25_ ) mes9s25_->Reset(); 00164 00165 if ( meInvMassPi0_ ) meInvMassPi0_->Reset(); 00166 00167 if ( meInvMassJPsi_ ) meInvMassJPsi_->Reset(); 00168 00169 if ( meInvMassZ0_ ) meInvMassZ0_->Reset(); 00170 00171 if ( meInvMassHigh_ ) meInvMassHigh_->Reset(); 00172 00173 }
Setup.
Definition at line 175 of file EBClusterTask.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookProfile(), DQMStore::bookProfile2D(), dqmStore_, histo, init_, meBCEne_, meBCEneMap_, meBCEneMapProjEta_, meBCEneMapProjPhi_, meBCETMap_, meBCETMapProjEta_, meBCETMapProjPhi_, meBCNum_, meBCNumMap_, meBCNumMapProjEta_, meBCNumMapProjPhi_, meBCSiz_, meBCSizMap_, meBCSizMapProjEta_, meBCSizMapProjPhi_, meInvMassHigh_, meInvMassJPsi_, meInvMassPi0_, meInvMassZ0_, mes1s9_, mes9s25_, meSCEne_, meSCNum_, meSCSiz_, prefixME_, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
Referenced by analyze().
00175 { 00176 00177 init_ = true; 00178 00179 char histo[200]; 00180 00181 if ( dqmStore_ ) { 00182 dqmStore_->setCurrentFolder(prefixME_ + "/EBClusterTask"); 00183 00184 sprintf(histo, "EBCLT BC energy"); 00185 meBCEne_ = dqmStore_->book1D(histo, histo, 100, 0., 150.); 00186 meBCEne_->setAxisTitle("energy (GeV)", 1); 00187 00188 sprintf(histo, "EBCLT BC number"); 00189 meBCNum_ = dqmStore_->book1D(histo, histo, 100, 0., 100.); 00190 meBCNum_->setAxisTitle("number of clusters", 1); 00191 00192 sprintf(histo, "EBCLT BC size"); 00193 meBCSiz_ = dqmStore_->book1D(histo, histo, 100, 0., 100.); 00194 meBCSiz_->setAxisTitle("cluster size", 1); 00195 00196 sprintf(histo, "EBCLT BC energy map"); 00197 meBCEneMap_ = dqmStore_->bookProfile2D(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 34, -1.479, 1.479, 100, 0., 500., "s"); 00198 meBCEneMap_->setAxisTitle("phi", 1); 00199 meBCEneMap_->setAxisTitle("eta", 2); 00200 00201 sprintf(histo, "EBCLT BC number map"); 00202 meBCNumMap_ = dqmStore_->book2D(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 34, -1.479, 1.479); 00203 meBCNumMap_->setAxisTitle("phi", 1); 00204 meBCNumMap_->setAxisTitle("eta", 2); 00205 00206 sprintf(histo, "EBCLT BC ET map"); 00207 meBCETMap_ = dqmStore_->bookProfile2D(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 34, -1.479, 1.479, 100, 0., 500., "s"); 00208 meBCETMap_->setAxisTitle("phi", 1); 00209 meBCETMap_->setAxisTitle("eta", 2); 00210 00211 sprintf(histo, "EBCLT BC size map"); 00212 meBCSizMap_ = dqmStore_->bookProfile2D(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 34, -1.479, 1.479, 100, 0., 100., "s"); 00213 meBCSizMap_->setAxisTitle("phi", 1); 00214 meBCSizMap_->setAxisTitle("eta", 2); 00215 00216 sprintf(histo, "EBCLT BC energy projection eta"); 00217 meBCEneMapProjEta_ = dqmStore_->bookProfile(histo, histo, 34, -1.479, 1.479, 100, 0., 500., "s"); 00218 meBCEneMapProjEta_->setAxisTitle("eta", 1); 00219 meBCEneMapProjEta_->setAxisTitle("energy (GeV)", 2); 00220 00221 sprintf(histo, "EBCLT BC energy projection phi"); 00222 meBCEneMapProjPhi_ = dqmStore_->bookProfile(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 100, 0., 500., "s"); 00223 meBCEneMapProjPhi_->setAxisTitle("phi", 1); 00224 meBCEneMapProjPhi_->setAxisTitle("energy (GeV)", 2); 00225 00226 sprintf(histo, "EBCLT BC number projection eta"); 00227 meBCNumMapProjEta_ = dqmStore_->book1D(histo, histo, 34, -1.479, 1.479); 00228 meBCNumMapProjEta_->setAxisTitle("eta", 1); 00229 meBCNumMapProjEta_->setAxisTitle("number of clusters", 2); 00230 00231 sprintf(histo, "EBCLT BC number projection phi"); 00232 meBCNumMapProjPhi_ = dqmStore_->book1D(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9); 00233 meBCNumMapProjPhi_->setAxisTitle("phi", 1); 00234 meBCNumMapProjPhi_->setAxisTitle("number of clusters", 2); 00235 00236 sprintf(histo, "EBCLT BC ET projection eta"); 00237 meBCETMapProjEta_ = dqmStore_->bookProfile(histo, histo, 34, -1.479, 1.479, 100, 0., 500., "s"); 00238 meBCETMapProjEta_->setAxisTitle("eta", 1); 00239 meBCETMapProjEta_->setAxisTitle("transverse energy (GeV)", 2); 00240 00241 sprintf(histo, "EBCLT BC ET projection phi"); 00242 meBCETMapProjPhi_ = dqmStore_->bookProfile(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 100, 0., 500., "s"); 00243 meBCETMapProjPhi_->setAxisTitle("phi", 1); 00244 meBCETMapProjPhi_->setAxisTitle("transverse energy (GeV)", 2); 00245 00246 sprintf(histo, "EBCLT BC size projection eta"); 00247 meBCSizMapProjEta_ = dqmStore_->bookProfile(histo, histo, 34, -1.479, 1.479, 100, 0., 100., "s"); 00248 meBCSizMapProjEta_->setAxisTitle("eta", 1); 00249 meBCSizMapProjEta_->setAxisTitle("cluster size", 2); 00250 00251 sprintf(histo, "EBCLT BC size projection phi"); 00252 meBCSizMapProjPhi_ = dqmStore_->bookProfile(histo, histo, 72, -M_PI*(9+1.5)/9, M_PI*(9-1.5)/9, 100, 0., 100., "s"); 00253 meBCSizMapProjPhi_->setAxisTitle("phi", 1); 00254 meBCSizMapProjPhi_->setAxisTitle("cluster size", 2); 00255 00256 sprintf(histo, "EBCLT SC energy"); 00257 meSCEne_ = dqmStore_->book1D(histo, histo, 100, 0., 150.); 00258 meSCEne_->setAxisTitle("energy (GeV)", 1); 00259 00260 sprintf(histo, "EBCLT SC number"); 00261 meSCNum_ = dqmStore_->book1D(histo, histo, 50, 0., 50.); 00262 meSCNum_->setAxisTitle("number of clusters", 1); 00263 00264 sprintf(histo, "EBCLT SC size"); 00265 meSCSiz_ = dqmStore_->book1D(histo, histo, 50, 0., 50.); 00266 meSCSiz_->setAxisTitle("cluster size", 1); 00267 00268 sprintf(histo, "EBCLT s1s9"); 00269 mes1s9_ = dqmStore_->book1D(histo, histo, 50, 0., 1.5); 00270 mes1s9_->setAxisTitle("s1/s9", 1); 00271 00272 sprintf(histo, "EBCLT s9s25"); 00273 mes9s25_ = dqmStore_->book1D(histo, histo, 75, 0., 1.5); 00274 mes9s25_->setAxisTitle("s9/s25", 1); 00275 00276 sprintf(histo, "EBCLT dicluster invariant mass Pi0"); 00277 meInvMassPi0_ = dqmStore_->book1D(histo, histo, 50, 0., 0.300); 00278 meInvMassPi0_->setAxisTitle("mass (GeV)", 1); 00279 00280 sprintf(histo, "EBCLT dicluster invariant mass JPsi"); 00281 meInvMassJPsi_ = dqmStore_->book1D(histo, histo, 50, 2.9, 3.3); 00282 meInvMassJPsi_->setAxisTitle("mass (GeV)", 1); 00283 00284 sprintf(histo, "EBCLT dicluster invariant mass Z0"); 00285 meInvMassZ0_ = dqmStore_->book1D(histo, histo, 50, 40, 110); 00286 meInvMassZ0_->setAxisTitle("mass (GeV)", 1); 00287 00288 sprintf(histo, "EBCLT dicluster invariant mass high"); 00289 meInvMassHigh_ = dqmStore_->book1D(histo, histo, 500, 110, 3000); 00290 meInvMassHigh_->setAxisTitle("mass (GeV)", 1); 00291 00292 } 00293 00294 }
DQMStore* EBClusterTask::dqmStore_ [private] |
Definition at line 60 of file EBClusterTask.h.
Referenced by beginJob(), cleanup(), EBClusterTask(), and setup().
bool EBClusterTask::enableCleanup_ [private] |
int EBClusterTask::ievt_ [private] |
bool EBClusterTask::init_ [private] |
Definition at line 93 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), and setup().
MonitorElement* EBClusterTask::meBCEne_ [private] |
Definition at line 73 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCEneMap_ [private] |
Definition at line 77 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCEneMapProjEta_ [private] |
Definition at line 77 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCEneMapProjPhi_ [private] |
Definition at line 77 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCETMap_ [private] |
Definition at line 79 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCETMapProjEta_ [private] |
Definition at line 79 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCETMapProjPhi_ [private] |
Definition at line 79 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCNum_ [private] |
Definition at line 74 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCNumMap_ [private] |
Definition at line 78 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCNumMapProjEta_ [private] |
Definition at line 78 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCNumMapProjPhi_ [private] |
Definition at line 78 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCSiz_ [private] |
Definition at line 75 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meBCSizMap_ [private] |
Definition at line 80 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCSizMapProjEta_ [private] |
Definition at line 80 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement * EBClusterTask::meBCSizMapProjPhi_ [private] |
Definition at line 80 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meInvMassHigh_ [private] |
Definition at line 91 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meInvMassJPsi_ [private] |
Definition at line 89 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meInvMassPi0_ [private] |
Definition at line 88 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meInvMassZ0_ [private] |
Definition at line 90 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
bool EBClusterTask::mergeRuns_ [private] |
MonitorElement* EBClusterTask::mes1s9_ [private] |
Definition at line 86 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::mes9s25_ [private] |
Definition at line 87 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meSCEne_ [private] |
Definition at line 82 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meSCNum_ [private] |
Definition at line 83 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
MonitorElement* EBClusterTask::meSCSiz_ [private] |
Definition at line 84 of file EBClusterTask.h.
Referenced by analyze(), cleanup(), EBClusterTask(), reset(), and setup().
std::string EBClusterTask::prefixME_ [private] |
Definition at line 62 of file EBClusterTask.h.
Referenced by beginJob(), cleanup(), EBClusterTask(), and setup().