CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
SiPixelRecHitSource Class Reference

#include <SiPixelRecHitSource.h>

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

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, const edm::EventSetup &) override
 
virtual void bookMEs (DQMStore::IBooker &, const edm::EventSetup &iSetup)
 
virtual void buildStructure (edm::EventSetup const &)
 
void dqmBeginRun (const edm::Run &, edm::EventSetup const &) override
 
 SiPixelRecHitSource (const edm::ParameterSet &conf)
 
 ~SiPixelRecHitSource () 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
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Public Attributes

std::string topFolderName_
 

Private Attributes

bool bladeOn
 
edm::ParameterSet conf_
 
bool diskOn
 
int eventNo
 
bool firstRun
 
bool isPIB
 
bool isUpgrade
 
bool ladOn
 
bool layOn
 
bool modOn
 
bool phiOn
 
std::map< uint32_t, int > rechit_count
 
bool reducedSet
 
bool ringOn
 
bool saveFile
 
bool slowDown
 
edm::EDGetTokenT< SiPixelRecHitCollectionsrc_
 
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
 
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordtrackerGeomTokenBeginRun_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtrackerTopoTokenBeginRun_
 
bool twoDimOn
 

Additional Inherited Members

- 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 >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- 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 inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Description: header file for Pixel Monitor Rec Hits

Usage: see description

Definition at line 42 of file SiPixelRecHitSource.h.

Constructor & Destructor Documentation

◆ SiPixelRecHitSource()

SiPixelRecHitSource::SiPixelRecHitSource ( const edm::ParameterSet conf)
explicit

Definition at line 49 of file SiPixelRecHitSource.cc.

50  : conf_(iConfig),
51  src_(consumes<SiPixelRecHitCollection>(conf_.getParameter<edm::InputTag>("src"))),
52  trackerTopoTokenBeginRun_(esConsumes<TrackerTopology, TrackerTopologyRcd, edm::Transition::BeginRun>()),
53  trackerGeomTokenBeginRun_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
54  saveFile(conf_.getUntrackedParameter<bool>("saveFile", false)),
55  isPIB(conf_.getUntrackedParameter<bool>("isPIB", false)),
56  slowDown(conf_.getUntrackedParameter<bool>("slowDown", false)),
57  modOn(conf_.getUntrackedParameter<bool>("modOn", true)),
58  twoDimOn(conf_.getUntrackedParameter<bool>("twoDimOn", true)),
59  reducedSet(conf_.getUntrackedParameter<bool>("reducedSet", false)),
60  ladOn(conf_.getUntrackedParameter<bool>("ladOn", false)),
61  layOn(conf_.getUntrackedParameter<bool>("layOn", false)),
62  phiOn(conf_.getUntrackedParameter<bool>("phiOn", false)),
63  ringOn(conf_.getUntrackedParameter<bool>("ringOn", false)),
64  bladeOn(conf_.getUntrackedParameter<bool>("bladeOn", false)),
65  diskOn(conf_.getUntrackedParameter<bool>("diskOn", false)),
66  isUpgrade(conf_.getUntrackedParameter<bool>("isUpgrade", false)) {
67  firstRun = true;
68  LogInfo("PixelDQM") << "SiPixelRecHitSource::SiPixelRecHitSource: Got DQM BackEnd interface" << endl;
69  topFolderName_ = conf_.getParameter<std::string>("TopFolderName");
70 }

References edm::BeginRun, conf_, firstRun, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.

◆ ~SiPixelRecHitSource()

SiPixelRecHitSource::~SiPixelRecHitSource ( )
override

Definition at line 72 of file SiPixelRecHitSource.cc.

72  {
73  // do anything here that needs to be done at desctruction time
74  // (e.g. close files, deallocate resources etc.)
75  LogInfo("PixelDQM") << "SiPixelRecHitSource::~SiPixelRecHitSource: Destructor" << endl;
76  std::map<uint32_t, SiPixelRecHitModule *>::iterator struct_iter;
77  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
78  delete struct_iter->second;
79  struct_iter->second = nullptr;
80  }
81 }

