CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
EcalDisplaysByEvent Class Reference

#include <EcalDisplaysByEvent.h>

Inheritance diagram for EcalDisplaysByEvent:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 EcalDisplaysByEvent (const edm::ParameterSet &)
 
 ~EcalDisplaysByEvent () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Types

enum  Ecal2DHistSubDetType {
  EB_FINE = 0, EB_COARSE = 1, EEM_FINE = 2, EEM_COARSE = 3,
  EEP_FINE = 4, EEP_COARSE = 5
}
 

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void deleteEvtByEvtHists ()
 
void drawCanvas (TCanvas *canvas, TH1F *hist1, TH1F *hist2, TH1F *hist3)
 
void drawCanvas (TCanvas *canvas, TH2F *hist1, TH2F *hist2, TH2F *hist3)
 
void drawCanvas (TCanvas *canvas, TH3F *hist1, TH3F *hist2, TH3F *hist3)
 
void drawEELines ()
 
void drawHistos ()
 
void drawTimingErrors (TProfile2D *profile)
 
void endJob () override
 
std::string floatToString (float num)
 
int getEEIndex (EcalElectronicsId elecId)
 
TCanvas * init2DEcalCanvas (std::string canvasName)
 
TH2F * init2DEcalHist (std::string histTypeName, int subDet)
 
TH3F * init3DEcalHist (std::string histTypeName, int dubDet)
 
void initAllEventHistos ()
 
void initEvtByEvtHists (int naiveEvtNum_, int ievt)
 
void initHists (int)
 
std::string intToString (int num)
 
void makeHistos (edm::Handle< EBDigiCollection > ebDigis)
 
void makeHistos (edm::Handle< EcalRecHitCollection > hits)
 
void makeHistos (edm::Handle< EEDigiCollection > eeDigis)
 
TGraph * selectDigi (DetId det, int ievt)
 
void selectHits (edm::Handle< EcalRecHitCollection > hits, int ievt, edm::ESHandle< CaloTopology > caloTopo)
 

Private Attributes

int abscissa [10]
 
TH1F * allFedsTimingHist_
 
TTree * canvasNames_
 
std::map< int, float > crysAndAmplitudesMap_
 
TCanvas * digiOccupancyCanvas_
 
TCanvas * digiOccupancyCanvasAll_
 
TCanvas * digiOccupancyCoarseCanvas_
 
TCanvas * digiOccupancyCoarseCanvasAll_
 
TH2F * digiOccupancyEB_
 
TH2F * digiOccupancyEBAll_
 
TH2F * digiOccupancyEBcoarse_
 
TH2F * digiOccupancyEBcoarseAll_
 
TH2F * digiOccupancyEEM_
 
TH2F * digiOccupancyEEMAll_
 
TH2F * digiOccupancyEEMcoarse_
 
TH2F * digiOccupancyEEMcoarseAll_
 
TH2F * digiOccupancyEEP_
 
TH2F * digiOccupancyEEPAll_
 
TH2F * digiOccupancyEEPcoarse_
 
TH2F * digiOccupancyEEPcoarseAll_
 
edm::InputTag EBDigis_
 
edm::Handle< EBDigiCollectionEBdigisHandle
 
edm::InputTag EBRecHitCollection_
 
const EcalElectronicsMappingecalElectronicsMap_
 
edm::InputTag EEDigis_
 
edm::Handle< EEDigiCollectionEEdigisHandle
 
edm::InputTag EERecHitCollection_
 
TCanvas * energyCanvas_
 
TCanvas * energyCanvasAll_
 
TH1F * energyEB_
 
TH1F * energyEBAll_
 
TH1F * energyEEM_
 
TH1F * energyEEMAll_
 
TH1F * energyEEP_
 
TH1F * energyEEPAll_
 
TCanvas * energyMapCanvas_
 
TCanvas * energyMapCanvasAll_
 
TCanvas * energyMapCoarseCanvas_
 
TCanvas * energyMapCoarseCanvasAll_
 
TH2F * energyMapEB_
 
TH2F * energyMapEBAll_
 
TH2F * energyMapEBcoarse_
 
TH2F * energyMapEBcoarseAll_
 
TH2F * energyMapEEM_
 
TH2F * energyMapEEMAll_
 
TH2F * energyMapEEMcoarse_
 
TH2F * energyMapEEMcoarseAll_
 
TH2F * energyMapEEP_
 
TH2F * energyMapEEPAll_
 
TH2F * energyMapEEPcoarse_
 
TH2F * energyMapEEPcoarseAll_
 
EcalFedMapfedMap_
 
std::map< int, EcalDCCHeaderBlockFEDsAndDCCHeaders_
 
std::map< int, TH1F * > FEDsAndTimingHists_
 
edm::InputTag headerProducer_
 
TTree * histoCanvasNames_
 
std::vector< std::string > * histoCanvasNamesVector
 
double histRangeMax_
 
double histRangeMin_
 
std::set< EBDetIdlistEBChannels
 
std::set< EEDetIdlistEEChannels
 
bool makeDigiGraphs_
 
bool makeEnergyHistos_
 
bool makeOccupancyHistos_
 
bool makeTimingHistos_
 
std::vector< int > maskedChannels_
 
std::vector< std::string > maskedEBs_
 
std::vector< int > maskedFEDs_
 
double minTimingAmp_
 
double minTimingEnergyEB_
 
double minTimingEnergyEE_
 
int naiveEvtNum_
 
std::vector< std::string > * names
 
int ordinate [10]
 
TCanvas * recHitOccupancyCanvas_
 
TCanvas * recHitOccupancyCanvasAll_
 
TCanvas * recHitOccupancyCoarseCanvas_
 
TCanvas * recHitOccupancyCoarseCanvasAll_
 
TH2F * recHitOccupancyEB_
 
TH2F * recHitOccupancyEBAll_
 
TH2F * recHitOccupancyEBcoarse_
 
TH2F * recHitOccupancyEBcoarseAll_
 
TH2F * recHitOccupancyEEM_
 
TH2F * recHitOccupancyEEMAll_
 
TH2F * recHitOccupancyEEMcoarse_
 
TH2F * recHitOccupancyEEMcoarseAll_
 
TH2F * recHitOccupancyEEP_
 
TH2F * recHitOccupancyEEPAll_
 
TH2F * recHitOccupancyEEPcoarse_
 
TH2F * recHitOccupancyEEPcoarseAll_
 
int runNum_
 
std::vector< int > seedCrys_
 
std::map< std::string, int > seedFrequencyMap_
 
int side_
 
double threshold_
 
TCanvas * timingCanvas_
 
TCanvas * timingCanvasAll_
 
TH1F * timingEB_
 
TH1F * timingEBAll_
 
TH1F * timingEEM_
 
TH1F * timingEEMAll_
 
TH1F * timingEEP_
 
TH1F * timingEEPAll_
 
TCanvas * timingMapCanvas_
 
TCanvas * timingMapCanvasAll_
 
TCanvas * timingMapCoarseCanvas_
 
TCanvas * timingMapCoarseCanvasAll_
 
TH3F * timingMapEB_
 
TH3F * timingMapEBAll_
 
TH3F * timingMapEBCoarse_
 
TH3F * timingMapEBCoarseAll_
 
TH3F * timingMapEEM_
 
TH3F * timingMapEEMAll_
 
TH3F * timingMapEEMCoarse_
 
TH3F * timingMapEEMCoarseAll_
 
TH3F * timingMapEEP_
 
TH3F * timingMapEEPAll_
 
TH3F * timingMapEEPCoarse_
 
TH3F * timingMapEEPCoarseAll_
 

Static Private Attributes

static edm::Service< TFileServicefileService
 
static float gainRatio [3] = {1., 2., 12.}
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 62 of file EcalDisplaysByEvent.h.

Member Enumeration Documentation

◆ Ecal2DHistSubDetType

Enumerator
EB_FINE 
EB_COARSE 
EEM_FINE 
EEM_COARSE 
EEP_FINE 
EEP_COARSE 

Definition at line 77 of file EcalDisplaysByEvent.h.

77 { EB_FINE = 0, EB_COARSE = 1, EEM_FINE = 2, EEM_COARSE = 3, EEP_FINE = 4, EEP_COARSE = 5 };

Constructor & Destructor Documentation

◆ EcalDisplaysByEvent()

EcalDisplaysByEvent::EcalDisplaysByEvent ( const edm::ParameterSet iConfig)
explicit

Definition at line 43 of file EcalDisplaysByEvent.cc.

44  : EBRecHitCollection_(iConfig.getParameter<edm::InputTag>("EcalRecHitCollectionEB")),
45  EERecHitCollection_(iConfig.getParameter<edm::InputTag>("EcalRecHitCollectionEE")),
46  EBDigis_(iConfig.getParameter<edm::InputTag>("EBDigiCollection")),
47  EEDigis_(iConfig.getParameter<edm::InputTag>("EEDigiCollection")),
48  headerProducer_(iConfig.getParameter<edm::InputTag>("headerProducer")),
49  runNum_(-1),
50  side_(iConfig.getUntrackedParameter<int>("side", 3)),
51  threshold_(iConfig.getUntrackedParameter<double>("amplitudeThreshold", 0.5)),
52  minTimingAmp_(iConfig.getUntrackedParameter<double>("minimumTimingAmplitude", 0.100)),
53  makeDigiGraphs_(iConfig.getUntrackedParameter<bool>("makeDigiGraphs", false)),
54  makeTimingHistos_(iConfig.getUntrackedParameter<bool>("makeTimingHistos", true)),
55  makeEnergyHistos_(iConfig.getUntrackedParameter<bool>("makeEnergyHistos", true)),
56  makeOccupancyHistos_(iConfig.getUntrackedParameter<bool>("makeOccupancyHistos", true)),
57  histRangeMin_(iConfig.getUntrackedParameter<double>("histogramMinRange", 0.0)),
58  histRangeMax_(iConfig.getUntrackedParameter<double>("histogramMaxRange", 1.8)),
59  minTimingEnergyEB_(iConfig.getUntrackedParameter<double>("minTimingEnergyEB", 0.0)),
60  minTimingEnergyEE_(iConfig.getUntrackedParameter<double>("minTimingEnergyEE", 0.0)) {
61  vector<int> listDefaults;
62  listDefaults.push_back(-1);
63 
64  maskedChannels_ = iConfig.getUntrackedParameter<vector<int> >("maskedChannels", listDefaults);
65  maskedFEDs_ = iConfig.getUntrackedParameter<vector<int> >("maskedFEDs", listDefaults);
66  seedCrys_ = iConfig.getUntrackedParameter<vector<int> >("seedCrys", listDefaults);
67 
68  vector<string> defaultMaskedEBs;
69  defaultMaskedEBs.push_back("none");
70  maskedEBs_ = iConfig.getUntrackedParameter<vector<string> >("maskedEBs", defaultMaskedEBs);
71 
72  fedMap_ = new EcalFedMap();
73 
74  string title1 = "Jitter for all FEDs all events";
75  string name1 = "JitterAllFEDsAllEvents";
76  allFedsTimingHist_ = fileService->make<TH1F>(name1.c_str(), title1.c_str(), 150, -7, 7);
77 
78  // load up the maskedFED list with the proper FEDids
79  if (maskedFEDs_[0] == -1) {
80  //if "actual" EB id given, then convert to FEDid and put in listFEDs_
81  if (maskedEBs_[0] != "none") {
82  maskedFEDs_.clear();
83  for (vector<string>::const_iterator ebItr = maskedEBs_.begin(); ebItr != maskedEBs_.end(); ++ebItr) {
84  maskedFEDs_.push_back(fedMap_->getFedFromSlice(*ebItr));
85  }
86  }
87  }
88 
89  for (int i = 0; i < 10; i++)
90  abscissa[i] = i;
91 
92  naiveEvtNum_ = 0;
93 
95 }

