CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
GEMPadDigiClusterSource Class Reference

#include <GEMPadDigiClusterSource.h>

Inheritance diagram for GEMPadDigiClusterSource:
GEMDQMBase DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 GEMPadDigiClusterSource (const edm::ParameterSet &cfg)
 
 ~GEMPadDigiClusterSource () override
 
- Public Member Functions inherited from GEMDQMBase
 GEMDQMBase (const edm::ParameterSet &cfg)
 
int readGeometryPhiInfoChamber (const GEMStation *station, MEStationInfo &stationInfo)
 
int readGeometryRadiusInfoChamber (const GEMStation *station, MEStationInfo &stationInfo)
 
 ~GEMDQMBase () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from GEMDQMBase
template<typename T >
bool checkRefs (const std::vector< T *> &)
 
dqm::impl::MonitorElementCreateSummaryHist (DQMStore::IBooker &ibooker, TString strName)
 
int GenerateMEPerChamber (DQMStore::IBooker &ibooker)
 
int getDetOccXBin (const int, const int, const int)
 
int getIdxModule (const int, const int)
 
int getIEtaFromVFAT (const int station, const int vfat)
 
int getIEtaFromVFATGE0 (const int vfat)
 
int getIEtaFromVFATGE11 (const int vfat)
 
int getIEtaFromVFATGE21 (const int vfat)
 
int getMaxVFAT (const int)
 
std::string getNameDirChamber (ME4IdsKey key4)
 
std::string getNameDirLayer (ME3IdsKey key3)
 
std::string getNameDirLayer (ME4IdsKey key4)
 
int getNumEtaPartitions (const GEMStation *)
 
int getNumModule (const int)
 
int getVFATNumber (const int, const int, const int)
 
int getVFATNumberByDigi (const int, const int, const int)
 
int getVFATNumberGE11 (const int, const int, const int)
 
int initGeometry (edm::EventSetup const &iSetup)
 
ME2IdsKey key3Tokey2 (ME3IdsKey key)
 
ME3IdsKey key4Tokey3 (ME4IdsKey key)
 
ME4IdsKey key5Tokey4 (ME5IdsKey key)
 
int keyToChamber (ME4IdsKey key)
 
int keyToChamber (ME5IdsKey key)
 
int keyToChamber (ME3IdsKey key)
 
int keyToIEta (ME4IdsKey key)
 
int keyToIEta (ME5IdsKey key)
 
int keyToLayer (ME3IdsKey key)
 
int keyToLayer (ME4IdsKey key)
 
int keyToLayer (ME5IdsKey key)
 
int keyToModule (ME4IdsKey key)
 
int keyToModule (ME5IdsKey key)
 
int keyToRegion (ME2IdsKey key)
 
int keyToRegion (ME3IdsKey key)
 
int keyToRegion (ME4IdsKey key)
 
int keyToRegion (ME5IdsKey key)
 
int keyToStation (ME2IdsKey key)
 
int keyToStation (ME3IdsKey key)
 
int keyToStation (ME4IdsKey key)
 
int keyToStation (ME5IdsKey key)
 
int loadChambers ()
 
virtual int ProcessWithMEMap2AbsReWithEta (BookingHelper &bh, ME3IdsKey key)
 
virtual int ProcessWithMEMap2WithEtaCh (BookingHelper &bh, ME4IdsKey key)
 
virtual int ProcessWithMEMap4 (BookingHelper &bh, ME4IdsKey key)
 
virtual int ProcessWithMEMap5 (BookingHelper &bh, ME5IdsKey key)
 
virtual int ProcessWithMEMap5WithChamber (BookingHelper &bh, ME5IdsKey key)
 
Float_t restrictAngle (const Float_t fTheta, const Float_t fStart)
 
int SortingLayers (std::vector< ME4IdsKey > &listLayers)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Member Functions