References thePixelStructure.

Member Function Documentation

◆ analyze()

void SiPixelRecHitSource::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 105 of file SiPixelRecHitSource.cc.

105  {
106  eventNo++;
107  // cout << eventNo << endl;
108  // get input data
110  iEvent.getByToken(src_, recHitColl);
111 
112  std::map<uint32_t, SiPixelRecHitModule *>::iterator struct_iter;
113  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
114  uint32_t TheID = (*struct_iter).first;
115 
117 
118  // if( pixelrechitRangeIteratorBegin == pixelrechitRangeIteratorEnd) {cout
119  // << "oops" << endl;}
120  float rechit_x = 0;
121  float rechit_y = 0;
122  int rechit_count = 0;
123 
124  if (match != recHitColl->end()) {
125  SiPixelRecHitCollection::DetSet pixelrechitRange = *match;
126  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorBegin = pixelrechitRange.begin();
127  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorEnd = pixelrechitRange.end();
128  SiPixelRecHitCollection::DetSet::const_iterator pixeliter = pixelrechitRangeIteratorBegin;
129 
130  for (; pixeliter != pixelrechitRangeIteratorEnd; pixeliter++) {
131  rechit_count++;
132  // cout << TheID << endl;
133  SiPixelRecHit::ClusterRef const &clust = pixeliter->cluster();
134  int sizeX = (*clust).sizeX();
135  // cout << sizeX << endl;
136  int sizeY = (*clust).sizeY();
137  // cout << sizeY << endl;
138  LocalPoint lp = pixeliter->localPosition();
139  rechit_x = lp.x();
140  rechit_y = lp.y();
141 
142  LocalError lerr = pixeliter->localPositionError();
143  float lerr_x = sqrt(lerr.xx());
144  float lerr_y = sqrt(lerr.yy());
145  // std::cout << "errors " << lerr_x << " " << lerr_y << std::endl;
146  (*struct_iter)
147  .second->fill(rechit_x,
148  rechit_y,
149  sizeX,
150  sizeY,
151  lerr_x,
152  lerr_y,
153  modOn,
154  ladOn,
155  layOn,
156  phiOn,
157  bladeOn,
158  diskOn,
159  ringOn,
160  twoDimOn,
161  reducedSet);
162  }
163  }
164  if (rechit_count > 0)
165  (*struct_iter).second->nfill(rechit_count, modOn, ladOn, layOn, phiOn, bladeOn, diskOn, ringOn);
166  }
167 
168  // slow down...
169  if (slowDown)
170  usleep(10000);
171 }

References edmNew::DetSet< T >::begin(), bladeOn, diskOn, edmNew::DetSet< T >::end(), edmNew::DetSetVector< T >::end(), eventNo, edmNew::DetSetVector< T >::find(), iEvent, ladOn, layOn, match(), modOn, phiOn, rechit_count, reducedSet, ringOn, RecoTauValidation_cfi::sizeX, RecoTauValidation_cfi::sizeY, slowDown, mathSSE::sqrt(), src_, thePixelStructure, twoDimOn, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().

◆ bookHistograms()

void SiPixelRecHitSource::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
const edm::EventSetup iSetup 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 98 of file SiPixelRecHitSource.cc.

98  {
99  bookMEs(iBooker, iSetup);
100 }

References bookMEs().

◆ bookMEs()

void SiPixelRecHitSource::bookMEs ( DQMStore::IBooker iBooker,
const edm::EventSetup iSetup 
)
virtual

Create folder tree and book histograms

Definition at line 242 of file SiPixelRecHitSource.cc.