References abscissa, allFedsTimingHist_, fedMap_, fileService, EcalFedMap::getFedFromSlice(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, initAllEventHistos(), TFileService::make(), maskedChannels_, maskedEBs_, maskedFEDs_, naiveEvtNum_, and seedCrys_.

◆ ~EcalDisplaysByEvent()

EcalDisplaysByEvent::~EcalDisplaysByEvent ( )
override

Definition at line 97 of file EcalDisplaysByEvent.cc.

97 {}

Member Function Documentation

◆ analyze()

void EcalDisplaysByEvent::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 111 of file EcalDisplaysByEvent.cc.

111  {
112  // get the headers
113  // (one header for each supermodule)
115  iEvent.getByLabel(headerProducer_, DCCHeaders);
116 
117  for (EcalRawDataCollection::const_iterator headerItr = DCCHeaders->begin(); headerItr != DCCHeaders->end();
118  ++headerItr) {
119  FEDsAndDCCHeaders_[headerItr->id() + 600] = *headerItr;
120  }
121 
122  int ievt = iEvent.id().event();
123  naiveEvtNum_++;
124 
125  if (runNum_ == -1) {
126  runNum_ = iEvent.id().run();
127  canvasNames_ = fileService->make<TTree>("canvasNames", "Names of written canvases");
128  names = new std::vector<string>();
129  canvasNames_->Branch("names", "vector<string>", &names);
130 
131  histoCanvasNames_ = fileService->make<TTree>("histoCanvasNames", "Names of written canvases with histos");
132  histoCanvasNamesVector = new std::vector<string>();
133  histoCanvasNames_->Branch("histoCanvasNamesVector", "vector<string>", &histoCanvasNamesVector);
134  }
135 
136  //We only want the 3x3's for this event...
137  listEBChannels.clear();
138  listEEChannels.clear();
139 
140  //Get hits, digis, caloTopology from event/eventSetup
143  ESHandle<CaloTopology> caloTopo;
144  iSetup.get<CaloTopologyRecord>().get(caloTopo);
145  iEvent.getByLabel(EBRecHitCollection_, EBhits);
146  iEvent.getByLabel(EERecHitCollection_, EEhits);
147  iEvent.getByLabel(EBDigis_, EBdigisHandle);
148  iEvent.getByLabel(EEDigis_, EEdigisHandle);
149 
150  // Initialize histos for this event
152 
153  bool hasEBdigis = false;
154  bool hasEEdigis = false;
155  if (!EBdigisHandle->empty())
156  hasEBdigis = true;
157  if (!EEdigisHandle->empty())
158  hasEEdigis = true;
159 
160  // Produce the digi graphs
161  if (makeDigiGraphs_) {
162  if (hasEBdigis) //if event has digis, it should have hits
163  selectHits(EBhits, ievt, caloTopo);
164  if (hasEEdigis)
165  selectHits(EEhits, ievt, caloTopo);
166  }
167 
168  // Produce the histos
169  if (hasEBdigis) {
171  makeHistos(EBhits);
172  }
173  if (hasEEdigis) {
175  makeHistos(EEhits);
176  }
177 
178  if (hasEBdigis || hasEEdigis)
179  drawHistos();
180 
182 }

References edm::SortedCollection< T, SORT >::begin(), canvasNames_, deleteEvtByEvtHists(), drawHistos(), EBDigis_, EBdigisHandle, EBRecHitCollection_, EEDigis_, EEdigisHandle, EERecHitCollection_, edm::DataFrameContainer::empty(), edm::SortedCollection< T, SORT >::end(), FEDsAndDCCHeaders_, fileService, edm::EventSetup::get(), get, headerProducer_, histoCanvasNames_, histoCanvasNamesVector, iEvent, initEvtByEvtHists(), listEBChannels, listEEChannels, TFileService::make(), makeDigiGraphs_, makeHistos(), naiveEvtNum_, names, runNum_, and selectHits().

◆ beginRun()

void EcalDisplaysByEvent::beginRun ( edm::Run const &  ,
edm::EventSetup const &  c 
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 104 of file EcalDisplaysByEvent.cc.

104  {
106  c.get<EcalMappingRcd>().get(handle);
107  ecalElectronicsMap_ = handle.product();
108 }

References c, ecalElectronicsMap_, get, and patZpeak::handle.

◆ deleteEvtByEvtHists()

void EcalDisplaysByEvent::deleteEvtByEvtHists ( )
private

Definition at line 655 of file EcalDisplaysByEvent.cc.

655  {
656  delete timingEB_;
657  delete timingEEM_;
658  delete timingEEP_;
659  delete timingMapEB_;
660  delete timingMapEEM_;
661  delete timingMapEEP_;
662  delete timingCanvas_;
663  delete timingMapCanvas_;
664  delete energyEB_;
665  delete energyEEM_;
666  delete energyEEP_;
667  delete energyMapEB_;
668  delete energyMapEEM_;
669  delete energyMapEEP_;
670  delete energyMapEBcoarse_;
671  delete energyMapEEMcoarse_;
672  delete energyMapEEPcoarse_;
673  delete energyCanvas_;
674  delete energyMapCanvas_;
675  delete energyMapCoarseCanvas_;
676  delete recHitOccupancyEB_;
677  delete recHitOccupancyEEP_;
678  delete recHitOccupancyEEM_;
682  delete digiOccupancyEB_;
683  delete digiOccupancyEEM_;
684  delete digiOccupancyEEP_;
685  delete digiOccupancyEBcoarse_;
688  delete recHitOccupancyCanvas_;
690  delete digiOccupancyCanvas_;
692 }

References digiOccupancyCanvas_, digiOccupancyCoarseCanvas_, digiOccupancyEB_, digiOccupancyEBcoarse_, digiOccupancyEEM_, digiOccupancyEEMcoarse_, digiOccupancyEEP_, digiOccupancyEEPcoarse_, energyCanvas_, energyEB_, energyEEM_, energyEEP_, energyMapCanvas_, energyMapCoarseCanvas_, energyMapEB_, energyMapEBcoarse_, energyMapEEM_, energyMapEEMcoarse_, energyMapEEP_, energyMapEEPcoarse_, recHitOccupancyCanvas_, recHitOccupancyCoarseCanvas_, recHitOccupancyEB_, recHitOccupancyEBcoarse_, recHitOccupancyEEM_, recHitOccupancyEEMcoarse_, recHitOccupancyEEP_, recHitOccupancyEEPcoarse_, timingCanvas_, timingEB_, timingEEM_, timingEEP_, timingMapCanvas_, timingMapEB_, timingMapEEM_, and timingMapEEP_.

Referenced by analyze().

◆ drawCanvas() [1/3]

void EcalDisplaysByEvent::drawCanvas ( TCanvas *  canvas,
TH1F *  hist1,
TH1F *  hist2,
TH1F *  hist3 
)
private

Definition at line 874 of file EcalDisplaysByEvent.cc.

874  {
875  canvas->Divide(1, 2);
876  canvas->cd(1)->Divide(2, 1);
877  canvas->cd(1)->cd(1);
878  hist1->Draw();
879  canvas->cd(2);
880  hist2->Draw();
881  canvas->cd(1)->cd(2);
882  hist3->Draw();
883  histoCanvasNamesVector->push_back(canvas->GetName());
884  canvas->SetCanvasSize(500, 500);
885  canvas->SetFixedAspectRatio(true);
886  canvas->Write();
887 }

References svgfig::canvas(), and histoCanvasNamesVector.

Referenced by drawHistos(), and endJob().

◆ drawCanvas() [2/3]

void EcalDisplaysByEvent::drawCanvas ( TCanvas *  canvas,
TH2F *  hist1,
TH2F *  hist2,
TH2F *  hist3 
)
private

Definition at line 889 of file EcalDisplaysByEvent.cc.

889  {
890  canvas->Divide(1, 2);
891  canvas->cd(1)->Divide(2, 1);
892  // EEM
893  canvas->cd(1)->cd(1);
894  hist1->Draw("colz");
895  drawEELines();
896  // EB
897  canvas->cd(2);
898  hist2->Draw("colz");
899  hist2->GetXaxis()->SetNdivisions(-18);
900  hist2->GetYaxis()->SetNdivisions(2);
901  canvas->GetPad(2)->SetGridx(1);
902  canvas->GetPad(2)->SetGridy(1);
903  // EEP
904  canvas->cd(1)->cd(2);
905  hist3->Draw("colz");
906  drawEELines();
907  histoCanvasNamesVector->push_back(canvas->GetName());
908  canvas->SetCanvasSize(500, 500);
909  canvas->SetFixedAspectRatio(true);
910  canvas->Write();
911 }

References svgfig::canvas(), drawEELines(), and histoCanvasNamesVector.

◆ drawCanvas() [3/3]

void EcalDisplaysByEvent::drawCanvas ( TCanvas *  canvas,
TH3F *  hist1,
TH3F *  hist2,
TH3F *  hist3 
)
private

Definition at line 913 of file EcalDisplaysByEvent.cc.

913  {
915  canvas->cd();
916  TProfile2D* profile2 = (TProfile2D*)hist2->Project3DProfile("yx");
917  profile2->Draw("colz");
918  drawTimingErrors(profile2);
919  } else {
920  canvas->Divide(1, 2);
921  canvas->cd(1)->Divide(2, 1);
922  // EEM
923  canvas->cd(1)->cd(1);
924  TProfile2D* profile1 = (TProfile2D*)hist1->Project3DProfile("yx");
925  profile1->Draw("colz");
926  drawEELines();
927  // EB
928  canvas->cd(2);
929  TProfile2D* profile2 = (TProfile2D*)hist2->Project3DProfile("yx");
930  profile2->Draw("colz");
931  profile2->GetXaxis()->SetNdivisions(-18);
932  profile2->GetYaxis()->SetNdivisions(2);
933  canvas->GetPad(2)->SetGridx(1);
934  canvas->GetPad(2)->SetGridy(1);
935  // EEP
936  canvas->cd(1)->cd(2);
937  TProfile2D* profile3 = (TProfile2D*)hist3->Project3DProfile("yx");
938  profile3->Draw("colz");
939  drawEELines();
940  }
941  histoCanvasNamesVector->push_back(canvas->GetName());
942  canvas->SetCanvasSize(500, 500);
943  canvas->SetFixedAspectRatio(true);
944  canvas->Write();
945 }

References svgfig::canvas(), drawEELines(), drawTimingErrors(), histoCanvasNamesVector, and timingMapCoarseCanvas_.

◆ drawEELines()

void EcalDisplaysByEvent::drawEELines ( )
private

Definition at line 984 of file EcalDisplaysByEvent.cc.

984  {
985  int ixSectorsEE[202] = {
986  61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 55, 55, 45, 45, 43, 43, 42, 42, 41, 41, 40, 40, 39, 39, 40, 40,
987  41, 41, 42, 42, 43, 43, 45, 45, 55, 55, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 0, 100, 100, 97, 97, 95,
988  95, 92, 92, 87, 87, 85, 85, 80, 80, 75, 75, 65, 65, 60, 60, 40, 40, 35, 35, 25, 25, 20, 20, 15, 15, 13,
989  13, 8, 8, 5, 5, 3, 3, 0, 0, 3, 3, 5, 5, 8, 8, 13, 13, 15, 15, 20, 20, 25, 25, 35, 35, 40,
990  40, 60, 60, 65, 65, 75, 75, 80, 80, 85, 85, 87, 87, 92, 92, 95, 95, 97, 97, 100, 100, 0, 61, 65, 65, 70,
991  70, 80, 80, 90, 90, 92, 0, 61, 65, 65, 90, 90, 97, 0, 57, 60, 60, 65, 65, 70, 70, 75, 75, 80, 80, 0,
992  50, 50, 0, 43, 40, 40, 35, 35, 30, 30, 25, 25, 20, 20, 0, 39, 35, 35, 10, 10, 3, 0, 39, 35, 35, 30,
993  30, 20, 20, 10, 10, 8, 0, 45, 45, 40, 40, 35, 35, 0, 55, 55, 60, 60, 65, 65};
994 
995  int iySectorsEE[202] = {50, 55, 55, 57, 57, 58, 58, 59, 59, 60, 60, 61, 61, 60, 60, 59, 59, 58, 58, 57, 57, 55, 55,
996  45, 45, 43, 43, 42, 42, 41, 41, 40, 40, 39, 39, 40, 40, 41, 41, 42, 42, 43, 43, 45, 45, 50,
997  0, 50, 60, 60, 65, 65, 75, 75, 80, 80, 85, 85, 87, 87, 92, 92, 95, 95, 97, 97, 100, 100, 97,
998  97, 95, 95, 92, 92, 87, 87, 85, 85, 80, 80, 75, 75, 65, 65, 60, 60, 40, 40, 35, 35, 25, 25,
999  20, 20, 15, 15, 13, 13, 8, 8, 5, 5, 3, 3, 0, 0, 3, 3, 5, 5, 8, 8, 13, 13, 15,
1000  15, 20, 20, 25, 25, 35, 35, 40, 40, 50, 0, 45, 45, 40, 40, 35, 35, 30, 30, 25, 25, 0, 50,
1001  50, 55, 55, 60, 60, 0, 60, 60, 65, 65, 70, 70, 75, 75, 85, 85, 87, 0, 61, 100, 0, 60, 60,
1002  65, 65, 70, 70, 75, 75, 85, 85, 87, 0, 50, 50, 55, 55, 60, 60, 0, 45, 45, 40, 40, 35, 35,
1003  30, 30, 25, 25, 0, 39, 30, 30, 15, 15, 5, 0, 39, 30, 30, 15, 15, 5};
1004 
1005  for (int i = 0; i < 202; i++) {
1006  ixSectorsEE[i] += 1;
1007  iySectorsEE[i] += 1;
1008  // std::cout << i << " " << ixSectorsEE[i] << " " << iySectorsEE[i] << std::endl;
1009  }
1010 
1011  TLine l;
1012  l.SetLineWidth(1);
1013  for (int i = 0; i < 201; i = i + 1) {
1014  if ((ixSectorsEE[i] != 1 || iySectorsEE[i] != 1) && (ixSectorsEE[i + 1] != 1 || iySectorsEE[i + 1] != 1)) {
1015  l.DrawLine(ixSectorsEE[i], iySectorsEE[i], ixSectorsEE[i + 1], iySectorsEE[i + 1]);
1016  }
1017  }
1018 }

References mps_fire::i, and cmsLHEtoEOSManager::l.

Referenced by drawCanvas().

◆ drawHistos()

void EcalDisplaysByEvent::drawHistos ( )
private

Definition at line 849 of file EcalDisplaysByEvent.cc.

849  {
850  if (makeTimingHistos_) {
851  // Put the timing canvas together
853  // drawCanvas(timingMapCoarseCanvas_,timingMapEEMCoarse_,timingMapEBCoarse_,timingMapEEPCoarse_);
855  }
856  if (makeEnergyHistos_) {
857  // Put the energy canvas together
859  // Put the energy map canvas together
862  }
863  if (makeOccupancyHistos_) {
864  // Put the occupancy canvas together
866  drawCanvas(
868  // And the same for the digis
871  }
872 }

References digiOccupancyCanvas_, digiOccupancyCoarseCanvas_, digiOccupancyEB_, digiOccupancyEBcoarse_, digiOccupancyEEM_, digiOccupancyEEMcoarse_, digiOccupancyEEP_, digiOccupancyEEPcoarse_, drawCanvas(), energyCanvas_, energyEB_, energyEEM_, energyEEP_, energyMapCanvas_, energyMapCoarseCanvas_, energyMapEB_, energyMapEBcoarse_, energyMapEEM_, energyMapEEMcoarse_, energyMapEEP_, energyMapEEPcoarse_, makeEnergyHistos_, makeOccupancyHistos_, makeTimingHistos_, recHitOccupancyCanvas_, recHitOccupancyCoarseCanvas_, recHitOccupancyEB_, recHitOccupancyEBcoarse_, recHitOccupancyEEM_, recHitOccupancyEEMcoarse_, recHitOccupancyEEP_, recHitOccupancyEEPcoarse_, timingCanvas_, timingEB_, timingEEM_, timingEEP_, timingMapCanvas_, timingMapEB_, timingMapEEM_, and timingMapEEP_.

Referenced by analyze().

◆ drawTimingErrors()

void EcalDisplaysByEvent::drawTimingErrors ( TProfile2D *  profile)
private

Definition at line 947 of file EcalDisplaysByEvent.cc.

947  {
948  int nxb = profile->GetNbinsX();
949  int nyb = profile->GetNbinsY();
950  char tempErr[200];
951  for (int i = 0; i != nxb; ++i) {
952  for (int j = 0; j != nyb; ++j) {
953  int xb = i + 1;
954  int yb = j + 1;
955  // std::cout << "xb: " << xb << "\tyb: " << yb << std::endl;
956  double xcorr = profile->GetBinCenter(xb);
957  double ycorr = profile->GetBinCenter(yb);
958  sprintf(tempErr, "%0.2f", profile->GetBinError(xb, yb));
959  int nBin = profile->GetBin(xb, yb, 0);
960  int nBinEntries = (int)profile->GetBinEntries(nBin);
961  if (nBinEntries != 0) {
962  TLatex* tex = new TLatex(xcorr, ycorr, tempErr);
963  tex->SetTextAlign(23);
964  tex->SetTextSize(42);
965  tex->SetTextSize(0.025);
966  tex->SetLineWidth(2);
967  tex->Draw();
968  delete tex;
969  }
970  sprintf(tempErr, "%i", nBinEntries);
971  if (nBinEntries != 0) {
972  TLatex* tex = new TLatex(xcorr, ycorr, tempErr);
973  tex->SetTextAlign(21);
974  tex->SetTextFont(42);
975  tex->SetTextSize(0.025);
976  tex->SetLineWidth(2);
977  tex->Draw();
978  delete tex;
979  }
980  }
981  }
982 }

References mps_fire::i, createfilelist::int, dqmiolumiharvest::j, PFElectronDQMAnalyzer_cfi::nBin, PostProcessor_cff::profile, and cuy::tex.

Referenced by drawCanvas().

◆ endJob()

void EcalDisplaysByEvent::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 521 of file EcalDisplaysByEvent.cc.

521  {
522  //All-event canvases
534  drawCanvas(
536 
537  if (runNum_ != -1) {
538  canvasNames_->Fill();
539  histoCanvasNames_->Fill();
540  }
541 
542  string frequencies = "";
543  for (std::map<std::string, int>::const_iterator itr = seedFrequencyMap_.begin(); itr != seedFrequencyMap_.end();
544  ++itr) {
545  if (itr->second > 1) {
546  frequencies += itr->first;
547  frequencies += " Frequency: ";
548  frequencies += intToString(itr->second);
549  frequencies += "\n";
550  }
551  }
552  LogWarning("EcalDisplaysByEvent") << "Found seeds with frequency > 1: "
553  << "\n\n"
554  << frequencies;
555 
557  for (std::vector<int>::const_iterator itr = maskedChannels_.begin(); itr != maskedChannels_.end(); ++itr) {
558  channels += intToString(*itr);
559  channels += ",";
560  }
561 
563  for (std::vector<int>::const_iterator itr = maskedFEDs_.begin(); itr != maskedFEDs_.end(); ++itr) {
564  feds += intToString(*itr);
565  feds += ",";
566  }
567 
568  LogWarning("EcalDisplaysByEvent") << "Masked channels are: " << channels;
569  LogWarning("EcalDisplaysByEvent") << "Masked FEDs are: " << feds << " and that is all!";
570 }

References canvasNames_, ewkTauDQM_cfi::channels, digiOccupancyCanvasAll_, digiOccupancyCoarseCanvasAll_, digiOccupancyEBAll_, digiOccupancyEBcoarseAll_, digiOccupancyEEMAll_, digiOccupancyEEMcoarseAll_, digiOccupancyEEPAll_, digiOccupancyEEPcoarseAll_, drawCanvas(), energyCanvasAll_, energyEBAll_, energyEEMAll_, energyEEPAll_, energyMapCanvasAll_, energyMapCoarseCanvasAll_, energyMapEBAll_, energyMapEBcoarseAll_, energyMapEEMAll_, energyMapEEMcoarseAll_, energyMapEEPAll_, energyMapEEPcoarseAll_, l1tstage2emulator_dqm_sourceclient-live_cfg::feds, histoCanvasNames_, intToString(), maskedChannels_, maskedFEDs_, recHitOccupancyCanvasAll_, recHitOccupancyCoarseCanvasAll_, recHitOccupancyEBAll_, recHitOccupancyEBcoarseAll_, recHitOccupancyEEMAll_, recHitOccupancyEEMcoarseAll_, recHitOccupancyEEPAll_, recHitOccupancyEEPcoarseAll_, runNum_, seedFrequencyMap_, AlCaHLTBitMon_QueryRunRegistry::string, timingCanvasAll_, timingEBAll_, timingEEMAll_, timingEEPAll_, timingMapCanvasAll_, timingMapEBAll_, timingMapEEMAll_, and timingMapEEPAll_.

Referenced by o2olib.O2ORunMgr::executeJob().

◆ floatToString()

std::string EcalDisplaysByEvent::floatToString ( float  num)
private

Definition at line 579 of file EcalDisplaysByEvent.cc.

579  {
580  using namespace std;
581  ostringstream myStream;
582  myStream << num << flush;
583  return (myStream.str()); //returns the string form of the stringstream object
584 }

References EgammaValidation_cff::num.

Referenced by selectDigi().

◆ getEEIndex()

int EcalDisplaysByEvent::getEEIndex ( EcalElectronicsId  elecId)
private

Definition at line 351 of file EcalDisplaysByEvent.cc.

351  {
352  int FEDid = 600 + elecId.dccId();
353  return 10000 * FEDid + 100 * elecId.towerId() + 5 * (elecId.stripId() - 1) + elecId.xtalId();
354 }

References EcalElectronicsId::dccId(), EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().

Referenced by selectDigi(), and selectHits().

◆ init2DEcalCanvas()

TCanvas * EcalDisplaysByEvent::init2DEcalCanvas ( std::string  canvasName)
private

Definition at line 844 of file EcalDisplaysByEvent.cc.

844  {
845  TCanvas* canvas = new TCanvas(canvasTitle.c_str(), canvasTitle.c_str(), 300, 60, 500, 200);
846  return canvas;
847 }

References svgfig::canvas().

Referenced by initAllEventHistos(), and initEvtByEvtHists().

◆ init2DEcalHist()

TH2F * EcalDisplaysByEvent::init2DEcalHist ( std::string  histTypeName,
int  subDet 
)
private

Definition at line 804 of file EcalDisplaysByEvent.cc.

804  {
805  TH2F* hist;
806  bool isBarrel = (subDet == EB_FINE || subDet == EB_COARSE) ? true : false;
807  bool isCoarse = (subDet == EB_COARSE || subDet == EEM_COARSE || subDet == EEP_COARSE) ? true : false;
808  bool isEEM = (subDet == EEM_FINE || subDet == EEM_COARSE) ? true : false;
809  std::string histName = histTypeName;
810  std::string histTitle = histTypeName;
811  if (isBarrel) {
812  histName = histName + "EB";
813  histTitle = histTitle + " EB";
814  if (isCoarse) {
815  histName = histName + "Coarse";
816  histTitle = histTitle + " Coarse;iphi;ieta";
817  double ttEtaBins[36] = {-85, -80, -75, -70, -65, -60, -55, -50, -45, -40, -35, -30, -25, -20, -15, -10, -5, 0,
818  1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 86};
819  hist = new TH2F(histName.c_str(), histTitle.c_str(), 360 / 5, 1, 361., 35, ttEtaBins);
820  } else {
821  histTitle = histTitle + ";iphi;ieta";
822  hist = new TH2F(histName.c_str(), histTitle.c_str(), 360, 1, 361., 172, -86, 86);
823  }
824  } else {
825  if (isEEM) {
826  histName = histName + "EEM";
827  histTitle = histTitle + " EEM";
828  } else {
829  histName = histName + "EEP";
830  histTitle = histTitle + " EEP";
831  }
832  if (isCoarse) {
833  histName = histName + "Coarse";
834  histTitle = histTitle + " Coarse;ix;iy";
835  hist = new TH2F(histName.c_str(), histTitle.c_str(), 20, 1, 101, 20, 1, 101);
836  } else {
837  histTitle = histTitle + ";ix;iy";
838  hist = new TH2F(histName.c_str(), histTitle.c_str(), 100, 1, 101, 100, 1, 101);
839  }
840  }
841  return hist;
842 }

References EB_COARSE, EB_FINE, EEM_COARSE, EEM_FINE, EEP_COARSE, gpuVertexFinder::hist, B2GTnPMonitor_cfi::histTitle, PixelPluginsPhase0_cfi::isBarrel, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by initAllEventHistos(), and initEvtByEvtHists().

◆ init3DEcalHist()

TH3F * EcalDisplaysByEvent::init3DEcalHist ( std::string  histTypeName,
int  dubDet 
)
private

Definition at line 744 of file EcalDisplaysByEvent.cc.

744  {
745  TH3F* hist;
746  bool isBarrel = (subDet == EB_FINE || subDet == EB_COARSE) ? true : false;
747  bool isCoarse = (subDet == EB_COARSE || subDet == EEM_COARSE || subDet == EEP_COARSE) ? true : false;
748  bool isEEM = (subDet == EEM_FINE || subDet == EEM_COARSE) ? true : false;
749  std::string histName = histTypeName;
750  std::string histTitle = histTypeName;
751  double ttEtaBins[36] = {-85, -80, -75, -70, -65, -60, -55, -50, -45, -40, -35, -30, -25, -20, -15, -10, -5, 0,
752  1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 86};
753  double modEtaBins[10] = {-85, -65, -45, -25, 0, 1, 26, 46, 66, 86};
754  double ttPhiBins[73];
755  double modPhiBins[19];
756  double timingBins[79];
757  for (int i = 0; i < 79; ++i) {
758  timingBins[i] = 6 - 7. + double(i) * 14. / 78.;
759  if (i < 73) {
760  ttPhiBins[i] = 1 + 5 * i;
761  if (i < 19) {
762  modPhiBins[i] = 1 + 20 * i;
763  }
764  }
765  }
766 
767  if (isBarrel) {
768  histName = histName + "EB";
769  histTitle = histTitle + " EB";
770  if (isCoarse) {
771  histName = histName + "Coarse";
772  histTitle = histTitle + " by Module Nominal value = 6;iphi;ieta ";
773  hist = new TH3F(histName.c_str(), histTitle.c_str(), 18, modPhiBins, 9, modEtaBins, 78, timingBins);
774  } else {
775  histTitle = histTitle + " by TT Nominal value = 6;iphi;ieta";
776  hist = new TH3F(histName.c_str(), histTitle.c_str(), 360 / 5, ttPhiBins, 35, ttEtaBins, 78, timingBins);
777  }
778  } else {
779  double ttXBins[21];
780  double ttYBins[21];
781  for (int i = 0; i != 21; ++i) {
782  ttXBins[i] = 1 + 5 * i;
783  ttYBins[i] = 1 + 5 * i;
784  }
785  if (isEEM) {
786  histName = histName + "EEM";
787  histTitle = histTitle + " EEM";
788  } else {
789  histName = histName + "EEP";
790  histTitle = histTitle + " EEP";
791  }
792  if (isCoarse) {
793  histName = histName + "Coarse";
794  histTitle = histTitle + " by Module Nominal value = 6;ix;iy";
795  hist = new TH3F(histName.c_str(), histTitle.c_str(), 20, ttXBins, 20, ttYBins, 78, timingBins);
796  } else {
797  histTitle = histTitle + " by TT Nominal value = 6;ix;iy";
798  hist = new TH3F(histName.c_str(), histTitle.c_str(), 20, ttXBins, 20, ttYBins, 78, timingBins);
799  }
800  }
801  return hist;
802 }

References EB_COARSE, EB_FINE, EEM_COARSE, EEM_FINE, EEP_COARSE, gpuVertexFinder::hist, B2GTnPMonitor_cfi::histTitle, mps_fire::i, PixelPluginsPhase0_cfi::isBarrel, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by initAllEventHistos(), and initEvtByEvtHists().

◆ initAllEventHistos()

void EcalDisplaysByEvent::initAllEventHistos ( )
private

Definition at line 694 of file EcalDisplaysByEvent.cc.

694  {
695  string canvasTitle = "Timing_AllEvents";
696  timingEBAll_ = new TH1F("timeForAllFedsEBAll", "timeForAllFeds;Relative Time (1 clock = 25ns)", 78, -7, 7);
697  timingEEMAll_ = new TH1F("timeForAllFedsEEMAll", "timeForAllFeds_EEM;Relative Time (1 clock = 25ns)", 78, -7, 7);
698  timingEEPAll_ = new TH1F("timeForAllFedsEEPAll", "timeForAllFeds_EEP;Relative Time (1 clock = 25ns)", 78, -7, 7);
699  timingCanvasAll_ = new TCanvas(canvasTitle.c_str(), canvasTitle.c_str(), 300, 60, 500, 200);
700  timingMapEBAll_ = init3DEcalHist("TimingMapA", EB_FINE);
701  timingMapEEMAll_ = init3DEcalHist("TimingMapA", EEM_FINE);
702  timingMapEEPAll_ = init3DEcalHist("TimingMapA", EEP_FINE);
703  timingMapCanvasAll_ = init2DEcalCanvas("TimingMap_AllEvents");
707  //timingMapCoarseCanvasAll_ = init2DEcalCanvas("TimingMapCoarse_AllEvents");
708  energyEBAll_ = new TH1F("energyEBAllEvents", "Energy for EB Feds (GeV)", 200, histRangeMin_, histRangeMax_);
709  energyEEMAll_ = new TH1F("energyEEMAllEvents", "Energy for EEM Feds (GeV)", 200, histRangeMin_, 10.0);
710  energyEEPAll_ = new TH1F("energyEEPAllEvents", "Energy for EEP Feds (GeV)", 200, histRangeMin_, 10.0);
711  canvasTitle = "Energy_AllEvents";
712  energyCanvasAll_ = new TCanvas(canvasTitle.c_str(), canvasTitle.c_str(), 300, 60, 500, 200);
713 
714  // Energy map hists
715  energyMapEBAll_ = init2DEcalHist("EnergyMapA", EB_FINE);
718  energyMapEEMAll_ = init2DEcalHist("EnergyMapA", EEM_FINE);
720  energyMapEEPAll_ = init2DEcalHist("EnergyMapA", EEP_FINE);
721  energyMapCanvasAll_ = init2DEcalCanvas("EnergyMap_AllEvents");
722  energyMapCoarseCanvasAll_ = init2DEcalCanvas("EnergyMapCoarse_AllEvents");
723  // RecHit Occupancy
724  recHitOccupancyEBAll_ = init2DEcalHist("RecHitOccupancyA", EB_FINE);
727  recHitOccupancyEEMAll_ = init2DEcalHist("RecHitOccupancyA", EEM_FINE);
729  recHitOccupancyEEPAll_ = init2DEcalHist("RecHitOccupancyA", EEP_FINE);
730  recHitOccupancyCanvasAll_ = init2DEcalCanvas("RecHitOccupancy_AllEvents");
731  recHitOccupancyCoarseCanvasAll_ = init2DEcalCanvas("RecHitOccupancyCoarse_AllEvents");
732 
733  //DigiOccupancy
734  digiOccupancyEBAll_ = init2DEcalHist("DigiOccupancyA", EB_FINE);
737  digiOccupancyEEMAll_ = init2DEcalHist("DigiOccupancyA", EEM_FINE);
739  digiOccupancyEEPAll_ = init2DEcalHist("DigiOccupancyA", EEP_FINE);
740  digiOccupancyCanvasAll_ = init2DEcalCanvas("DigiOccupancy_AllEvents");
741  digiOccupancyCoarseCanvasAll_ = init2DEcalCanvas("DigiOccupancyCoarse_AllEvents");
742 }

References digiOccupancyCanvasAll_, digiOccupancyCoarseCanvasAll_, digiOccupancyEBAll_, digiOccupancyEBcoarseAll_, digiOccupancyEEMAll_, digiOccupancyEEMcoarseAll_, digiOccupancyEEPAll_, digiOccupancyEEPcoarseAll_, EB_COARSE, EB_FINE, EEM_COARSE, EEM_FINE, EEP_COARSE, EEP_FINE, energyCanvasAll_, energyEBAll_, energyEEMAll_, energyEEPAll_, energyMapCanvasAll_, energyMapCoarseCanvasAll_, energyMapEBAll_, energyMapEBcoarseAll_, energyMapEEMAll_, energyMapEEMcoarseAll_, energyMapEEPAll_, energyMapEEPcoarseAll_, histRangeMax_, histRangeMin_, init2DEcalCanvas(), init2DEcalHist(), init3DEcalHist(), recHitOccupancyCanvasAll_, recHitOccupancyCoarseCanvasAll_, recHitOccupancyEBAll_, recHitOccupancyEBcoarseAll_, recHitOccupancyEEMAll_, recHitOccupancyEEMcoarseAll_, recHitOccupancyEEPAll_, recHitOccupancyEEPcoarseAll_, timingCanvasAll_, timingEBAll_, timingEEMAll_, timingEEPAll_, timingMapCanvasAll_, timingMapEBAll_, timingMapEBCoarseAll_, timingMapEEMAll_, timingMapEEMCoarseAll_, timingMapEEPAll_, and timingMapEEPCoarseAll_.

Referenced by EcalDisplaysByEvent().

◆ initEvtByEvtHists()

void EcalDisplaysByEvent::initEvtByEvtHists ( int  naiveEvtNum_,
int  ievt 
)
private

Definition at line 598 of file EcalDisplaysByEvent.cc.

598  {
599  string lastPart = intToString(naiveEvtNum_) + "_LV1a" + intToString(ievt);
600  if (makeTimingHistos_) {
601  string canvasTitle = "Timing_Event" + lastPart;
602  timingEB_ = new TH1F("timeForAllFedsEB", "timeForAllFeds;Relative Time (1 clock = 25ns)", 78, -7, 7);
603  timingEEM_ = new TH1F("timeForAllFedsEEM", "timeForAllFeds_EEM;Relative Time (1 clock = 25ns)", 78, -7, 7);
604  timingEEP_ = new TH1F("timeForAllFedsEEP", "timeForAllFeds_EEP;Relative Time (1 clock = 25ns)", 78, -7, 7);
605  timingCanvas_ = new TCanvas(canvasTitle.c_str(), canvasTitle.c_str(), 300, 60, 500, 200);
606  timingMapEB_ = init3DEcalHist("TimingMap", EB_FINE);
607  timingMapEEM_ = init3DEcalHist("TimingMap", EEM_FINE);
608  timingMapEEP_ = init3DEcalHist("TimingMap", EEP_FINE);
609  timingMapCanvas_ = init2DEcalCanvas("TimingMap_Event" + lastPart);
610  //timingMapEBCoarse_ = init3DEcalHist("TimingMap", EB_COARSE);
613  //timingMapCoarseCanvas_ = init2DEcalCanvas("TimingMapCoarse_Event"+lastPart);
614  }
615  if (makeEnergyHistos_) {
616  energyEB_ = new TH1F("energyEB", "Energy for EB Feds (GeV)", 200, histRangeMin_, histRangeMax_);
617  energyEEM_ = new TH1F("energyEEM", "Energy for EEM Feds (GeV)", 200, histRangeMin_, 10.0);
618  energyEEP_ = new TH1F("energyEEP", "Energy for EEP Feds (GeV)", 200, histRangeMin_, 10.0);
619  string canvasTitle = "Energy_Event" + lastPart;
620  energyCanvas_ = new TCanvas(canvasTitle.c_str(), canvasTitle.c_str(), 300, 60, 500, 200);
621 
622  // Energy map hists
623  energyMapEB_ = init2DEcalHist("EnergyMap", EB_FINE);
626  energyMapEEM_ = init2DEcalHist("EnergyMap", EEM_FINE);
628  energyMapEEP_ = init2DEcalHist("EnergyMap", EEP_FINE);
629  energyMapCanvas_ = init2DEcalCanvas("EnergyMap_Event" + lastPart);
630  energyMapCoarseCanvas_ = init2DEcalCanvas("EnergyMapCoarse_Event" + lastPart);
631  }
632  if (makeOccupancyHistos_) {
633  // RecHit Occupancy
634  recHitOccupancyEB_ = init2DEcalHist("RecHitOccupancy", EB_FINE);
635  recHitOccupancyEBcoarse_ = init2DEcalHist("RecHitOccupancy", EB_COARSE);
637  recHitOccupancyEEM_ = init2DEcalHist("RecHitOccupancy", EEM_FINE);
639  recHitOccupancyEEP_ = init2DEcalHist("RecHitOccupancy", EEP_FINE);
640  recHitOccupancyCanvas_ = init2DEcalCanvas("RecHitOccupancy_Event" + lastPart);
641  recHitOccupancyCoarseCanvas_ = init2DEcalCanvas("RecHitOccupancyCoarse_Event" + lastPart);
642 
643  //DigiOccupancy
644  digiOccupancyEB_ = init2DEcalHist("DigiOccupancy", EB_FINE);
645  digiOccupancyEBcoarse_ = init2DEcalHist("DigiOccupancy", EB_COARSE);
647  digiOccupancyEEM_ = init2DEcalHist("DigiOccupancy", EEM_FINE);
649  digiOccupancyEEP_ = init2DEcalHist("DigiOccupancy", EEP_FINE);
650  digiOccupancyCanvas_ = init2DEcalCanvas("DigiOccupancy_Event" + lastPart);
651  digiOccupancyCoarseCanvas_ = init2DEcalCanvas("DigiOccupancyCoarse_Event" + lastPart);
652  }
653 }

References digiOccupancyCanvas_, digiOccupancyCoarseCanvas_, digiOccupancyEB_, digiOccupancyEBcoarse_, digiOccupancyEEM_, digiOccupancyEEMcoarse_, digiOccupancyEEP_, digiOccupancyEEPcoarse_, EB_COARSE, EB_FINE, EEM_COARSE, EEM_FINE, EEP_COARSE, EEP_FINE, energyCanvas_, energyEB_, energyEEM_, energyEEP_, energyMapCanvas_, energyMapCoarseCanvas_, energyMapEB_, energyMapEBcoarse_, energyMapEEM_, energyMapEEMcoarse_, energyMapEEP_, energyMapEEPcoarse_, histRangeMax_, histRangeMin_, init2DEcalCanvas(), init2DEcalHist(), init3DEcalHist(), intToString(), makeEnergyHistos_, makeOccupancyHistos_, makeTimingHistos_, naiveEvtNum_, recHitOccupancyCanvas_, recHitOccupancyCoarseCanvas_, recHitOccupancyEB_, recHitOccupancyEBcoarse_, recHitOccupancyEEM_, recHitOccupancyEEMcoarse_, recHitOccupancyEEP_, recHitOccupancyEEPcoarse_, timingCanvas_, timingEB_, timingEEM_, timingEEP_, timingMapCanvas_, timingMapEB_, timingMapEEM_, timingMapEEMCoarse_, timingMapEEP_, and timingMapEEPCoarse_.

Referenced by analyze().

◆ initHists()

void EcalDisplaysByEvent::initHists ( int  FED)
private

Definition at line 587 of file EcalDisplaysByEvent.cc.

587  {
588  using namespace std;
589 
590  string title1 = "Jitter for ";
591  title1.append(fedMap_->getSliceFromFed(FED));
592  string name1 = "JitterFED";
593  name1.append(intToString(FED));
594  TH1F* timingHist = fileService->make<TH1F>(name1.c_str(), title1.c_str(), 150, -7, 7);
595  FEDsAndTimingHists_[FED] = timingHist;
596 }

References fedMap_, FEDsAndTimingHists_, fileService, EcalFedMap::getSliceFromFed(), intToString(), and TFileService::make().

Referenced by makeHistos().

◆ intToString()

std::string EcalDisplaysByEvent::intToString ( int  num)
private

Definition at line 572 of file EcalDisplaysByEvent.cc.

572  {
573  using namespace std;
574  ostringstream myStream;
575  myStream << num << flush;
576  return (myStream.str()); //returns the string form of the stringstream object
577 }

References EgammaValidation_cff::num.

Referenced by endJob(), initEvtByEvtHists(), initHists(), selectDigi(), and selectHits().

◆ makeHistos() [1/3]

void EcalDisplaysByEvent::makeHistos ( edm::Handle< EBDigiCollection ebDigis)
private

Definition at line 356 of file EcalDisplaysByEvent.cc.

356  {
357  const EBDigiCollection* ebDigis = ebDigiHandle.product();
358  for (EBDigiCollection::const_iterator digiItr = ebDigis->begin(); digiItr != ebDigis->end(); ++digiItr) {
359  EBDetId digiId = digiItr->id();
360  int ieta = digiId.ieta();
361  int iphi = digiId.iphi();
362  digiOccupancyEBAll_->Fill(iphi, ieta);
364  if (makeOccupancyHistos_) {
365  digiOccupancyEB_->Fill(iphi, ieta);
367  }
368  }
369 }

References edm::DataFrameContainer::begin(), digiOccupancyEB_, digiOccupancyEBAll_, digiOccupancyEBcoarse_, digiOccupancyEBcoarseAll_, edm::DataFrameContainer::end(), EBDetId::ieta(), LEDCalibrationChannels::ieta, EBDetId::iphi(), LEDCalibrationChannels::iphi, makeOccupancyHistos_, and edm::Handle< T >::product().

Referenced by analyze().

◆ makeHistos() [2/3]

void EcalDisplaysByEvent::makeHistos ( edm::Handle< EcalRecHitCollection hits)
private

Definition at line 401 of file EcalDisplaysByEvent.cc.

401  {
402  for (EcalRecHitCollection::const_iterator hitItr = hits->begin(); hitItr != hits->end(); ++hitItr) {
403  EcalRecHit hit = (*hitItr);
404  DetId det = hit.id();
406  int FEDid = 600 + elecId.dccId();
407  bool isBarrel = true;
408  bool isEEM = false;
409  if (FEDid < 610 || FEDid > 645) {
410  isBarrel = false;
411  if (FEDid < 610)
412  isEEM = true;
413  }
414  int iphi = isBarrel ? ((EBDetId)det).iphi() : ((EEDetId)det).ix();
415  int ieta = isBarrel ? ((EBDetId)det).ieta() : ((EEDetId)det).iy();
416  float energy = hit.energy();
417  float time = hit.time();
418 
419  // Fill energy histos
420  if (makeEnergyHistos_) {
421  if (isBarrel) {
422  energyEB_->Fill(energy);
423  energyMapEB_->Fill(iphi, ieta, energy);
425  } else if (isEEM) {
426  energyEEM_->Fill(energy);
427  energyMapEEM_->Fill(iphi, ieta, energy);
429  } else {
430  energyEEP_->Fill(energy);
431  energyMapEEP_->Fill(iphi, ieta, energy);
433  }
434  }
435  // Fill occupancy histos
436  if (makeOccupancyHistos_) {
437  if (isBarrel) {
438  recHitOccupancyEB_->Fill(iphi, ieta);
440  } else if (isEEM) {
441  recHitOccupancyEEM_->Fill(iphi, ieta);
443  } else {
444  recHitOccupancyEEP_->Fill(iphi, ieta);
446  }
447  }
448 
449  // Fill timing histos
450  if (makeTimingHistos_) {
451  if (isBarrel) {
452  timingEB_->Fill(time);
453  if (energy > minTimingEnergyEB_) {
454  timingMapEB_->Fill(iphi, ieta, time);
455  //timingMapEBCoarse_->Fill(iphi,ieta,time);
456  }
457  } else if (isEEM) {
458  timingEEM_->Fill(time);
459  if (energy > minTimingEnergyEE_) {
460  timingMapEEM_->Fill(iphi, ieta, time);
461  //timingMapEEMCoarse_->Fill(iphi,ieta,time);
462  }
463  } else {
464  timingEEP_->Fill(time);
465  if (energy > minTimingEnergyEE_) {
466  timingMapEEP_->Fill(iphi, ieta, time);
467  //timingMapEEPCoarse_->Fill(iphi,ieta,time);
468  }
469  }
470  }
471 
472  //All events
473  if (isBarrel) {
474  energyEBAll_->Fill(energy);
475  energyMapEBAll_->Fill(iphi, ieta, energy);
479  timingEBAll_->Fill(time);
480  if (energy > minTimingEnergyEB_) {
481  timingMapEBAll_->Fill(iphi, ieta, time);
483  }
484  } else if (isEEM) {
485  energyEEMAll_->Fill(energy);
486  energyMapEEMAll_->Fill(iphi, ieta, energy);
490  timingEEMAll_->Fill(time);
491  if (energy > minTimingEnergyEE_) {
492  timingMapEEMAll_->Fill(iphi, ieta, time);
494  }
495  } else {
496  energyEEPAll_->Fill(energy);
497  energyMapEEPAll_->Fill(iphi, ieta, energy);
501  timingEEPAll_->Fill(time);
502  if (energy > minTimingEnergyEE_) {
503  timingMapEEPAll_->Fill(iphi, ieta, time);
505  }
506  }
507  // Fill FED-by-FED timing histos (all events)
508  TH1F* timingHist = FEDsAndTimingHists_[FEDid];
509  if (timingHist == nullptr) {
510  initHists(FEDid);
511  timingHist = FEDsAndTimingHists_[FEDid];
512  }
513  if (energy > minTimingAmp_) {
514  timingHist->Fill(hit.time());
515  allFedsTimingHist_->Fill(hit.time());
516  }
517  }
518 }

References allFedsTimingHist_, EcalElectronicsId::dccId(), ecalElectronicsMap_, HCALHighEnergyHPDFilter_cfi::energy, energyEB_, energyEBAll_, energyEEM_, energyEEMAll_, energyEEP_, energyEEPAll_, energyMapEB_, energyMapEBAll_, energyMapEBcoarse_, energyMapEBcoarseAll_, energyMapEEM_, energyMapEEMAll_, energyMapEEMcoarse_, energyMapEEMcoarseAll_, energyMapEEP_, energyMapEEPAll_, energyMapEEPcoarse_, energyMapEEPcoarseAll_, FEDsAndTimingHists_, EcalElectronicsMapping::getElectronicsId(), hfClusterShapes_cfi::hits, hit::id, LEDCalibrationChannels::ieta, initHists(), LEDCalibrationChannels::iphi, PixelPluginsPhase0_cfi::isBarrel, makeEnergyHistos_, makeOccupancyHistos_, makeTimingHistos_, minTimingAmp_, minTimingEnergyEB_, minTimingEnergyEE_, recHitOccupancyEB_, recHitOccupancyEBAll_, recHitOccupancyEBcoarse_, recHitOccupancyEBcoarseAll_, recHitOccupancyEEM_, recHitOccupancyEEMAll_, recHitOccupancyEEMcoarse_, recHitOccupancyEEMcoarseAll_, recHitOccupancyEEP_, recHitOccupancyEEPAll_, recHitOccupancyEEPcoarse_, recHitOccupancyEEPcoarseAll_, protons_cff::time, timingEB_, timingEBAll_, timingEEM_, timingEEMAll_, timingEEP_, timingEEPAll_, timingMapEB_, timingMapEBAll_, timingMapEBCoarseAll_, timingMapEEM_, timingMapEEMAll_, timingMapEEMCoarseAll_, timingMapEEP_, timingMapEEPAll_, and timingMapEEPCoarseAll_.

◆ makeHistos() [3/3]

void EcalDisplaysByEvent::makeHistos ( edm::Handle< EEDigiCollection eeDigis)
private

Definition at line 371 of file EcalDisplaysByEvent.cc.

371  {
372  const EEDigiCollection* eeDigis = eeDigiHandle.product();
373  for (EEDigiCollection::const_iterator digiItr = eeDigis->begin(); digiItr != eeDigis->end(); ++digiItr) {
374  DetId det = digiItr->id();
376  size_t FEDid = 600 + elecId.dccId();
377  bool isEEM = false;
378  if (FEDid < 610)
379  isEEM = true;
380  EEDetId digiId = digiItr->id();
381  int ieta = digiId.iy();
382  int iphi = digiId.ix();
383  if (isEEM) {
386  if (makeOccupancyHistos_) {
388  digiOccupancyEEM_->Fill(iphi, ieta);
389  }
390  } else {
393  if (makeOccupancyHistos_) {
394  digiOccupancyEEP_->Fill(iphi, ieta);
396  }
397  }
398  }
399 }

References EcalElectronicsId::dccId(), digiOccupancyEEM_, digiOccupancyEEMAll_, digiOccupancyEEMcoarse_, digiOccupancyEEMcoarseAll_, digiOccupancyEEP_, digiOccupancyEEPAll_, digiOccupancyEEPcoarse_, digiOccupancyEEPcoarseAll_, ecalElectronicsMap_, SimL1EmulatorDM_cff::eeDigis, EcalElectronicsMapping::getElectronicsId(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EEDetId::ix(), EEDetId::iy(), makeOccupancyHistos_, and edm::Handle< T >::product().

◆ selectDigi()

TGraph * EcalDisplaysByEvent::selectDigi ( DetId  det,
int  ievt 
)
private

Definition at line 250 of file EcalDisplaysByEvent.cc.

250  {
251  int emptyY[10];
252  for (int i = 0; i < 10; i++)
253  emptyY[i] = 0;
254  TGraph* emptyGraph = fileService->make<TGraph>(10, abscissa, emptyY);
255  emptyGraph->SetTitle("NOT ECAL");
256 
257  //If the DetId is not from Ecal, return
258  if (thisDet.det() != DetId::Ecal)
259  return emptyGraph;
260 
261  emptyGraph->SetTitle("NO DIGIS");
262  //find digi we need -- can't get find() to work; need DataFrame(DetId det) to work?
264  int FEDid = 600 + elecId.dccId();
265  bool isBarrel = true;
266  if (FEDid < 610 || FEDid > 645)
267  isBarrel = false;
268  int cryIndex = isBarrel ? ((EBDetId)thisDet).hashedIndex() : getEEIndex(elecId);
269  int ic = isBarrel ? ((EBDetId)thisDet).ic() : cryIndex;
270 
271  string sliceName = fedMap_->getSliceFromFed(FEDid);
273  if (isBarrel) {
275  while (digiItr != EBdigisHandle->end() && ((*digiItr).id() != (EBDetId)thisDet)) {
276  ++digiItr;
277  }
278  if (digiItr == EBdigisHandle->end()) {
279  //LogWarning("EcalDisplaysByEvent") << "Cannot find digi for ic:" << ic
280  // << " FED:" << FEDid << " evt:" << naiveEvtNum_;
281  return emptyGraph;
282  } else
283  df = *digiItr;
284  } else {
286  while (digiItr != EEdigisHandle->end() && ((*digiItr).id() != (EEDetId)thisDet)) {
287  ++digiItr;
288  }
289  if (digiItr == EEdigisHandle->end()) {
290  //LogWarning("EcalDisplaysByEvent") << "Cannot find digi for ic:" << ic
291  // << " FED:" << FEDid << " evt:" << naiveEvtNum_;
292  return emptyGraph;
293  } else
294  df = *digiItr;
295  }
296 
297  int gainId = FEDsAndDCCHeaders_[FEDid].getMgpaGain();
298  int gainHuman;
299  if (gainId == 1)
300  gainHuman = 12;
301  else if (gainId == 2)
302  gainHuman = 6;
303  else if (gainId == 3)
304  gainHuman = 1;
305  else
306  gainHuman = -1;
307 
308  double pedestal = 200;
309 
310  emptyGraph->SetTitle("FIRST TWO SAMPLES NOT GAIN12");
311  if (df.sample(0).gainId() != 1 || df.sample(1).gainId() != 1)
312  return emptyGraph; //goes to the next digi
313  else {
314  ordinate[0] = df.sample(0).adc();
315  ordinate[1] = df.sample(1).adc();
316  pedestal = (double)(ordinate[0] + ordinate[1]) / (double)2;
317  }
318 
319  for (int i = 0; i < df.size(); ++i) {
320  if (df.sample(i).gainId() != 0)
321  ordinate[i] = (int)(pedestal + (df.sample(i).adc() - pedestal) * gainRatio[df.sample(i).gainId() - 1]);
322  else
323  ordinate[i] = 49152; //Saturation of gain1
324  }
325 
326  TGraph* oneGraph = fileService->make<TGraph>(10, abscissa, ordinate);
327  string name = "Graph_ev" + intToString(naiveEvtNum_) + "_ic" + intToString(ic) + "_FED" + intToString(FEDid);
328  string gainString = (gainId == 1) ? "Free" : intToString(gainHuman);
329  string title = "Event" + intToString(naiveEvtNum_) + "_lv1a" + intToString(ievt) + "_ic" + intToString(ic) + "_" +
330  sliceName + "_gain" + gainString;
331 
332  float energy = 0;
333  map<int, float>::const_iterator itr;
334  itr = crysAndAmplitudesMap_.find(cryIndex);
335  if (itr != crysAndAmplitudesMap_.end()) {
336  //edm::LogWarning("EcalDisplaysByEvent")<< "itr->second(ampli)="<< itr->second;
337  energy = (float)itr->second;
338  }
339  //else
340  //edm::LogWarning("EcalDisplaysByEvent") << "cry " << ic << "not found in ampMap";
341 
342  title += "_Energy" + floatToString(round(energy * 1000));
343 
344  oneGraph->SetTitle(title.c_str());
345  oneGraph->SetName(name.c_str());
346  oneGraph->GetXaxis()->SetTitle("sample");
347  oneGraph->GetYaxis()->SetTitle("ADC");
348  return oneGraph;
349 }

References abscissa, edm::DataFrameContainer::begin(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), hgcalPerformanceValidation::df, EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, edm::DataFrameContainer::end(), HCALHighEnergyHPDFilter_cfi::energy, fedMap_, FEDsAndDCCHeaders_, fileService, dqmMemoryStats::float, floatToString(), ecalLiteDTU::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), mps_fire::i, intToString(), PixelPluginsPhase0_cfi::isBarrel, TFileService::make(), naiveEvtNum_, Skims_PA_cff::name, ordinate, EcalCondDBWriter_cfi::pedestal, and runGCPTkAlMap::title.

Referenced by selectHits().

◆ selectHits()

void EcalDisplaysByEvent::selectHits ( edm::Handle< EcalRecHitCollection hits,
int  ievt,
edm::ESHandle< CaloTopology caloTopo 
)
private

Definition at line 184 of file EcalDisplaysByEvent.cc.

184  {
185  for (EcalRecHitCollection::const_iterator hitItr = hits->begin(); hitItr != hits->end(); ++hitItr) {
186  EcalRecHit hit = (*hitItr);
187  DetId det = hit.id();
189  int FEDid = 600 + elecId.dccId();
190  bool isBarrel = true;
191  if (FEDid < 610 || FEDid > 645)
192  isBarrel = false;
193  int cryIndex = isBarrel ? ((EBDetId)det).hashedIndex() : getEEIndex(elecId);
194  int ic = isBarrel ? ((EBDetId)det).ic() : getEEIndex(elecId);
195 
196  float ampli = hit.energy();
197 
198  vector<int>::iterator result;
199  result = find(maskedFEDs_.begin(), maskedFEDs_.end(), FEDid);
200  if (result != maskedFEDs_.end()) {
201  //LogWarning("EcalDisplaysByEvent") << "skipping uncalRecHit for FED " << FEDid << " ; amplitude " << ampli;
202  continue;
203  }
204  result = find(maskedChannels_.begin(), maskedChannels_.end(), cryIndex);
205  if (result != maskedChannels_.end()) {
206  //LogWarning("EcalDisplaysByEvent") << "skipping uncalRecHit for channel: " << cryIndex << " in fed: " << FEDid << " with amplitude " << ampli ;
207  continue;
208  }
209  bool cryIsInList = false;
210  result = find(seedCrys_.begin(), seedCrys_.end(), cryIndex);
211  if (result != seedCrys_.end())
212  cryIsInList = true;
213 
214  // Either we must have a user-requested cry (in which case there is no amplitude selection)
215  // Or we pick all crys that pass the amplitude cut (in which case there is no fixed crystal selection)
216  if (cryIsInList || (seedCrys_.empty() && ampli > threshold_)) {
217  // We have a winner!
218  crysAndAmplitudesMap_[cryIndex] = ampli;
219  string name = "Digis_Event" + intToString(naiveEvtNum_) + "_ic" + intToString(ic) + "_FED" + intToString(FEDid);
220  string title = "Digis";
221  string seed = "ic" + intToString(ic) + "_FED" + intToString(FEDid);
222  int freq = 1;
223  pair<map<string, int>::iterator, bool> pair = seedFrequencyMap_.insert(make_pair(seed, freq));
224  if (!pair.second) {
225  ++(pair.first->second);
226  }
227 
228  //TODO: move this also to TFileService
229  TCanvas can(name.c_str(), title.c_str(), 200, 50, 900, 900);
230  can.Divide(side_, side_);
231  TGraph* myGraph;
232 
234  //Now put each graph in one by one
235  for (int j = side_ / 2; j >= -side_ / 2; --j) {
236  for (int i = -side_ / 2; i <= side_ / 2; ++i) {
237  cursor.home();
238  cursor.offsetBy(i, j);
239  can.cd(i + 1 + side_ / 2 + side_ * (1 - j));
240  myGraph = selectDigi(*cursor, ievt);
241  myGraph->Draw("A*");
242  }
243  }
244  can.Write();
245  names->push_back(name);
246  }
247  }
248 }

References timingPdfMaker::can, crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloTopology::getSubdetectorTopology(), hfClusterShapes_cfi::hits, CaloNavigator< T, TOPO >::home(), mps_fire::i, hit::id, intToString(), PixelPluginsPhase0_cfi::isBarrel, dqmiolumiharvest::j, maskedChannels_, maskedFEDs_, naiveEvtNum_, Skims_PA_cff::name, names, CaloNavigator< T, TOPO >::offsetBy(), mps_fire::result, fileCollector::seed, seedCrys_, seedFrequencyMap_, selectDigi(), side_, threshold_, and runGCPTkAlMap::title.

Referenced by analyze().

Member Data Documentation

◆ abscissa

int EcalDisplaysByEvent::abscissa[10]
private

Definition at line 121 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), and selectDigi().

◆ allFedsTimingHist_

TH1F* EcalDisplaysByEvent::allFedsTimingHist_
private

Definition at line 138 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), and makeHistos().

◆ canvasNames_

TTree* EcalDisplaysByEvent::canvasNames_
private

Definition at line 223 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and endJob().

◆ crysAndAmplitudesMap_

std::map<int, float> EcalDisplaysByEvent::crysAndAmplitudesMap_
private

Definition at line 134 of file EcalDisplaysByEvent.h.

Referenced by selectDigi(), and selectHits().

◆ digiOccupancyCanvas_

TCanvas* EcalDisplaysByEvent::digiOccupancyCanvas_
private

Definition at line 176 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ digiOccupancyCanvasAll_

TCanvas* EcalDisplaysByEvent::digiOccupancyCanvasAll_
private

Definition at line 218 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ digiOccupancyCoarseCanvas_

TCanvas* EcalDisplaysByEvent::digiOccupancyCoarseCanvas_
private

Definition at line 177 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ digiOccupancyCoarseCanvasAll_

TCanvas* EcalDisplaysByEvent::digiOccupancyCoarseCanvasAll_
private

Definition at line 219 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ digiOccupancyEB_

TH2F* EcalDisplaysByEvent::digiOccupancyEB_
private

◆ digiOccupancyEBAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEBAll_
private

Definition at line 200 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ digiOccupancyEBcoarse_

TH2F* EcalDisplaysByEvent::digiOccupancyEBcoarse_
private

◆ digiOccupancyEBcoarseAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEBcoarseAll_
private

Definition at line 201 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ digiOccupancyEEM_

TH2F* EcalDisplaysByEvent::digiOccupancyEEM_
private

◆ digiOccupancyEEMAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEEMAll_
private

Definition at line 202 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ digiOccupancyEEMcoarse_

TH2F* EcalDisplaysByEvent::digiOccupancyEEMcoarse_
private

◆ digiOccupancyEEMcoarseAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEEMcoarseAll_
private

Definition at line 203 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ digiOccupancyEEP_

TH2F* EcalDisplaysByEvent::digiOccupancyEEP_
private

◆ digiOccupancyEEPAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEEPAll_
private

Definition at line 204 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ digiOccupancyEEPcoarse_

TH2F* EcalDisplaysByEvent::digiOccupancyEEPcoarse_
private

◆ digiOccupancyEEPcoarseAll_

TH2F* EcalDisplaysByEvent::digiOccupancyEEPcoarseAll_
private

Definition at line 205 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ EBDigis_

edm::InputTag EcalDisplaysByEvent::EBDigis_
private

Definition at line 98 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ EBdigisHandle

edm::Handle<EBDigiCollection> EcalDisplaysByEvent::EBdigisHandle
private

Definition at line 102 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and selectDigi().

◆ EBRecHitCollection_

edm::InputTag EcalDisplaysByEvent::EBRecHitCollection_
private

Definition at line 96 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ ecalElectronicsMap_

const EcalElectronicsMapping* EcalDisplaysByEvent::ecalElectronicsMap_
private

Definition at line 226 of file EcalDisplaysByEvent.h.

Referenced by beginRun(), makeHistos(), selectDigi(), and selectHits().

◆ EEDigis_

edm::InputTag EcalDisplaysByEvent::EEDigis_
private

Definition at line 99 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ EEdigisHandle

edm::Handle<EEDigiCollection> EcalDisplaysByEvent::EEdigisHandle
private

Definition at line 103 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and selectDigi().

◆ EERecHitCollection_

edm::InputTag EcalDisplaysByEvent::EERecHitCollection_
private

Definition at line 97 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ energyCanvas_

TCanvas* EcalDisplaysByEvent::energyCanvas_
private

Definition at line 171 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ energyCanvasAll_

TCanvas* EcalDisplaysByEvent::energyCanvasAll_
private

Definition at line 213 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ energyEB_

TH1F* EcalDisplaysByEvent::energyEB_
private

◆ energyEBAll_

TH1F* EcalDisplaysByEvent::energyEBAll_
private

Definition at line 185 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyEEM_

TH1F* EcalDisplaysByEvent::energyEEM_
private

◆ energyEEMAll_

TH1F* EcalDisplaysByEvent::energyEEMAll_
private

Definition at line 186 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyEEP_

TH1F* EcalDisplaysByEvent::energyEEP_
private

◆ energyEEPAll_

TH1F* EcalDisplaysByEvent::energyEEPAll_
private

Definition at line 187 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapCanvas_

TCanvas* EcalDisplaysByEvent::energyMapCanvas_
private

Definition at line 172 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ energyMapCanvasAll_

TCanvas* EcalDisplaysByEvent::energyMapCanvasAll_
private

Definition at line 214 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ energyMapCoarseCanvas_

TCanvas* EcalDisplaysByEvent::energyMapCoarseCanvas_
private

Definition at line 173 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ energyMapCoarseCanvasAll_

TCanvas* EcalDisplaysByEvent::energyMapCoarseCanvasAll_
private

Definition at line 215 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ energyMapEB_

TH2F* EcalDisplaysByEvent::energyMapEB_
private

◆ energyMapEBAll_

TH2F* EcalDisplaysByEvent::energyMapEBAll_
private

Definition at line 188 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapEBcoarse_

TH2F* EcalDisplaysByEvent::energyMapEBcoarse_
private

◆ energyMapEBcoarseAll_

TH2F* EcalDisplaysByEvent::energyMapEBcoarseAll_
private

Definition at line 189 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapEEM_

TH2F* EcalDisplaysByEvent::energyMapEEM_
private

◆ energyMapEEMAll_

TH2F* EcalDisplaysByEvent::energyMapEEMAll_
private

Definition at line 190 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapEEMcoarse_

TH2F* EcalDisplaysByEvent::energyMapEEMcoarse_
private

◆ energyMapEEMcoarseAll_

TH2F* EcalDisplaysByEvent::energyMapEEMcoarseAll_
private

Definition at line 191 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapEEP_

TH2F* EcalDisplaysByEvent::energyMapEEP_
private

◆ energyMapEEPAll_

TH2F* EcalDisplaysByEvent::energyMapEEPAll_
private

Definition at line 192 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ energyMapEEPcoarse_

TH2F* EcalDisplaysByEvent::energyMapEEPcoarse_
private

◆ energyMapEEPcoarseAll_

TH2F* EcalDisplaysByEvent::energyMapEEPcoarseAll_
private

Definition at line 193 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ fedMap_

EcalFedMap* EcalDisplaysByEvent::fedMap_
private

Definition at line 225 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), initHists(), and selectDigi().