int ProcessWithMEMap2 (BookingHelper &bh, ME2IdsKey key) override
 
int ProcessWithMEMap2WithChamber (BookingHelper &bh, ME3IdsKey key) override
 
int ProcessWithMEMap2WithEta (BookingHelper &bh, ME3IdsKey key) override
 
int ProcessWithMEMap3 (BookingHelper &bh, ME3IdsKey key) override
 
int ProcessWithMEMap4WithChamber (BookingHelper &bh, ME4IdsKey key) override
 

Private Attributes

Float_t fRadiusMax_
 
Float_t fRadiusMin_
 
edm::EDGetTokenT< LumiScalersCollectionlumiScalers_
 
MEMap4Inf mapBXCLSPerCh_
 
MEMap3Inf mapBXDiffPerCh_
 
MEMap4Inf mapBXMidPerCh_
 
MEMap3Inf mapPadBXDiffPerCh_
 
MEMap4Inf mapPadBXDiffPerEtaCh_
 
MEMap4Inf mapPadBxPerCh_
 
MEMap4Inf mapPadCLSPerCh_
 
MEMap3Inf mapPadDiffPerCh_
 
MEMap4Inf mapPadDiffPerEtaCh_
 
MEMap4Inf mapPadDigiOccPerCh_
 
Int_t nBXMax_
 
Int_t nBXMin_
 
Int_t nCLSMax_
 
Int_t nClusterSizeBinNum_
 
std::string strFolderMain_
 
edm::EDGetToken tagPadDigiCluster_
 

Static Private Attributes

static const int nNumBitDigiOcc_ = 16384
 

Additional Inherited Members

- Public Types inherited from GEMDQMBase
enum  {
  GEMDQM_RUNTYPE_ONLINE, GEMDQM_RUNTYPE_OFFLINE, GEMDQM_RUNTYPE_RELVAL, GEMDQM_RUNTYPE_ALLPLOTS,
  GEMDQM_RUNTYPE_NONE = -1
}
 
typedef MEMapInfT< MEMap2Ids, ME2IdsKeyMEMap2Inf
 
typedef MEMapInfT< MEMap3Ids, ME3IdsKeyMEMap3Inf
 
typedef MEMapInfT< MEMap4Ids, ME4IdsKeyMEMap4Inf
 
typedef MEMapInfT< MEMap5Ids, ME5IdsKeyMEMap5Inf
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Public Attributes inherited from GEMDQMBase
std::string log_category_
 
Int_t nRunType_
 
- Protected Attributes inherited from GEMDQMBase
const GEMGeometryGEMGeometry_
 
edm::ESGetToken< GEMGeometry, MuonGeometryRecordgeomToken_
 
std::vector< GEMDetIdlistChamberId_
 
std::map< GEMDetId, std::vector< const GEMEtaPartition * > > mapEtaPartition_
 
std::map< ME3IdsKey, MEStationInfomapStationInfo_
 
std::map< ME4IdsKey, int > mapStationToIdx_
 
std::map< ME3IdsKey, bool > MEMap2AbsReWithEtaCheck_
 
std::map< ME2IdsKey, bool > MEMap2Check_
 
std::map< ME3IdsKey, bool > MEMap2WithChCheck_
 
std::map< ME4IdsKey, bool > MEMap2WithEtaChCheck_
 
std::map< ME3IdsKey, bool > MEMap2WithEtaCheck_
 
std::map< ME3IdsKey, bool > MEMap3Check_
 
std::map< ME4IdsKey, bool > MEMap4Check_
 
std::map< ME4IdsKey, bool > MEMap4WithChCheck_
 
std::map< ME5IdsKey, bool > MEMap5Check_
 
std::map< ME5IdsKey, bool > MEMap5WithChCheck_
 
int nMaxNumCh_
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 31 of file GEMPadDigiClusterSource.h.

Constructor & Destructor Documentation

◆ GEMPadDigiClusterSource()