242  {
243  std::map<uint32_t, SiPixelRecHitModule *>::iterator struct_iter;
244 
245  SiPixelFolderOrganizer theSiPixelFolder(false);
246 
248  const TrackerTopology *pTT = tTopoHandle.product();
249 
250  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
252  if (modOn) {
253  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 0, isUpgrade)) {
254  (*struct_iter).second->book(conf_, iBooker, pTT, 0, twoDimOn, reducedSet, isUpgrade);
255  } else {
256  if (!isPIB)
257  throw cms::Exception("LogicError") << "[SiPixelDigiSource::bookMEs] Creation of DQM folder failed";
258  }
259  }
260  if (ladOn) {
261  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 1, isUpgrade)) {
262  (*struct_iter).second->book(conf_, iBooker, pTT, 1, twoDimOn, reducedSet, isUpgrade);
263  } else {
264  LogDebug("PixelDQM") << "PROBLEM WITH LADDER-FOLDER\n";
265  }
266  }
267  if (layOn) {
268  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 2, isUpgrade)) {
269  (*struct_iter).second->book(conf_, iBooker, pTT, 2, twoDimOn, reducedSet, isUpgrade);
270  } else {
271  LogDebug("PixelDQM") << "PROBLEM WITH LAYER-FOLDER\n";
272  }
273  }
274  if (phiOn) {
275  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 3, isUpgrade)) {
276  (*struct_iter).second->book(conf_, iBooker, pTT, 3, twoDimOn, reducedSet, isUpgrade);
277  } else {
278  LogDebug("PixelDQM") << "PROBLEM WITH PHI-FOLDER\n";
279  }
280  }
281  if (bladeOn) {
282  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 4, isUpgrade)) {
283  (*struct_iter).second->book(conf_, iBooker, pTT, 4, twoDimOn, reducedSet, isUpgrade);
284  } else {
285  LogDebug("PixelDQM") << "PROBLEM WITH BLADE-FOLDER\n";
286  }
287  }
288  if (diskOn) {
289  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 5, isUpgrade)) {
290  (*struct_iter).second->book(conf_, iBooker, pTT, 5, twoDimOn, reducedSet, isUpgrade);
291  } else {
292  LogDebug("PixelDQM") << "PROBLEM WITH DISK-FOLDER\n";
293  }
294  }
295  if (ringOn) {
296  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 6, isUpgrade)) {
297  (*struct_iter).second->book(conf_, iBooker, pTT, 6, twoDimOn, reducedSet, isUpgrade);
298  } else {
299  LogDebug("PixelDQM") << "PROBLEM WITH RING-FOLDER\n";
300  }
301  }
302  }
303 }

References bladeOn, conf_, diskOn, Exception, edm::EventSetup::getHandle(), isPIB, isUpgrade, ladOn, layOn, LogDebug, modOn, phiOn, edm::ESHandle< T >::product(), reducedSet, ringOn, SiPixelFolderOrganizer::setModuleFolder(), thePixelStructure, trackerTopoTokenBeginRun_, and twoDimOn.

Referenced by bookHistograms().

◆ buildStructure()

void SiPixelRecHitSource::buildStructure ( edm::EventSetup const &  iSetup)
virtual

Definition at line 176 of file SiPixelRecHitSource.cc.