◆ FEDsAndDCCHeaders_

std::map<int, EcalDCCHeaderBlock> EcalDisplaysByEvent::FEDsAndDCCHeaders_
private

Definition at line 135 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and selectDigi().

◆ FEDsAndTimingHists_

std::map<int, TH1F*> EcalDisplaysByEvent::FEDsAndTimingHists_
private

Definition at line 133 of file EcalDisplaysByEvent.h.

Referenced by initHists(), and makeHistos().

◆ fileService

edm::Service< TFileService > EcalDisplaysByEvent::fileService
staticprivate

Definition at line 125 of file EcalDisplaysByEvent.h.

Referenced by analyze(), EcalDisplaysByEvent(), initHists(), and selectDigi().

◆ gainRatio

float EcalDisplaysByEvent::gainRatio = {1., 2., 12.}
staticprivate

Definition at line 124 of file EcalDisplaysByEvent.h.

Referenced by selectDigi().

◆ headerProducer_

edm::InputTag EcalDisplaysByEvent::headerProducer_
private

Definition at line 100 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ histoCanvasNames_

TTree* EcalDisplaysByEvent::histoCanvasNames_
private

Definition at line 224 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and endJob().

◆ histoCanvasNamesVector

std::vector<std::string>* EcalDisplaysByEvent::histoCanvasNamesVector
private