GEMPadDigiClusterSource::GEMPadDigiClusterSource ( const edm::ParameterSet cfg)
explicit

Definition at line 6 of file GEMPadDigiClusterSource.cc.

References looper::cfg, ProducerED_cfi::InputTag, lumiScalers_, nBXMax_, nBXMin_, nCLSMax_, nClusterSizeBinNum_, and tagPadDigiCluster_.

6  : GEMDQMBase(cfg) {
8  consumes<GEMPadDigiClusterCollection>(cfg.getParameter<edm::InputTag>("padDigiClusterInputLabel"));
9  lumiScalers_ = consumes<LumiScalersCollection>(
10  cfg.getUntrackedParameter<edm::InputTag>("lumiCollection", edm::InputTag("scalersRawToDigi")));
11  nBXMin_ = cfg.getParameter<int>("bxMin");
12  nBXMax_ = cfg.getParameter<int>("bxMax");
13  nCLSMax_ = cfg.getParameter<int>("clsMax");
14  nClusterSizeBinNum_ = cfg.getParameter<int>("ClusterSizeBinNum");
15 }
edm::EDGetTokenT< LumiScalersCollection > lumiScalers_
GEMDQMBase(const edm::ParameterSet &cfg)
Definition: GEMDQMBase.cc:7

◆ ~GEMPadDigiClusterSource()

GEMPadDigiClusterSource::~GEMPadDigiClusterSource ( )
inlineoverride

Definition at line 34 of file GEMPadDigiClusterSource.h.

34 {};

Member Function Documentation

◆ analyze()

void GEMPadDigiClusterSource::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 136 of file GEMPadDigiClusterSource.cc.