176  {
177  LogInfo("PixelDQM") << " SiPixelRecHitSource::buildStructure";
178 
180 
181  edm::ESHandle<TrackerTopology> tTopoHandle = iSetup.getHandle(trackerTopoTokenBeginRun_);
182  const TrackerTopology *pTT = tTopoHandle.product();
183 
184  LogVerbatim("PixelDQM") << " *** Geometry node for TrackerGeom is " << &(*pDD) << std::endl;
185  LogVerbatim("PixelDQM") << " *** I have " << pDD->dets().size() << " detectors" << std::endl;
186  LogVerbatim("PixelDQM") << " *** I have " << pDD->detTypes().size() << " types" << std::endl;
187 
188  for (TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++) {
189  if (dynamic_cast<PixelGeomDetUnit const *>((*it)) != nullptr) {
190  DetId detId = (*it)->geographicalId();
191 
192  if ((detId.subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel)) ||
193  (detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap))) {
194  uint32_t id = detId();
195 
196  if (detId.subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel)) {
197  if (isPIB)
198  continue;
199  LogDebug("PixelDQM") << " ---> Adding Barrel Module " << detId.rawId() << endl;
200  SiPixelRecHitModule *theModule = new SiPixelRecHitModule(id);
201  thePixelStructure.insert(pair<uint32_t, SiPixelRecHitModule *>(id, theModule));
202 
203  } else if ((detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap))) {
204  LogDebug("PixelDQM") << " ---> Adding Endcap Module " << detId.rawId() << endl;
205 
207  int disk = PixelEndcapName(DetId(id), pTT, isUpgrade).diskName();
208  int blade = PixelEndcapName(DetId(id), pTT, isUpgrade).bladeName();
209  int panel = PixelEndcapName(DetId(id), pTT, isUpgrade).pannelName();
210  int module = PixelEndcapName(DetId(id), pTT, isUpgrade).plaquetteName();
211 
212  char sside[80];
213  sprintf(sside, "HalfCylinder_%i", side);
214  char sdisk[80];
215  sprintf(sdisk, "Disk_%i", disk);
216  char sblade[80];
217  sprintf(sblade, "Blade_%02i", blade);
218  char spanel[80];
219  sprintf(spanel, "Panel_%i", panel);
220  char smodule[80];
221  sprintf(smodule, "Module_%i", module);
222  std::string side_str = sside;
223  std::string disk_str = sdisk;
224  bool mask = side_str.find("HalfCylinder_1") != string::npos ||
225  side_str.find("HalfCylinder_2") != string::npos ||
226  side_str.find("HalfCylinder_4") != string::npos || disk_str.find("Disk_2") != string::npos;
227  if (isPIB && mask)
228  continue;
229 
230  SiPixelRecHitModule *theModule = new SiPixelRecHitModule(id);
231  thePixelStructure.insert(pair<uint32_t, SiPixelRecHitModule *>(id, theModule));
232  }
233  }
234  }
235  } // FOR_LOOP
236 
237  LogInfo("PixelDQM") << " *** Pixel Structure Size " << thePixelStructure.size() << endl;
238 }

References PixelEndcapName::bladeName(), TrackerGeometry::dets(), TrackerGeometry::detTypes(), PixelEndcapName::diskName(), edm::EventSetup::getHandle(), PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), thePixelStructure, trackerGeomTokenBeginRun_, and trackerTopoTokenBeginRun_.

Referenced by dqmBeginRun().

◆ dqmBeginRun()