Definition at line 128 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and drawCanvas().

◆ histRangeMax_

double EcalDisplaysByEvent::histRangeMax_
private

Definition at line 114 of file EcalDisplaysByEvent.h.

Referenced by initAllEventHistos(), and initEvtByEvtHists().

◆ histRangeMin_

double EcalDisplaysByEvent::histRangeMin_
private

Definition at line 113 of file EcalDisplaysByEvent.h.

Referenced by initAllEventHistos(), and initEvtByEvtHists().

◆ listEBChannels

std::set<EBDetId> EcalDisplaysByEvent::listEBChannels
private

Definition at line 118 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ listEEChannels

std::set<EEDetId> EcalDisplaysByEvent::listEEChannels
private

Definition at line 119 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ makeDigiGraphs_

bool EcalDisplaysByEvent::makeDigiGraphs_
private

Definition at line 109 of file EcalDisplaysByEvent.h.

Referenced by analyze().

◆ makeEnergyHistos_

bool EcalDisplaysByEvent::makeEnergyHistos_
private

Definition at line 111 of file EcalDisplaysByEvent.h.

Referenced by drawHistos(), initEvtByEvtHists(), and makeHistos().

◆ makeOccupancyHistos_

bool EcalDisplaysByEvent::makeOccupancyHistos_
private