References funct::abs(), relativeConstraints::chamber, GEMDQMBase::MEMapInfT< M, K >::Fill(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, V0Monitor_cfi::lumiScalers, lumiScalers_, mapBXCLSPerCh_, mapBXDiffPerCh_, mapPadBXDiffPerCh_, mapPadBxPerCh_, mapPadCLSPerCh_, mapPadDiffPerCh_, mapPadDigiOccPerCh_, SiStripPI::min, nCLSMax_, FastTimerService_cff::range, nano_mu_digi_cff::region, nano_mu_digi_cff::roll, relativeConstraints::station, and tagPadDigiCluster_.

136  {
137  edm::Handle<GEMPadDigiClusterCollection> gemPadDigiClusters;
138  event.getByToken(this->tagPadDigiCluster_, gemPadDigiClusters);
140  event.getByToken(lumiScalers_, lumiScalers);
141 
142  int med_pad1, med_pad2;
143 
144  for (auto it = gemPadDigiClusters->begin(); it != gemPadDigiClusters->end(); it++) {
145  auto range = gemPadDigiClusters->get((*it).first);
146 
147  for (auto cluster = range.first; cluster != range.second; cluster++) {
148  if (cluster->isValid()) {
149  ME4IdsKey key4Ch{
150  ((*it).first).region(), ((*it).first).station(), ((*it).first).layer(), ((*it).first).chamber()};
151  ME3IdsKey key3Ch{((*it).first).region(), ((*it).first).station(), ((*it).first).chamber()};
152 
153  //Plot the bx of each cluster.
154  mapBXCLSPerCh_.Fill(key4Ch, cluster->bx());
155 
156  //Plot the size of clusters for each chamber and layer
157  Int_t nCLS = cluster->pads().size();
158  Int_t nCLSCutOff = std::min(nCLS, nCLSMax_);
159  mapPadCLSPerCh_.Fill(key4Ch, nCLSCutOff, ((*it).first).roll());
160 
161  //Plot of pad and bx diff of two layers per chamer.
162  med_pad1 = floor((cluster->pads().front() + cluster->pads().front() + cluster->pads().size() - 1) / 2);
163  for (auto it2 = gemPadDigiClusters->begin(); it2 != gemPadDigiClusters->end(); it2++) {
164  auto range2 = gemPadDigiClusters->get((*it2).first);
165 
166  for (auto cluster2 = range2.first; cluster2 != range2.second; cluster2++) {
167  if (cluster2->isValid()) {
168  med_pad2 = floor((cluster2->pads().front() + cluster2->pads().front() + cluster2->pads().size() - 1) / 2);
169 
170  if (((*it).first).chamber() == ((*it2).first).chamber() &&
171  ((*it).first).station() == ((*it2).first).station() &&
172  ((*it).first).region() == ((*it2).first).region() && ((*it).first).layer() == 1 &&
173  ((*it2).first).layer() == 2) {
174  if (abs(med_pad1 - med_pad2) <= 40 && abs(((*it).first).roll() - ((*it2).first).roll()) <= 1) {
175  mapPadBXDiffPerCh_.Fill(key3Ch, med_pad1 - med_pad2, cluster->bx() - cluster2->bx());
176  mapPadDiffPerCh_.Fill(key3Ch, med_pad1 - med_pad2);
177  mapBXDiffPerCh_.Fill(key3Ch, cluster->bx() - cluster2->bx());
178  }
179  }
180  }
181  }
182  }
183 
184  for (auto pad = cluster->pads().front(); pad < (cluster->pads().front() + cluster->pads().size()); pad++) {
185  //Plot of pad and bx for each chamber and layer
186  mapPadDigiOccPerCh_.Fill(key4Ch, pad, ((*it).first).roll());
187  mapPadBxPerCh_.Fill(key4Ch, pad + (192 * (8 - ((*it).first).roll())), cluster->bx());
188  }
189  }
190  }
191  }
192 }
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
int Fill(K key, Double_t x)
Definition: GEMDQMBase.h:395
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDGetTokenT< LumiScalersCollection > lumiScalers_
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey

◆ bookHistograms()

void GEMPadDigiClusterSource::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 29 of file GEMPadDigiClusterSource.cc.

References dqm::implementation::NavigatorBase::cd(), fRadiusMax_, fRadiusMin_, GEMDQMBase::GEMGeometry_, GEMDQMBase::GenerateMEPerChamber(), GEMDQMBase::initGeometry(), GEMDQMBase::loadChambers(), mapBXCLSPerCh_, mapBXDiffPerCh_, mapPadBXDiffPerCh_, mapPadBxPerCh_, mapPadCLSPerCh_, mapPadDiffPerCh_, mapPadDigiOccPerCh_, dqm::implementation::NavigatorBase::setCurrentFolder(), and strFolderMain_.

31  {
32  initGeometry(iSetup);
33  if (GEMGeometry_ == nullptr)
34  return;
35  loadChambers();
36 
37  strFolderMain_ = "GEM/PadDigiCluster";
38 
39  fRadiusMin_ = 120.0;
40  fRadiusMax_ = 250.0;
41 
43  "delta_pad_bx",
44  "Difference of Trigger Primitive Pad Number and BX ",
45  81,
46  -40 - 0.5,
47  40 + 0.5,
48  21,
49  -10 - 0.5,
50  10 + 0.5,
51  "Lay1 - Lay2 cluster central pad",
52  "Lay1 - Lay2 cluster BX");
54  "delta_pad",
55  "Difference of Trigger Primitive Pad Number ",
56  81,
57  -40 - 0.5,
58  40 + 0.5,
59  "Lay1 - Lay2 cluster central pad");
61  this, "delta_bx", "Difference of Trigger Primitive BX ", 21, -10 - 0.5, 10 + 0.5, "Lay1 - Lay2 cluster BX");
62 
63  mapBXCLSPerCh_ = MEMap4Inf(this, "bx", " Trigger Primitive Cluster BX ", 14, -0.5, 13.5, "Bunch crossing");
65  MEMap4Inf(this, "occ", "Trigger Primitive Occupancy ", 1, -0.5, 1.5, 1, 0.5, 1.5, "Pad number", "i#eta");
67  "pad",
68  "Trigger Primitive Pad Number and BX ",
69  1536,
70  0.5,
71  1536.5,
72  15,
73  -0.5,
74  15 - 0.5,
75  "Pad number",
76  "Cluster BX");
78  MEMap4Inf(this, "cls", "Trigger Primitive Cluster Size ", 9, 0.5, 9 + 0.5, 1, 0.5, 1.5, "Cluster Size", "i#eta");
79 
80  ibooker.cd();
82  GenerateMEPerChamber(ibooker);
83 }
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
Definition: GEMDQMBase.h:475
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
Definition: GEMDQMBase.h:474
int initGeometry(edm::EventSetup const &iSetup)
Definition: GEMDQMBase.cc:27
int loadChambers()
Definition: GEMDQMBase.cc:56
int GenerateMEPerChamber(DQMStore::IBooker &ibooker)
Definition: GEMDQMBase.cc:195
const GEMGeometry * GEMGeometry_
Definition: GEMDQMBase.h:629