void SiPixelRecHitSource::dqmBeginRun ( const edm::Run r,
edm::EventSetup const &  iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 83 of file SiPixelRecHitSource.cc.

83  {
84  LogInfo("PixelDQM") << " SiPixelRecHitSource::beginJob - Initialisation ... " << std::endl;
85  LogInfo("PixelDQM") << "Mod/Lad/Lay/Phi " << modOn << "/" << ladOn << "/" << layOn << "/" << phiOn << std::endl;
86  LogInfo("PixelDQM") << "Blade/Disk/Ring" << bladeOn << "/" << diskOn << "/" << ringOn << std::endl;
87  LogInfo("PixelDQM") << "2DIM IS " << twoDimOn << "\n";
88 
89  if (firstRun) {
90  eventNo = 0;
91  // Build map
92  buildStructure(iSetup);
93  // Book Monitoring Elements
94  firstRun = false;
95  }
96 }

References bladeOn, buildStructure(), diskOn, eventNo, firstRun, ladOn, layOn, modOn, phiOn, ringOn, and twoDimOn.

Member Data Documentation

◆ bladeOn

bool SiPixelRecHitSource::bladeOn
private

Definition at line 76 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ conf_

edm::ParameterSet SiPixelRecHitSource::conf_
private

Definition at line 59 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and SiPixelRecHitSource().

◆ diskOn

bool SiPixelRecHitSource::diskOn
private

Definition at line 76 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ eventNo

int SiPixelRecHitSource::eventNo
private

Definition at line 67 of file SiPixelRecHitSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ firstRun

bool SiPixelRecHitSource::firstRun
private

Definition at line 78 of file SiPixelRecHitSource.h.

Referenced by dqmBeginRun(), and SiPixelRecHitSource().

◆ isPIB

bool SiPixelRecHitSource::isPIB
private

Definition at line 65 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and buildStructure().

◆ isUpgrade

bool SiPixelRecHitSource::isUpgrade
private

Definition at line 79 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and buildStructure().

◆ ladOn

bool SiPixelRecHitSource::ladOn
private

Definition at line 74 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ layOn

bool SiPixelRecHitSource::layOn
private

Definition at line 74 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ modOn

bool SiPixelRecHitSource::modOn
private

Definition at line 70 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ phiOn

bool SiPixelRecHitSource::phiOn
private

Definition at line 74 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ rechit_count

std::map<uint32_t, int> SiPixelRecHitSource::rechit_count
private

Definition at line 69 of file SiPixelRecHitSource.h.

Referenced by analyze().

◆ reducedSet

bool SiPixelRecHitSource::reducedSet
private

Definition at line 72 of file SiPixelRecHitSource.h.

Referenced by analyze(), and bookMEs().

◆ ringOn

bool SiPixelRecHitSource::ringOn
private

Definition at line 76 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ saveFile

bool SiPixelRecHitSource::saveFile
private

Definition at line 64 of file SiPixelRecHitSource.h.

◆ slowDown

bool SiPixelRecHitSource::slowDown
private

Definition at line 66 of file SiPixelRecHitSource.h.

Referenced by analyze().

◆ src_

edm::EDGetTokenT<SiPixelRecHitCollection> SiPixelRecHitSource::src_
private

Definition at line 60 of file SiPixelRecHitSource.h.

Referenced by analyze().

◆ thePixelStructure

std::map<uint32_t, SiPixelRecHitModule *> SiPixelRecHitSource::thePixelStructure
private

Definition at line 68 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), buildStructure(), and ~SiPixelRecHitSource().

◆ topFolderName_

std::string SiPixelRecHitSource::topFolderName_

Definition at line 56 of file SiPixelRecHitSource.h.

Referenced by SiPixelRecHitSource().

◆ trackerGeomTokenBeginRun_

edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> SiPixelRecHitSource::trackerGeomTokenBeginRun_
private

Definition at line 62 of file SiPixelRecHitSource.h.

Referenced by buildStructure().

◆ trackerTopoTokenBeginRun_

edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> SiPixelRecHitSource::trackerTopoTokenBeginRun_
private

Definition at line 61 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and buildStructure().

◆ twoDimOn

bool SiPixelRecHitSource::twoDimOn
private

Definition at line 71 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