Definition at line 112 of file EcalDisplaysByEvent.h.

Referenced by drawHistos(), initEvtByEvtHists(), and makeHistos().

◆ makeTimingHistos_

bool EcalDisplaysByEvent::makeTimingHistos_
private

Definition at line 110 of file EcalDisplaysByEvent.h.

Referenced by drawHistos(), initEvtByEvtHists(), and makeHistos().

◆ maskedChannels_

std::vector<int> EcalDisplaysByEvent::maskedChannels_
private

Definition at line 129 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), endJob(), and selectHits().

◆ maskedEBs_

std::vector<std::string> EcalDisplaysByEvent::maskedEBs_
private

Definition at line 132 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent().

◆ maskedFEDs_

std::vector<int> EcalDisplaysByEvent::maskedFEDs_
private

Definition at line 130 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), endJob(), and selectHits().

◆ minTimingAmp_

double EcalDisplaysByEvent::minTimingAmp_
private

Definition at line 108 of file EcalDisplaysByEvent.h.

Referenced by makeHistos().

◆ minTimingEnergyEB_

double EcalDisplaysByEvent::minTimingEnergyEB_
private

Definition at line 115 of file EcalDisplaysByEvent.h.

Referenced by makeHistos().

◆ minTimingEnergyEE_

double EcalDisplaysByEvent::minTimingEnergyEE_
private