◆ dqmBeginRun()

void GEMPadDigiClusterSource::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 38 of file GEMPadDigiClusterSource.h.

38 {};

◆ fillDescriptions()

void GEMPadDigiClusterSource::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 17 of file GEMPadDigiClusterSource.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

17  {
19  desc.add<edm::InputTag>("padDigiClusterInputLabel", edm::InputTag("muonCSCDigis", "MuonGEMPadDigiCluster"));
20  desc.addUntracked<std::string>("runType", "online");
21  desc.addUntracked<std::string>("logCategory", "GEMPadDigiClusterSource");
22  desc.add<int>("bxMin", -15);
23  desc.add<int>("bxMax", 15);
24  desc.add<int>("clsMax", 9);
25  desc.add<int>("ClusterSizeBinNum", 9);
26  descriptions.add("GEMPadDigiClusterSource", desc);
27 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ ProcessWithMEMap2()

int GEMPadDigiClusterSource::ProcessWithMEMap2 ( BookingHelper bh,
ME2IdsKey  key 
)
overrideprivatevirtual

Reimplemented from GEMDQMBase.

Definition at line 85 of file GEMPadDigiClusterSource.cc.

85 { return 0; }

◆ ProcessWithMEMap2WithChamber()

int GEMPadDigiClusterSource::ProcessWithMEMap2WithChamber ( BookingHelper bh,
ME3IdsKey  key 
)
overrideprivatevirtual

Reimplemented from GEMDQMBase.

Definition at line 90 of file GEMPadDigiClusterSource.cc.

References GEMDQMBase::MEMapInfT< M, K >::bookND(), GEMDQMBase::BookingHelper::getBooker(), submitPVResolutionJobs::key, mapBXDiffPerCh_, mapPadBXDiffPerCh_, mapPadDiffPerCh_, dqm::implementation::NavigatorBase::setCurrentFolder(), and strFolderMain_.

90  {
91  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/pad_bx_difference");
93  bh.getBooker()->setCurrentFolder(strFolderMain_);
94 
95  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/pad_difference");
97  bh.getBooker()->setCurrentFolder(strFolderMain_);
98 
99  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/bx_difference");
101  bh.getBooker()->setCurrentFolder(strFolderMain_);
102 
103  return 0;
104 }
key
prepare the HTCondor submission files and eventually submit them
int bookND(BookingHelper &bh, K key)
Definition: GEMDQMBase.h:307

◆ ProcessWithMEMap2WithEta()

int GEMPadDigiClusterSource::ProcessWithMEMap2WithEta ( BookingHelper bh,
ME3IdsKey  key 
)
overrideprivatevirtual

Reimplemented from GEMDQMBase.

Definition at line 87 of file GEMPadDigiClusterSource.cc.

87 { return 0; }

◆ ProcessWithMEMap3()

int GEMPadDigiClusterSource::ProcessWithMEMap3 ( BookingHelper bh,
ME3IdsKey  key 
)
overrideprivatevirtual

Reimplemented from GEMDQMBase.

Definition at line 89 of file GEMPadDigiClusterSource.cc.

89 { return 0; }

◆ ProcessWithMEMap4WithChamber()

int GEMPadDigiClusterSource::ProcessWithMEMap4WithChamber ( BookingHelper bh,
ME4IdsKey  key 
)
overrideprivatevirtual

Reimplemented from GEMDQMBase.

Definition at line 106 of file GEMPadDigiClusterSource.cc.

References GEMDQMBase::MEMapInfT< M, K >::bookND(), GEMDQMBase::BookingHelper::getBooker(), GEMDQMBase::getNameDirLayer(), submitPVResolutionJobs::key, GEMDQMBase::key4Tokey3(), mapBXCLSPerCh_, mapPadBxPerCh_, mapPadCLSPerCh_, mapPadDigiOccPerCh_, GEMDQMBase::mapStationInfo_, GEMDQMBase::MEStationInfo::nMaxVFAT_, GEMDQMBase::MEStationInfo::nNumDigi_, GEMDQMBase::MEStationInfo::nNumEtaPartitions_, GEMDQMBase::MEMapInfT< M, K >::SetBinConfX(), GEMDQMBase::MEMapInfT< M, K >::SetBinConfY(), dqm::implementation::NavigatorBase::setCurrentFolder(), GEMDQMBase::MEMapInfT< M, K >::SetLabelForIEta(), and strFolderMain_.

106  {
107  ME3IdsKey key3 = key4Tokey3(key);
108  MEStationInfo& stationInfo = mapStationInfo_[key3];
109 
110  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/occupancy_" + getNameDirLayer(key3));
111 
112  int nNumVFATPerEta = stationInfo.nMaxVFAT_ / stationInfo.nNumEtaPartitions_;
113  int nNumCh = stationInfo.nNumDigi_;
114 
115  mapPadDigiOccPerCh_.SetBinConfX(nNumCh * nNumVFATPerEta / 2, -0.5);
116  mapPadDigiOccPerCh_.SetBinConfY(stationInfo.nNumEtaPartitions_);
119 
120  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/pads in time_" + getNameDirLayer(key3));
121  mapPadBxPerCh_.SetBinConfX(nNumCh * nNumVFATPerEta * stationInfo.nNumEtaPartitions_ / 2, -0.5);
123 
124  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/cluster size_" + getNameDirLayer(key3));
125 
126  mapPadCLSPerCh_.SetBinConfY(stationInfo.nNumEtaPartitions_);
129 
130  bh.getBooker()->setCurrentFolder(strFolderMain_ + "/bx_cluster_" + getNameDirLayer(key3));
132  bh.getBooker()->setCurrentFolder(strFolderMain_);
133  return 0;
134 }
std::map< ME3IdsKey, MEStationInfo > mapStationInfo_
Definition: GEMDQMBase.h:651
key
prepare the HTCondor submission files and eventually submit them
int SetLabelForIEta(K key, Int_t nAxis, Int_t nNumBin=-1)
Definition: GEMDQMBase.h:357
std::string getNameDirLayer(ME3IdsKey key3)
Definition: GEMDQMBase.h:746
int bookND(BookingHelper &bh, K key)
Definition: GEMDQMBase.h:307
ME3IdsKey key4Tokey3(ME4IdsKey key)
Definition: GEMDQMBase.h:596
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
void SetBinConfX(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
Definition: GEMDQMBase.h:281
void SetBinConfY(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
Definition: GEMDQMBase.h:289

Member Data Documentation

◆ fRadiusMax_

Float_t GEMPadDigiClusterSource::fRadiusMax_
private

Definition at line 75 of file GEMPadDigiClusterSource.h.

Referenced by bookHistograms().

◆ fRadiusMin_

Float_t GEMPadDigiClusterSource::fRadiusMin_
private

Definition at line 74 of file GEMPadDigiClusterSource.h.

Referenced by bookHistograms().

◆ lumiScalers_

edm::EDGetTokenT<LumiScalersCollection> GEMPadDigiClusterSource::lumiScalers_
private

Definition at line 57 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), and GEMPadDigiClusterSource().

◆ mapBXCLSPerCh_

MEMap4Inf GEMPadDigiClusterSource::mapBXCLSPerCh_
private

Definition at line 69 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap4WithChamber().

◆ mapBXDiffPerCh_

MEMap3Inf GEMPadDigiClusterSource::mapBXDiffPerCh_
private

Definition at line 60 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap2WithChamber().

◆ mapBXMidPerCh_

MEMap4Inf GEMPadDigiClusterSource::mapBXMidPerCh_
private

Definition at line 68 of file GEMPadDigiClusterSource.h.

◆ mapPadBXDiffPerCh_

MEMap3Inf GEMPadDigiClusterSource::mapPadBXDiffPerCh_
private

Definition at line 61 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap2WithChamber().

◆ mapPadBXDiffPerEtaCh_

MEMap4Inf GEMPadDigiClusterSource::mapPadBXDiffPerEtaCh_
private

Definition at line 63 of file GEMPadDigiClusterSource.h.

◆ mapPadBxPerCh_

MEMap4Inf GEMPadDigiClusterSource::mapPadBxPerCh_
private

Definition at line 65 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap4WithChamber().

◆ mapPadCLSPerCh_

MEMap4Inf GEMPadDigiClusterSource::mapPadCLSPerCh_
private

Definition at line 66 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap4WithChamber().

◆ mapPadDiffPerCh_

MEMap3Inf GEMPadDigiClusterSource::mapPadDiffPerCh_
private

Definition at line 59 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap2WithChamber().

◆ mapPadDiffPerEtaCh_

MEMap4Inf GEMPadDigiClusterSource::mapPadDiffPerEtaCh_
private

Definition at line 67 of file GEMPadDigiClusterSource.h.

◆ mapPadDigiOccPerCh_

MEMap4Inf GEMPadDigiClusterSource::mapPadDigiOccPerCh_
private

Definition at line 64 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), bookHistograms(), and ProcessWithMEMap4WithChamber().

◆ nBXMax_

Int_t GEMPadDigiClusterSource::nBXMax_
private

Definition at line 72 of file GEMPadDigiClusterSource.h.

Referenced by GEMPadDigiClusterSource().

◆ nBXMin_

Int_t GEMPadDigiClusterSource::nBXMin_
private

Definition at line 72 of file GEMPadDigiClusterSource.h.

Referenced by GEMPadDigiClusterSource().

◆ nCLSMax_

Int_t GEMPadDigiClusterSource::nCLSMax_
private

Definition at line 73 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), and GEMPadDigiClusterSource().

◆ nClusterSizeBinNum_

Int_t GEMPadDigiClusterSource::nClusterSizeBinNum_
private

Definition at line 73 of file GEMPadDigiClusterSource.h.

Referenced by GEMPadDigiClusterSource().

◆ nNumBitDigiOcc_

const int GEMPadDigiClusterSource::nNumBitDigiOcc_ = 16384
staticprivate

Definition at line 53 of file GEMPadDigiClusterSource.h.

◆ strFolderMain_

std::string GEMPadDigiClusterSource::strFolderMain_
private

◆ tagPadDigiCluster_

edm::EDGetToken GEMPadDigiClusterSource::tagPadDigiCluster_
private

Definition at line 55 of file GEMPadDigiClusterSource.h.

Referenced by analyze(), and GEMPadDigiClusterSource().