SiPixelRecHitSource::isUpgrade
bool isUpgrade
Definition: SiPixelRecHitSource.h:79
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
SiPixelRecHitSource::trackerTopoTokenBeginRun_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoTokenBeginRun_
Definition: SiPixelRecHitSource.h:61
SiPixelRecHitSource::firstRun
bool firstRun
Definition: SiPixelRecHitSource.h:78
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SiPixelRecHitSource::isPIB
bool isPIB
Definition: SiPixelRecHitSource.h:65
SiPixelRecHitModule
Definition: SiPixelRecHitModule.h:36
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
SiPixelRecHitSource::diskOn
bool diskOn
Definition: SiPixelRecHitSource.h:76
TrackerTopology
Definition: TrackerTopology.h:16
edmNew::DetSetVector::const_iterator
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
Definition: DetSetVectorNew.h:197
SiPixelRecHitSource::bladeOn
bool bladeOn
Definition: SiPixelRecHitSource.h:76
SiPixelRecHitSource::trackerGeomTokenBeginRun_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomTokenBeginRun_
Definition: SiPixelRecHitSource.h:62
TrackerGeometry::detTypes
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
Definition: TrackerGeometry.h:60
PixelEndcapName::halfCylinder
HalfCylinder halfCylinder() const
Definition: PixelEndcapName.h:42
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
SiPixelRecHitSource::modOn
bool modOn
Definition: SiPixelRecHitSource.h:70
PixelEndcapName::pannelName
int pannelName() const
pannel id
Definition: PixelEndcapName.h:51
edm::Handle
Definition: AssociativeIterator.h:50
PixelEndcapName::bladeName
int bladeName() const
blade id
Definition: PixelEndcapName.h:48
edm::Ref
Definition: AssociativeIterator.h:58
DetId
Definition: DetId.h:17
edmNew::DetSet::end
iterator end()
Definition: DetSetNew.h:56
edmNew::DetSetVector::find
const_iterator find(id_type i, bool update=false) const
Definition: DetSetVectorNew.h:518
PixelEndcapName
Definition: PixelEndcapName.h:16
SiPixelRecHitSource::twoDimOn
bool twoDimOn
Definition: SiPixelRecHitSource.h:71
LocalError::xx
float xx() const
Definition: LocalError.h:22
SiPixelRecHitSource::saveFile
bool saveFile
Definition: SiPixelRecHitSource.h:64
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
SiPixelRecHitSource::thePixelStructure
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
Definition: SiPixelRecHitSource.h:68
edm::ESHandle< TrackerTopology >
edmNew::DetSet
Definition: DetSetNew.h:22
RecoTauValidation_cfi.sizeY
sizeY
Definition: RecoTauValidation_cfi.py:291
SiPixelRecHitSource::layOn
bool layOn
Definition: SiPixelRecHitSource.h:74
Point3DBase< float, LocalTag >
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRecHitSource::phiOn
bool phiOn
Definition: SiPixelRecHitSource.h:74
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
RecoTauValidation_cfi.sizeX
sizeX
Definition: RecoTauValidation_cfi.py:290
SiPixelRecHitSource::bookMEs
virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup &iSetup)
Definition: SiPixelRecHitSource.cc:242
LocalError
Definition: LocalError.h:12
SiPixelRecHitSource::topFolderName_
std::string topFolderName_
Definition: SiPixelRecHitSource.h:56
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
SiPixelRecHitSource::eventNo
int eventNo
Definition: SiPixelRecHitSource.h:67
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
iEvent
int iEvent
Definition: GenABIO.cc:224
SiPixelRecHitSource::src_
edm::EDGetTokenT< SiPixelRecHitCollection > src_
Definition: SiPixelRecHitSource.h:60
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
SiPixelRecHitSource::ladOn
bool ladOn
Definition: SiPixelRecHitSource.h:74
edmNew::DetSet::begin
iterator begin()
Definition: DetSetNew.h:54
TrackerGeometry::dets
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
Definition: TrackerGeometry.h:62
SiPixelRecHitSource::rechit_count
std::map< uint32_t, int > rechit_count
Definition: SiPixelRecHitSource.h:69
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
SiPixelRecHitSource::slowDown
bool slowDown
Definition: SiPixelRecHitSource.h:66
PixelEndcapName::HalfCylinder
HalfCylinder
Definition: PixelEndcapName.h:18
PixelEndcapName::diskName
int diskName() const
disk id
Definition: PixelEndcapName.h:45
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
edmNew::DetSetVector::end
const_iterator end(bool update=false) const
Definition: DetSetVectorNew.h:535
SiPixelRecHitSource::buildStructure
virtual void buildStructure(edm::EventSetup const &)
Definition: SiPixelRecHitSource.cc:176
Exception
Definition: hltDiff.cc:245
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
SiPixelRecHitSource::conf_
edm::ParameterSet conf_
Definition: SiPixelRecHitSource.h:59
SiPixelRecHitSource::ringOn
bool ringOn
Definition: SiPixelRecHitSource.h:76
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
SiPixelRecHitSource::reducedSet
bool reducedSet
Definition: SiPixelRecHitSource.h:72
PixelEndcapName::plaquetteName
int plaquetteName() const
plaquetteId (in pannel)
Definition: PixelEndcapName.h:54
LocalError::yy
float yy() const
Definition: LocalError.h:24
edm::InputTag
Definition: InputTag.h:15