Definition at line 116 of file EcalDisplaysByEvent.h.

Referenced by makeHistos().

◆ naiveEvtNum_

int EcalDisplaysByEvent::naiveEvtNum_
private

◆ names

std::vector<std::string>* EcalDisplaysByEvent::names
private

Definition at line 127 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and selectHits().

◆ ordinate

int EcalDisplaysByEvent::ordinate[10]
private

Definition at line 122 of file EcalDisplaysByEvent.h.

Referenced by selectDigi().

◆ recHitOccupancyCanvas_

TCanvas* EcalDisplaysByEvent::recHitOccupancyCanvas_
private

Definition at line 174 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ recHitOccupancyCanvasAll_

TCanvas* EcalDisplaysByEvent::recHitOccupancyCanvasAll_
private

Definition at line 216 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ recHitOccupancyCoarseCanvas_

TCanvas* EcalDisplaysByEvent::recHitOccupancyCoarseCanvas_
private

Definition at line 175 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ recHitOccupancyCoarseCanvasAll_

TCanvas* EcalDisplaysByEvent::recHitOccupancyCoarseCanvasAll_
private

Definition at line 217 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ recHitOccupancyEB_

TH2F* EcalDisplaysByEvent::recHitOccupancyEB_
private

◆ recHitOccupancyEBAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEBAll_
private

Definition at line 194 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ recHitOccupancyEBcoarse_

TH2F* EcalDisplaysByEvent::recHitOccupancyEBcoarse_
private

◆ recHitOccupancyEBcoarseAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEBcoarseAll_
private

Definition at line 195 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ recHitOccupancyEEM_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEM_
private

◆ recHitOccupancyEEMAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEMAll_
private

Definition at line 196 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ recHitOccupancyEEMcoarse_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEMcoarse_
private

◆ recHitOccupancyEEMcoarseAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEMcoarseAll_
private

Definition at line 197 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ recHitOccupancyEEP_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEP_
private

◆ recHitOccupancyEEPAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEPAll_
private

Definition at line 198 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ recHitOccupancyEEPcoarse_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEPcoarse_
private

◆ recHitOccupancyEEPcoarseAll_

TH2F* EcalDisplaysByEvent::recHitOccupancyEEPcoarseAll_
private

Definition at line 199 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ runNum_

int EcalDisplaysByEvent::runNum_
private

Definition at line 105 of file EcalDisplaysByEvent.h.

Referenced by analyze(), and endJob().

◆ seedCrys_

std::vector<int> EcalDisplaysByEvent::seedCrys_
private

Definition at line 131 of file EcalDisplaysByEvent.h.

Referenced by EcalDisplaysByEvent(), and selectHits().

◆ seedFrequencyMap_

std::map<std::string, int> EcalDisplaysByEvent::seedFrequencyMap_
private

Definition at line 136 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and selectHits().

◆ side_

int EcalDisplaysByEvent::side_
private

Definition at line 106 of file EcalDisplaysByEvent.h.

Referenced by selectHits().

◆ threshold_

double EcalDisplaysByEvent::threshold_
private

Definition at line 107 of file EcalDisplaysByEvent.h.

Referenced by selectHits().

◆ timingCanvas_

TCanvas* EcalDisplaysByEvent::timingCanvas_
private

Definition at line 170 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ timingCanvasAll_

TCanvas* EcalDisplaysByEvent::timingCanvasAll_
private

Definition at line 212 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ timingEB_

TH1F* EcalDisplaysByEvent::timingEB_
private

◆ timingEBAll_

TH1F* EcalDisplaysByEvent::timingEBAll_
private

Definition at line 182 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingEEM_

TH1F* EcalDisplaysByEvent::timingEEM_
private

◆ timingEEMAll_

TH1F* EcalDisplaysByEvent::timingEEMAll_
private

Definition at line 183 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingEEP_

TH1F* EcalDisplaysByEvent::timingEEP_
private

◆ timingEEPAll_

TH1F* EcalDisplaysByEvent::timingEEPAll_
private

Definition at line 184 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingMapCanvas_

TCanvas* EcalDisplaysByEvent::timingMapCanvas_
private

Definition at line 179 of file EcalDisplaysByEvent.h.

Referenced by deleteEvtByEvtHists(), drawHistos(), and initEvtByEvtHists().

◆ timingMapCanvasAll_

TCanvas* EcalDisplaysByEvent::timingMapCanvasAll_
private

Definition at line 221 of file EcalDisplaysByEvent.h.

Referenced by endJob(), and initAllEventHistos().

◆ timingMapCoarseCanvas_

TCanvas* EcalDisplaysByEvent::timingMapCoarseCanvas_
private

Definition at line 178 of file EcalDisplaysByEvent.h.

Referenced by drawCanvas().

◆ timingMapCoarseCanvasAll_

TCanvas* EcalDisplaysByEvent::timingMapCoarseCanvasAll_
private

Definition at line 220 of file EcalDisplaysByEvent.h.

◆ timingMapEB_

TH3F* EcalDisplaysByEvent::timingMapEB_
private

◆ timingMapEBAll_

TH3F* EcalDisplaysByEvent::timingMapEBAll_
private

Definition at line 209 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingMapEBCoarse_

TH3F* EcalDisplaysByEvent::timingMapEBCoarse_
private

Definition at line 164 of file EcalDisplaysByEvent.h.

◆ timingMapEBCoarseAll_

TH3F* EcalDisplaysByEvent::timingMapEBCoarseAll_
private

Definition at line 206 of file EcalDisplaysByEvent.h.

Referenced by initAllEventHistos(), and makeHistos().

◆ timingMapEEM_

TH3F* EcalDisplaysByEvent::timingMapEEM_
private

◆ timingMapEEMAll_

TH3F* EcalDisplaysByEvent::timingMapEEMAll_
private

Definition at line 210 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingMapEEMCoarse_

TH3F* EcalDisplaysByEvent::timingMapEEMCoarse_
private

Definition at line 165 of file EcalDisplaysByEvent.h.

Referenced by initEvtByEvtHists().

◆ timingMapEEMCoarseAll_

TH3F* EcalDisplaysByEvent::timingMapEEMCoarseAll_
private

Definition at line 207 of file EcalDisplaysByEvent.h.

Referenced by initAllEventHistos(), and makeHistos().

◆ timingMapEEP_

TH3F* EcalDisplaysByEvent::timingMapEEP_
private

◆ timingMapEEPAll_

TH3F* EcalDisplaysByEvent::timingMapEEPAll_
private

Definition at line 211 of file EcalDisplaysByEvent.h.

Referenced by endJob(), initAllEventHistos(), and makeHistos().

◆ timingMapEEPCoarse_

TH3F* EcalDisplaysByEvent::timingMapEEPCoarse_
private

Definition at line 166 of file EcalDisplaysByEvent.h.

Referenced by initEvtByEvtHists().

◆ timingMapEEPCoarseAll_

TH3F* EcalDisplaysByEvent::timingMapEEPCoarseAll_
private

Definition at line 208 of file EcalDisplaysByEvent.h.

Referenced by initAllEventHistos(), and makeHistos().

EcalDisplaysByEvent::recHitOccupancyEEPcoarse_
TH2F * recHitOccupancyEEPcoarse_
Definition: EcalDisplaysByEvent.h:157
svgfig.canvas
def canvas(*sub, **attr)
Definition: svgfig.py:482
l1tstage2emulator_dqm_sourceclient-live_cfg.feds
feds
Definition: l1tstage2emulator_dqm_sourceclient-live_cfg.py:152
EcalDisplaysByEvent::recHitOccupancyEEMcoarseAll_
TH2F * recHitOccupancyEEMcoarseAll_
Definition: EcalDisplaysByEvent.h:197
EcalDisplaysByEvent::minTimingEnergyEB_
double minTimingEnergyEB_
Definition: EcalDisplaysByEvent.h:115
ecalLiteDTU::gainId
constexpr int gainId(sample_type sample)
get the gainId (2 bits)
Definition: EcalLiteDTUSample.h:14
EcalDisplaysByEvent::digiOccupancyEEPcoarseAll_
TH2F * digiOccupancyEEPcoarseAll_
Definition: EcalDisplaysByEvent.h:205
EcalRecHit
Definition: EcalRecHit.h:15
EcalDisplaysByEvent::initHists
void initHists(int)
Definition: EcalDisplaysByEvent.cc:587
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
EBDetId::ieta
int ieta() const
get the crystal ieta
Definition: EBDetId.h:49
mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
EcalDisplaysByEvent::timingCanvas_
TCanvas * timingCanvas_
Definition: EcalDisplaysByEvent.h:170
EcalDisplaysByEvent::timingMapEEPCoarse_
TH3F * timingMapEEPCoarse_
Definition: EcalDisplaysByEvent.h:166
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
EcalDisplaysByEvent::recHitOccupancyCanvas_
TCanvas * recHitOccupancyCanvas_
Definition: EcalDisplaysByEvent.h:174
EcalDisplaysByEvent::digiOccupancyCoarseCanvas_
TCanvas * digiOccupancyCoarseCanvas_
Definition: EcalDisplaysByEvent.h:177
EcalDisplaysByEvent::histRangeMin_
double histRangeMin_
Definition: EcalDisplaysByEvent.h:113
EcalDisplaysByEvent::fedMap_
EcalFedMap * fedMap_
Definition: EcalDisplaysByEvent.h:225
EcalDisplaysByEvent::side_
int side_
Definition: EcalDisplaysByEvent.h:106
hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
edm::Handle::product
T const * product() const
Definition: Handle.h:70
EcalDisplaysByEvent::timingMapEBCoarseAll_
TH3F * timingMapEBCoarseAll_
Definition: EcalDisplaysByEvent.h:206
EcalDisplaysByEvent::digiOccupancyCanvas_
TCanvas * digiOccupancyCanvas_
Definition: EcalDisplaysByEvent.h:176
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
EcalDisplaysByEvent::EB_COARSE
Definition: EcalDisplaysByEvent.h:77
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
EcalDisplaysByEvent::EEDigis_
edm::InputTag EEDigis_
Definition: EcalDisplaysByEvent.h:99
EcalDisplaysByEvent::timingMapEB_
TH3F * timingMapEB_
Definition: EcalDisplaysByEvent.h:167
EcalDisplaysByEvent::initAllEventHistos
void initAllEventHistos()
Definition: EcalDisplaysByEvent.cc:694
patZpeak.handle
handle
Definition: patZpeak.py:23
EcalDisplaysByEvent::crysAndAmplitudesMap_
std::map< int, float > crysAndAmplitudesMap_
Definition: EcalDisplaysByEvent.h:134
EBDetId
Definition: EBDetId.h:17
EcalDisplaysByEvent::energyEEM_
TH1F * energyEEM_
Definition: EcalDisplaysByEvent.h:144
EcalDisplaysByEvent::fileService
static edm::Service< TFileService > fileService
Definition: EcalDisplaysByEvent.h:125
EcalDisplaysByEvent::digiOccupancyEEM_
TH2F * digiOccupancyEEM_
Definition: EcalDisplaysByEvent.h:160
EcalDisplaysByEvent::seedCrys_
std::vector< int > seedCrys_
Definition: EcalDisplaysByEvent.h:131
EcalDisplaysByEvent::recHitOccupancyEEM_
TH2F * recHitOccupancyEEM_
Definition: EcalDisplaysByEvent.h:154
EcalDisplaysByEvent::threshold_
double threshold_
Definition: EcalDisplaysByEvent.h:107
EcalDisplaysByEvent::recHitOccupancyEB_
TH2F * recHitOccupancyEB_
Definition: EcalDisplaysByEvent.h:152
EcalDisplaysByEvent::digiOccupancyEEPcoarse_
TH2F * digiOccupancyEEPcoarse_
Definition: EcalDisplaysByEvent.h:163
protons_cff.time
time
Definition: protons_cff.py:39
EcalDisplaysByEvent::EB_FINE
Definition: EcalDisplaysByEvent.h:77
EcalDisplaysByEvent::timingMapEEP_
TH3F * timingMapEEP_
Definition: EcalDisplaysByEvent.h:169
EcalDisplaysByEvent::floatToString
std::string floatToString(float num)
Definition: EcalDisplaysByEvent.cc:579
EcalDisplaysByEvent::recHitOccupancyEEP_
TH2F * recHitOccupancyEEP_
Definition: EcalDisplaysByEvent.h:156
EcalDisplaysByEvent::energyMapEEPcoarseAll_
TH2F * energyMapEEPcoarseAll_
Definition: EcalDisplaysByEvent.h:193
EcalDisplaysByEvent::energyMapEBcoarseAll_
TH2F * energyMapEBcoarseAll_
Definition: EcalDisplaysByEvent.h:189
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
EcalDisplaysByEvent::headerProducer_
edm::InputTag headerProducer_
Definition: EcalDisplaysByEvent.h:100
EcalDisplaysByEvent::timingMapEEPCoarseAll_
TH3F * timingMapEEPCoarseAll_
Definition: EcalDisplaysByEvent.h:208
EcalDisplaysByEvent::recHitOccupancyCoarseCanvas_
TCanvas * recHitOccupancyCoarseCanvas_
Definition: EcalDisplaysByEvent.h:175
EcalElectronicsId::dccId
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
Definition: EcalElectronicsId.h:31
EcalDisplaysByEvent::digiOccupancyEB_
TH2F * digiOccupancyEB_
Definition: EcalDisplaysByEvent.h:158
EcalDisplaysByEvent::selectDigi
TGraph * selectDigi(DetId det, int ievt)
Definition: EcalDisplaysByEvent.cc:250
EcalDisplaysByEvent::digiOccupancyEEMcoarse_
TH2F * digiOccupancyEEMcoarse_
Definition: EcalDisplaysByEvent.h:161
EcalDataFrame
Definition: EcalDataFrame.h:16
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
EcalDisplaysByEvent::recHitOccupancyEEMcoarse_
TH2F * recHitOccupancyEEMcoarse_
Definition: EcalDisplaysByEvent.h:155
EEDetId::ix
int ix() const
Definition: EEDetId.h:77
edm::Handle
Definition: AssociativeIterator.h:50
EcalDisplaysByEvent::minTimingEnergyEE_
double minTimingEnergyEE_
Definition: EcalDisplaysByEvent.h:116
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
EcalDisplaysByEvent::digiOccupancyEEMAll_
TH2F * digiOccupancyEEMAll_
Definition: EcalDisplaysByEvent.h:202
EcalDisplaysByEvent::digiOccupancyEBcoarse_
TH2F * digiOccupancyEBcoarse_
Definition: EcalDisplaysByEvent.h:159
PFElectronDQMAnalyzer_cfi.nBin
nBin
Definition: PFElectronDQMAnalyzer_cfi.py:25
EcalDisplaysByEvent::timingMapCanvasAll_
TCanvas * timingMapCanvasAll_
Definition: EcalDisplaysByEvent.h:221
EcalElectronicsId::towerId
int towerId() const
get the tower id
Definition: EcalElectronicsId.h:33
EcalDisplaysByEvent::timingEEPAll_
TH1F * timingEEPAll_
Definition: EcalDisplaysByEvent.h:184
EcalDisplaysByEvent::histoCanvasNamesVector
std::vector< std::string > * histoCanvasNamesVector
Definition: EcalDisplaysByEvent.h:128
EcalDisplaysByEvent::energyMapCoarseCanvasAll_
TCanvas * energyMapCoarseCanvasAll_
Definition: EcalDisplaysByEvent.h:215
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
EcalDisplaysByEvent::energyEBAll_
TH1F * energyEBAll_
Definition: EcalDisplaysByEvent.h:185
fileCollector.seed
seed
Definition: fileCollector.py:127
EcalDisplaysByEvent::gainRatio
static float gainRatio[3]
Definition: EcalDisplaysByEvent.h:124
EcalDisplaysByEvent::EEM_FINE
Definition: EcalDisplaysByEvent.h:77
DetId
Definition: DetId.h:17
EcalDisplaysByEvent::energyMapEEPcoarse_
TH2F * energyMapEEPcoarse_
Definition: EcalDisplaysByEvent.h:151
EcalDisplaysByEvent::energyMapCanvasAll_
TCanvas * energyMapCanvasAll_
Definition: EcalDisplaysByEvent.h:214
EcalDisplaysByEvent::EEM_COARSE
Definition: EcalDisplaysByEvent.h:77
EcalDisplaysByEvent::FEDsAndDCCHeaders_
std::map< int, EcalDCCHeaderBlock > FEDsAndDCCHeaders_
Definition: EcalDisplaysByEvent.h:135
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
EcalDisplaysByEvent::makeTimingHistos_
bool makeTimingHistos_
Definition: EcalDisplaysByEvent.h:110
EcalDisplaysByEvent::maskedFEDs_
std::vector< int > maskedFEDs_
Definition: EcalDisplaysByEvent.h:130
EcalDisplaysByEvent::intToString
std::string intToString(int num)
Definition: EcalDisplaysByEvent.cc:572
edm::DataFrameContainer::empty
bool empty() const
Definition: DataFrameContainer.h:160
EcalDisplaysByEvent::recHitOccupancyEEMAll_
TH2F * recHitOccupancyEEMAll_
Definition: EcalDisplaysByEvent.h:196
EcalDisplaysByEvent::names
std::vector< std::string > * names
Definition: EcalDisplaysByEvent.h:127
EcalDisplaysByEvent::timingMapCanvas_
TCanvas * timingMapCanvas_
Definition: EcalDisplaysByEvent.h:179
EcalDisplaysByEvent::canvasNames_
TTree * canvasNames_
Definition: EcalDisplaysByEvent.h:223
EcalDisplaysByEvent::energyMapCoarseCanvas_
TCanvas * energyMapCoarseCanvas_
Definition: EcalDisplaysByEvent.h:173
edm::ESHandle< CaloTopology >
EcalDisplaysByEvent::histoCanvasNames_
TTree * histoCanvasNames_
Definition: EcalDisplaysByEvent.h:224
EcalElectronicsMapping::getElectronicsId
EcalElectronicsId getElectronicsId(const DetId &id) const
Get the electronics id for this det id.
Definition: EcalElectronicsMapping.cc:324
EcalDisplaysByEvent::EBRecHitCollection_
edm::InputTag EBRecHitCollection_
Definition: EcalDisplaysByEvent.h:96
EcalDisplaysByEvent::EEdigisHandle
edm::Handle< EEDigiCollection > EEdigisHandle
Definition: EcalDisplaysByEvent.h:103
EcalDisplaysByEvent::energyMapEEMcoarse_
TH2F * energyMapEEMcoarse_
Definition: EcalDisplaysByEvent.h:149
EcalDisplaysByEvent::energyEEPAll_
TH1F * energyEEPAll_
Definition: EcalDisplaysByEvent.h:187
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
EcalDisplaysByEvent::ordinate
int ordinate[10]
Definition: EcalDisplaysByEvent.h:122
EcalDisplaysByEvent::energyMapEEPAll_
TH2F * energyMapEEPAll_
Definition: EcalDisplaysByEvent.h:192
EcalDisplaysByEvent::initEvtByEvtHists
void initEvtByEvtHists(int naiveEvtNum_, int ievt)
Definition: EcalDisplaysByEvent.cc:598
EcalElectronicsId
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Definition: EcalElectronicsId.h:18
EcalDisplaysByEvent::drawEELines
void drawEELines()
Definition: EcalDisplaysByEvent.cc:984
EEDetId
Definition: EEDetId.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalDisplaysByEvent::runNum_
int runNum_
Definition: EcalDisplaysByEvent.h:105
PostProcessor_cff.profile
profile
Definition: PostProcessor_cff.py:38
EcalDisplaysByEvent::timingMapEEMAll_
TH3F * timingMapEEMAll_
Definition: EcalDisplaysByEvent.h:210
EcalDisplaysByEvent::EEP_COARSE
Definition: EcalDisplaysByEvent.h:77
PixelPluginsPhase0_cfi.isBarrel
isBarrel
Definition: PixelPluginsPhase0_cfi.py:17
EcalDisplaysByEvent::energyCanvasAll_
TCanvas * energyCanvasAll_
Definition: EcalDisplaysByEvent.h:213
EcalDisplaysByEvent::EBdigisHandle
edm::Handle< EBDigiCollection > EBdigisHandle
Definition: EcalDisplaysByEvent.h:102
EcalDisplaysByEvent::energyEB_
TH1F * energyEB_
Definition: EcalDisplaysByEvent.h:143
EcalDisplaysByEvent::init2DEcalHist
TH2F * init2DEcalHist(std::string histTypeName, int subDet)
Definition: EcalDisplaysByEvent.cc:804
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
EcalDisplaysByEvent::recHitOccupancyCanvasAll_
TCanvas * recHitOccupancyCanvasAll_
Definition: EcalDisplaysByEvent.h:216
EcalDisplaysByEvent::minTimingAmp_
double minTimingAmp_
Definition: EcalDisplaysByEvent.h:108
EcalDisplaysByEvent::digiOccupancyEEPAll_
TH2F * digiOccupancyEEPAll_
Definition: EcalDisplaysByEvent.h:204
EcalDisplaysByEvent::drawTimingErrors
void drawTimingErrors(TProfile2D *profile)
Definition: EcalDisplaysByEvent.cc:947
CaloNavigator::home
void home() const
move the navigator back to the starting point
Definition: CaloNavigator.h:96
B2GTnPMonitor_cfi.histTitle
histTitle
Definition: B2GTnPMonitor_cfi.py:112
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
EBDigiCollection
Definition: EcalDigiCollections.h:56
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
EEDigiCollection
Definition: EcalDigiCollections.h:69
EcalDisplaysByEvent::energyEEP_
TH1F * energyEEP_
Definition: EcalDisplaysByEvent.h:145
CaloTopology::getSubdetectorTopology
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
Definition: CaloTopology.cc:17
EcalDisplaysByEvent::recHitOccupancyEBcoarseAll_
TH2F * recHitOccupancyEBcoarseAll_
Definition: EcalDisplaysByEvent.h:195
EcalDisplaysByEvent::digiOccupancyEEP_
TH2F * digiOccupancyEEP_
Definition: EcalDisplaysByEvent.h:162
EcalDisplaysByEvent::deleteEvtByEvtHists
void deleteEvtByEvtHists()
Definition: EcalDisplaysByEvent.cc:655
EcalDisplaysByEvent::timingEB_
TH1F * timingEB_
Definition: EcalDisplaysByEvent.h:140
createfilelist.int
int
Definition: createfilelist.py:10
EcalDisplaysByEvent::recHitOccupancyCoarseCanvasAll_
TCanvas * recHitOccupancyCoarseCanvasAll_
Definition: EcalDisplaysByEvent.h:217
iEvent
int iEvent
Definition: GenABIO.cc:224
EcalFedMap::getSliceFromFed
std::string getSliceFromFed(int)
Definition: EcalFedMap.cc:86
EcalDisplaysByEvent::timingEEMAll_
TH1F * timingEEMAll_
Definition: EcalDisplaysByEvent.h:183
EcalDisplaysByEvent::listEEChannels
std::set< EEDetId > listEEChannels
Definition: EcalDisplaysByEvent.h:119
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
EcalDisplaysByEvent::seedFrequencyMap_
std::map< std::string, int > seedFrequencyMap_
Definition: EcalDisplaysByEvent.h:136
EcalCondDBWriter_cfi.pedestal
pedestal
Definition: EcalCondDBWriter_cfi.py:49
EcalDisplaysByEvent::timingEBAll_
TH1F * timingEBAll_
Definition: EcalDisplaysByEvent.h:182
DetId::Ecal
Definition: DetId.h:27
EcalDisplaysByEvent::digiOccupancyCoarseCanvasAll_
TCanvas * digiOccupancyCoarseCanvasAll_
Definition: EcalDisplaysByEvent.h:219
get
#define get
EcalDisplaysByEvent::makeEnergyHistos_
bool makeEnergyHistos_
Definition: EcalDisplaysByEvent.h:111
EEDetId::iy
int iy() const
Definition: EEDetId.h:83
EcalDisplaysByEvent::energyMapEBcoarse_
TH2F * energyMapEBcoarse_
Definition: EcalDisplaysByEvent.h:147
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
EcalDisplaysByEvent::digiOccupancyEBcoarseAll_
TH2F * digiOccupancyEBcoarseAll_
Definition: EcalDisplaysByEvent.h:201
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
EcalDisplaysByEvent::timingEEP_
TH1F * timingEEP_
Definition: EcalDisplaysByEvent.h:142
timingPdfMaker.can
can
Definition: timingPdfMaker.py:311
EcalDisplaysByEvent::naiveEvtNum_
int naiveEvtNum_
Definition: EcalDisplaysByEvent.h:228
EcalDisplaysByEvent::timingEEM_
TH1F * timingEEM_
Definition: EcalDisplaysByEvent.h:141
CaloNavigator
Definition: CaloNavigator.h:7
std
Definition: JetResolutionObject.h:76
EcalDisplaysByEvent::ecalElectronicsMap_
const EcalElectronicsMapping * ecalElectronicsMap_
Definition: EcalDisplaysByEvent.h:226
EcalDisplaysByEvent::timingMapEEPAll_
TH3F * timingMapEEPAll_
Definition: EcalDisplaysByEvent.h:211
EcalDisplaysByEvent::energyCanvas_
TCanvas * energyCanvas_
Definition: EcalDisplaysByEvent.h:171
EcalMappingRcd
Definition: EcalMappingRcd.h:15
EcalFedMap
Definition: EcalFedMap.h:7
EcalDisplaysByEvent::digiOccupancyCanvasAll_
TCanvas * digiOccupancyCanvasAll_
Definition: EcalDisplaysByEvent.h:218
EcalDisplaysByEvent::recHitOccupancyEBAll_
TH2F * recHitOccupancyEBAll_
Definition: EcalDisplaysByEvent.h:194
EcalDisplaysByEvent::energyEEMAll_
TH1F * energyEEMAll_
Definition: EcalDisplaysByEvent.h:186
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:733
EcalDisplaysByEvent::timingMapEBAll_
TH3F * timingMapEBAll_
Definition: EcalDisplaysByEvent.h:209
EcalDisplaysByEvent::energyMapEEMAll_
TH2F * energyMapEEMAll_
Definition: EcalDisplaysByEvent.h:190
EcalDisplaysByEvent::timingMapEEMCoarse_
TH3F * timingMapEEMCoarse_
Definition: EcalDisplaysByEvent.h:165
EcalDisplaysByEvent::abscissa
int abscissa[10]
Definition: EcalDisplaysByEvent.h:121
EcalDisplaysByEvent::energyMapEB_
TH2F * energyMapEB_
Definition: EcalDisplaysByEvent.h:146
EcalDisplaysByEvent::energyMapEBAll_
TH2F * energyMapEBAll_
Definition: EcalDisplaysByEvent.h:188
cuy.tex
tex
Definition: cuy.py:774
EcalDisplaysByEvent::getEEIndex
int getEEIndex(EcalElectronicsId elecId)
Definition: EcalDisplaysByEvent.cc:351
EcalDisplaysByEvent::histRangeMax_
double histRangeMax_
Definition: EcalDisplaysByEvent.h:114
EcalDisplaysByEvent::maskedEBs_
std::vector< std::string > maskedEBs_
Definition: EcalDisplaysByEvent.h:132
ewkTauDQM_cfi.channels
channels
Definition: ewkTauDQM_cfi.py:14
EcalDisplaysByEvent::energyMapCanvas_
TCanvas * energyMapCanvas_
Definition: EcalDisplaysByEvent.h:172
EcalDisplaysByEvent::init2DEcalCanvas
TCanvas * init2DEcalCanvas(std::string canvasName)
Definition: EcalDisplaysByEvent.cc:844
EcalDisplaysByEvent::timingMapEEM_
TH3F * timingMapEEM_
Definition: EcalDisplaysByEvent.h:168
EcalDisplaysByEvent::timingCanvasAll_
TCanvas * timingCanvasAll_
Definition: EcalDisplaysByEvent.h:212
EcalDisplaysByEvent::makeDigiGraphs_
bool makeDigiGraphs_
Definition: EcalDisplaysByEvent.h:109
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CaloNavigator::offsetBy
T offsetBy(int deltaX, int deltaY) const
Free movement of arbitray steps.
Definition: CaloNavigator.h:66
EcalFedMap::getFedFromSlice
int getFedFromSlice(std::string)
Definition: EcalFedMap.cc:96
EcalDisplaysByEvent::FEDsAndTimingHists_
std::map< int, TH1F * > FEDsAndTimingHists_
Definition: EcalDisplaysByEvent.h:133
EcalDisplaysByEvent::EBDigis_
edm::InputTag EBDigis_
Definition: EcalDisplaysByEvent.h:98
EcalDisplaysByEvent::digiOccupancyEBAll_
TH2F * digiOccupancyEBAll_
Definition: EcalDisplaysByEvent.h:200
EBDetId::iphi
int iphi() const
get the crystal iphi
Definition: EBDetId.h:51
EcalDisplaysByEvent::energyMapEEM_
TH2F * energyMapEEM_
Definition: EcalDisplaysByEvent.h:148
mps_fire.result
result
Definition: mps_fire.py:311
EcalElectronicsId::stripId
int stripId() const
get the tower id
Definition: EcalElectronicsId.h:35
EcalDisplaysByEvent::selectHits
void selectHits(edm::Handle< EcalRecHitCollection > hits, int ievt, edm::ESHandle< CaloTopology > caloTopo)
Definition: EcalDisplaysByEvent.cc:184
EcalDisplaysByEvent::listEBChannels
std::set< EBDetId > listEBChannels
Definition: EcalDisplaysByEvent.h:118
EcalDisplaysByEvent::allFedsTimingHist_
TH1F * allFedsTimingHist_
Definition: EcalDisplaysByEvent.h:138
EcalDisplaysByEvent::drawCanvas
void drawCanvas(TCanvas *canvas, TH1F *hist1, TH1F *hist2, TH1F *hist3)
Definition: EcalDisplaysByEvent.cc:874
EcalDisplaysByEvent::recHitOccupancyEEPcoarseAll_
TH2F * recHitOccupancyEEPcoarseAll_
Definition: EcalDisplaysByEvent.h:199
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
EcalDisplaysByEvent::timingMapEEMCoarseAll_
TH3F * timingMapEEMCoarseAll_
Definition: EcalDisplaysByEvent.h:207
EcalDisplaysByEvent::init3DEcalHist
TH3F * init3DEcalHist(std::string histTypeName, int dubDet)
Definition: EcalDisplaysByEvent.cc:744
EcalDisplaysByEvent::maskedChannels_
std::vector< int > maskedChannels_
Definition: EcalDisplaysByEvent.h:129
EcalElectronicsId::xtalId
int xtalId() const
get the channel id
Definition: EcalElectronicsId.h:37
SimL1EmulatorDM_cff.eeDigis
eeDigis
Definition: SimL1EmulatorDM_cff.py:18
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
edm::InputTag
Definition: InputTag.h:15
EcalDisplaysByEvent::recHitOccupancyEBcoarse_
TH2F * recHitOccupancyEBcoarse_
Definition: EcalDisplaysByEvent.h:153
EcalDisplaysByEvent::makeHistos
void makeHistos(edm::Handle< EBDigiCollection > ebDigis)
Definition: EcalDisplaysByEvent.cc:356
hit
Definition: SiStripHitEffFromCalibTree.cc:88
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
EcalDisplaysByEvent::recHitOccupancyEEPAll_
TH2F * recHitOccupancyEEPAll_
Definition: EcalDisplaysByEvent.h:198
EcalDisplaysByEvent::energyMapEEP_
TH2F * energyMapEEP_
Definition: EcalDisplaysByEvent.h:150
EcalDisplaysByEvent::EEP_FINE
Definition: EcalDisplaysByEvent.h:77
EcalDisplaysByEvent::EERecHitCollection_
edm::InputTag EERecHitCollection_
Definition: EcalDisplaysByEvent.h:97
EcalDisplaysByEvent::timingMapCoarseCanvas_
TCanvas * timingMapCoarseCanvas_
Definition: EcalDisplaysByEvent.h:178
EcalDisplaysByEvent::drawHistos
void drawHistos()
Definition: EcalDisplaysByEvent.cc:849
EcalDisplaysByEvent::makeOccupancyHistos_
bool makeOccupancyHistos_
Definition: EcalDisplaysByEvent.h:112
EcalDisplaysByEvent::digiOccupancyEEMcoarseAll_
TH2F * digiOccupancyEEMcoarseAll_
Definition: EcalDisplaysByEvent.h:203
EcalDisplaysByEvent::energyMapEEMcoarseAll_
TH2F * energyMapEEMcoarseAll_
Definition: EcalDisplaysByEvent.h:191