CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
MonitorTrackResidualsBase< pixel_or_strip > Class Template Reference

#include <MonitorTrackResiduals.h>

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

Classes

struct  HistoPair
 
struct  HistoXY
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 
 MonitorTrackResidualsBase (const edm::ParameterSet &)
 
 ~MonitorTrackResidualsBase () 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 hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Types

typedef std::map< std::pair< std::string, int32_t >, HistoXYHistoSet
 

Private Member Functions

void createMEs (DQMStore::IBooker &, const edm::EventSetup &)
 
std::pair< std::string, int32_t > findSubdetAndLayer (uint32_t ModuleID, const TrackerTopology *tTopo)
 

Private Attributes

TrackerValidationVariables avalidator_
 
edm::ParameterSet conf_
 
GenericTriggerEventFlaggenTriggerEventFlag_
 
unsigned long long m_cacheID_
 
HistoSet m_ModuleResiduals
 
HistoSet m_SubdetLayerResiduals
 
bool ModOn
 
edm::EDGetTokenT< reco::VertexCollectionofflinePrimaryVerticesToken_
 
edm::ParameterSet Parameters
 
edm::ESGetToken< TkDetMap, TrackerTopologyRcdtkDetMapToken_
 
std::unique_ptr< TkHistoMaptkhisto_ResidualsMean
 
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordtrackerGeometryToken_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtrackerTopologyEventToken_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtrackerTopologyRunToken_
 

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

template<TrackerType pixel_or_strip>
class MonitorTrackResidualsBase< pixel_or_strip >

Definition at line 45 of file MonitorTrackResiduals.h.

Member Typedef Documentation

◆ HistoSet

template<TrackerType pixel_or_strip>
typedef std::map<std::pair<std::string, int32_t>, HistoXY> MonitorTrackResidualsBase< pixel_or_strip >::HistoSet
private

Definition at line 71 of file MonitorTrackResiduals.h.

Constructor & Destructor Documentation

◆ MonitorTrackResidualsBase()

template<TrackerType pixel_or_strip>
MonitorTrackResidualsBase< pixel_or_strip >::MonitorTrackResidualsBase ( const edm::ParameterSet iConfig)
explicit

Definition at line 15 of file MonitorTrackResiduals.cc.

16  : conf_(iConfig),
17  tkDetMapToken_{esConsumes<TkDetMap, TrackerTopologyRcd, edm::Transition::BeginRun>()},
18  trackerTopologyRunToken_{esConsumes<TrackerTopology, TrackerTopologyRcd, edm::Transition::BeginRun>()},
19  trackerGeometryToken_{esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()},
20  trackerTopologyEventToken_{esConsumes<TrackerTopology, TrackerTopologyRcd>()},
21  m_cacheID_(0),
23  iConfig.getParameter<edm::ParameterSet>("genericTriggerEventPSet"), consumesCollector(), *this)),
24  avalidator_(iConfig, consumesCollector()) {
25  ModOn = conf_.getParameter<bool>("Mod_On");
26  offlinePrimaryVerticesToken_ = consumes<reco::VertexCollection>(std::string("offlinePrimaryVertices"));
27 }

◆ ~MonitorTrackResidualsBase()

template<TrackerType pixel_or_strip>
MonitorTrackResidualsBase< pixel_or_strip >::~MonitorTrackResidualsBase ( )
override

Definition at line 30 of file MonitorTrackResiduals.cc.

30  {
32  delete genTriggerEventFlag_;
33 }

Member Function Documentation

◆ analyze()

template<TrackerType pixel_or_strip>
void MonitorTrackResidualsBase< pixel_or_strip >::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 231 of file MonitorTrackResiduals.cc.

231  {
232  auto vtracks = std::vector<TrackerValidationVariables::AVTrackStruct>();
233  // Filter out events if Trigger Filtering is requested
235  return;
236 
239  if (!vertices.isValid() || vertices->empty())
240  return;
241  const auto primaryVertex = vertices->at(0);
242 
243  // Retrieve tracker topology from geometry
244  const TrackerTopology *const tTopo = &iSetup.getData(trackerTopologyEventToken_);
245 
247  iEvent,
248  iSetup,
249  // tell the validator to only look at good tracks
250  [&](const reco::Track &track) -> bool {
251  return track.pt() > 0.75 && abs(track.dxy(primaryVertex.position())) < 5 * track.dxyError();
252  },
253  vtracks);
254 
255  for (auto &track : vtracks) {
256  for (auto &it : track.hits) {
257  uint RawId = it.rawDetId;
258 
259  auto id = DetId(RawId);
260  auto isPixel = id.subdetId() == 1 || id.subdetId() == 2;
261  if (isPixel != (pixel_or_strip == TRACKERTYPE_PIXEL))
262  continue;
263 
264  if (ModOn) {
265  auto &mod_histos = m_ModuleResiduals[std::make_pair("", RawId)];
266  mod_histos.x.base->Fill(it.resXprime);
267  mod_histos.x.normed->Fill(it.resXprime / it.resXprimeErr);
268  mod_histos.y.base->Fill(it.resYprime);
269  mod_histos.y.normed->Fill(it.resYprime / it.resYprimeErr);
270  }
271 
272  auto subdetandlayer = findSubdetAndLayer(RawId, tTopo);
273  auto histos = m_SubdetLayerResiduals[subdetandlayer];
274  // fill if its error is not zero
275  if (it.resXprimeErr != 0 && histos.x.base) {
276  histos.x.base->Fill(it.resXprime);
277  histos.x.normed->Fill(it.resXprime / it.resXprimeErr);
278  if (!isPixel)
279  tkhisto_ResidualsMean->fill(RawId, it.resXprime);
280  }
281  if (it.resYprimeErr != 0 && histos.y.base) {
282  histos.y.base->Fill(it.resYprime);
283  histos.y.normed->Fill(it.resYprime / it.resYprimeErr);
284  }
285  }
286  }
287 }

References funct::abs(), edm::EventSetup::getData(), combine::histos, iEvent, fastTrackerRecHitType::isPixel(), BeamMonitor_cff::primaryVertex, HLT_2018_cff::track, TRACKERTYPE_PIXEL, parallelization::uint, and pwdgSkimBPark_cfi::vertices.

◆ bookHistograms()

template<TrackerType pixel_or_strip>
void MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  run,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 36 of file MonitorTrackResiduals.cc.

38  {
39  unsigned long long cacheID = iSetup.get<TrackerDigiGeometryRecord>().cacheIdentifier();
40  if (m_cacheID_ != cacheID) {
41  m_cacheID_ = cacheID;
42  this->createMEs(ibooker, iSetup);
43  }
44  std::string topFolderName_ = "SiStrip";
45  SiStripFolderOrganizer folder_organizer;
46  folder_organizer.setSiStripFolderName(topFolderName_);
47  const TkDetMap *tkDetMap = &iSetup.getData(tkDetMapToken_);
49  std::make_unique<TkHistoMap>(tkDetMap, ibooker, topFolderName_, "TkHMap_ResidualsMean", 0.0, true);
50 }

References edm::EventSetup::get(), edm::EventSetup::getData(), SiStripFolderOrganizer::setSiStripFolderName(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ createMEs()

template<TrackerType pixel_or_strip>
void MonitorTrackResidualsBase< pixel_or_strip >::createMEs ( DQMStore::IBooker ibooker,
const edm::EventSetup iSetup 
)
private

Definition at line 101 of file MonitorTrackResiduals.cc.

101  {
102  // Retrieve tracker topology and geometry
103  const TrackerTopology *const tTopo = &iSetup.getData(trackerTopologyRunToken_);
104  const TrackerGeometry *TG = &iSetup.getData(trackerGeometryToken_);
105 
106  Parameters = conf_.getParameter<edm::ParameterSet>("TH1ResModules");
107  int32_t i_residuals_Nbins = Parameters.getParameter<int32_t>("Nbinx");
108  double d_residual_xmin = Parameters.getParameter<double>("xmin");
109  double d_residual_xmax = Parameters.getParameter<double>("xmax");
110  Parameters = conf_.getParameter<edm::ParameterSet>("TH1NormResModules");
111  int32_t i_normres_Nbins = Parameters.getParameter<int32_t>("Nbinx");
112  double d_normres_xmin = Parameters.getParameter<double>("xmin");
113  double d_normres_xmax = Parameters.getParameter<double>("xmax");
114 
115  // use SistripHistoId for producing histogram id (and title)
116  SiStripHistoId hidmanager;
117 
118  SiStripFolderOrganizer strip_organizer;
119  auto pixel_organizer = SiPixelFolderOrganizer(false);
120 
121  // Collect list of modules from Tracker Geometry
122  // book histo per each detector module
123  auto ids = TG->detIds(); // or detUnitIds?
124  for (DetId id : ids) {
125  auto ModuleID = id.rawId();
126  auto isPixel = id.subdetId() == 1 || id.subdetId() == 2;
127  if (isPixel != (pixel_or_strip == TRACKERTYPE_PIXEL))
128  continue;
129 
130  // Book module histogramms?
131  if (ModOn) {
132  switch (id.subdetId()) {
133  case 1:
134  pixel_organizer.setModuleFolder(ibooker, ModuleID, 0);
135  break;
136  case 2:
137  pixel_organizer.setModuleFolder(ibooker, ModuleID, 0);
138  break;
139  default:
140  strip_organizer.setDetectorFolder(ModuleID, tTopo);
141  }
142  {
143  // this sounds strip specific but also works for pixel
144  std::string hid = hidmanager.createHistoId("HitResidualsX", "det", ModuleID);
145  std::string normhid = hidmanager.createHistoId("NormalizedHitResidualsX", "det", ModuleID);
146  auto &histos = m_ModuleResiduals[std::make_pair("", ModuleID)];
147  histos.x.base = ibooker.book1D(hid, hid, i_residuals_Nbins, d_residual_xmin, d_residual_xmax);
148  histos.x.base->setAxisTitle("(x_{pred} - x_{rec})' [cm]");
149  histos.x.normed = ibooker.book1D(normhid, normhid, i_normres_Nbins, d_normres_xmin, d_normres_xmax);
150  histos.x.normed->setAxisTitle("(x_{pred} - x_{rec})'/#sigma");
151  }
152  {
153  std::string hid = hidmanager.createHistoId("HitResidualsY", "det", ModuleID);
154  std::string normhid = hidmanager.createHistoId("NormalizedHitResidualsY", "det", ModuleID);
155  auto &histos = m_ModuleResiduals[std::make_pair("", ModuleID)];
156  histos.y.base = ibooker.book1D(hid, hid, i_residuals_Nbins, d_residual_xmin, d_residual_xmax);
157  histos.y.base->setAxisTitle("(y_{pred} - y_{rec})' [cm]");
158  histos.y.normed = ibooker.book1D(normhid, normhid, i_normres_Nbins, d_normres_xmin, d_normres_xmax);
159  histos.y.normed->setAxisTitle("(y_{pred} - y_{rec})'/#sigma");
160  }
161  }
162 
163  auto subdetandlayer = findSubdetAndLayer(ModuleID, tTopo);
164  if (m_SubdetLayerResiduals.find(subdetandlayer) == m_SubdetLayerResiduals.end()) {
165  // add new histograms
166  auto &histos = m_SubdetLayerResiduals[subdetandlayer];
167  switch (id.subdetId()) {
168  // Pixel Barrel, Endcap
169  // We can't use the folder organizer here (SiPixelActionExecutor.cc#1638
170  // does the same)
171  case 1:
172  ibooker.setCurrentFolder("Pixel/Barrel");
173  break;
174  case 2:
175  ibooker.setCurrentFolder("Pixel/Endcap");
176  break;
177  // All strip
178  default:
179  strip_organizer.setLayerFolder(ModuleID, tTopo, subdetandlayer.second);
180  }
181 
182  auto isBarrel = subdetandlayer.first.find("B") != std::string::npos;
183 
184  auto xy = std::vector<std::pair<HistoPair &, const char *>>{std::make_pair(std::ref(histos.x), "X"),
185  std::make_pair(std::ref(histos.y), "Y")};
186  for (auto &histopair : xy) {
187  // book histogramms on layer level, check for barrel/pixel only for
188  // correct labeling
189 
190  // Skip the Y plots for strips.
191  if (!isPixel && histopair.second[0] == 'Y')
192  continue;
193 
194  std::string histoname = isPixel ? ( // Pixel name
195  Form("HitResiduals%s_%s%d",
196  histopair.second,
197  isBarrel ? "L" : (subdetandlayer.second > 0 ? "Dp" : "Dm"),
198  std::abs(subdetandlayer.second)))
199  : (Form("HitResiduals_%s__%s__%d", // Strip TODO: We use a
200  // legacy name.
201  subdetandlayer.first.c_str(),
202  isBarrel ? "Layer" : "wheel",
203  std::abs(subdetandlayer.second)));
204 
205  std::string histotitle = Form("HitResiduals %s on %s%s full %s %d",
206  histopair.second,
207  subdetandlayer.first.c_str(),
208  isBarrel ? "" : (subdetandlayer.second > 0 ? "+" : "-"),
209  isBarrel ? "Layer" : (isPixel ? "Disk" : "Wheel"),
210  std::abs(subdetandlayer.second));
211 
212  std::string normhistoname = Form("Normalized%s", histoname.c_str());
213  std::string normhistotitle = Form("Normalized%s", histotitle.c_str());
214 
215  // std::cout << "##### Booking: " << ibooker.pwd() << " title " <<
216  // histoname << std::endl;
217 
218  histopair.first.base =
219  ibooker.book1D(histoname.c_str(), histotitle.c_str(), i_residuals_Nbins, d_residual_xmin, d_residual_xmax);
220  histopair.first.base->setAxisTitle("(x_{pred} - x_{rec})' [cm]");
221 
222  histopair.first.normed = ibooker.book1D(
223  normhistoname.c_str(), normhistotitle.c_str(), i_normres_Nbins, d_normres_xmin, d_normres_xmax);
224  histopair.first.normed->setAxisTitle("(x_{pred} - x_{rec})'/#sigma");
225  }
226  }
227  } // end loop over activeDets
228 }

References funct::abs(), dqm::implementation::IBooker::book1D(), TrackerGeometry::detIds(), edm::EventSetup::getData(), edm::ParameterSet::getParameter(), combine::histos, PixelPluginsPhase0_cfi::isBarrel, fastTrackerRecHitType::isPixel(), dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), SiStripFolderOrganizer::setDetectorFolder(), SiStripFolderOrganizer::setLayerFolder(), AlCaHLTBitMon_QueryRunRegistry::string, TRACKERTYPE_PIXEL, and geometryCSVtoXML::xy.

◆ dqmBeginRun()

template<TrackerType pixel_or_strip>
void MonitorTrackResidualsBase< pixel_or_strip >::dqmBeginRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 53 of file MonitorTrackResiduals.cc.

53  {
54  // Initialize the GenericTriggerEventFlag
55  if (genTriggerEventFlag_->on())
57 }

References writedatasetfile::run.

◆ findSubdetAndLayer()

template<TrackerType pixel_or_strip>
std::pair< std::string, int32_t > MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer ( uint32_t  ModuleID,
const TrackerTopology tTopo 
)
private

Definition at line 60 of file MonitorTrackResiduals.cc.

61  {
62  std::string subdet = "";
63  int32_t layer = 0;
64  auto id = DetId(ModuleID);
65  switch (id.subdetId()) {
66  // Pixel Barrel, Endcap
67  case 1:
68  subdet = "BPIX";
69  layer = tTopo->pxbLayer(id);
70  break;
71  case 2:
72  subdet = "FPIX";
73  layer = tTopo->pxfDisk(id) * (tTopo->pxfSide(ModuleID) == 1 ? -1 : +1);
74  break;
75  // Strip TIB, TID, TOB, TEC
76  case 3:
77  subdet = "TIB";
78  layer = tTopo->tibLayer(id);
79  break;
80  case 4:
81  subdet = "TID";
82  layer = tTopo->tidWheel(id) * (tTopo->tidSide(ModuleID) == 1 ? -1 : +1);
83  break;
84  case 5:
85  subdet = "TOB";
86  layer = tTopo->tobLayer(id);
87  break;
88  case 6:
89  subdet = "TEC";
90  layer = tTopo->tecWheel(id) * (tTopo->tecSide(ModuleID) == 1 ? -1 : +1);
91  break;
92  default:
93  // TODO: Fail loudly.
94  subdet = "UNKNOWN";
95  layer = 0;
96  }
97  return std::make_pair(subdet, layer);
98 }

References TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and TrackerTopology::tobLayer().

Member Data Documentation

◆ avalidator_

template<TrackerType pixel_or_strip>
TrackerValidationVariables MonitorTrackResidualsBase< pixel_or_strip >::avalidator_
private

Definition at line 90 of file MonitorTrackResiduals.h.

◆ conf_

template<TrackerType pixel_or_strip>
edm::ParameterSet MonitorTrackResidualsBase< pixel_or_strip >::conf_
private

Definition at line 77 of file MonitorTrackResiduals.h.

◆ genTriggerEventFlag_

template<TrackerType pixel_or_strip>
GenericTriggerEventFlag* MonitorTrackResidualsBase< pixel_or_strip >::genTriggerEventFlag_
private

Definition at line 89 of file MonitorTrackResiduals.h.

◆ m_cacheID_

template<TrackerType pixel_or_strip>
unsigned long long MonitorTrackResidualsBase< pixel_or_strip >::m_cacheID_
private

Definition at line 86 of file MonitorTrackResiduals.h.

◆ m_ModuleResiduals

template<TrackerType pixel_or_strip>
HistoSet MonitorTrackResidualsBase< pixel_or_strip >::m_ModuleResiduals
private

Definition at line 74 of file MonitorTrackResiduals.h.

◆ m_SubdetLayerResiduals

template<TrackerType pixel_or_strip>
HistoSet MonitorTrackResidualsBase< pixel_or_strip >::m_SubdetLayerResiduals
private

Definition at line 73 of file MonitorTrackResiduals.h.

◆ ModOn

template<TrackerType pixel_or_strip>
bool MonitorTrackResidualsBase< pixel_or_strip >::ModOn
private

Definition at line 87 of file MonitorTrackResiduals.h.

◆ offlinePrimaryVerticesToken_

template<TrackerType pixel_or_strip>
edm::EDGetTokenT<reco::VertexCollection> MonitorTrackResidualsBase< pixel_or_strip >::offlinePrimaryVerticesToken_
private

Definition at line 79 of file MonitorTrackResiduals.h.

◆ Parameters

template<TrackerType pixel_or_strip>
edm::ParameterSet MonitorTrackResidualsBase< pixel_or_strip >::Parameters
private

Definition at line 78 of file MonitorTrackResiduals.h.

◆ tkDetMapToken_

template<TrackerType pixel_or_strip>
edm::ESGetToken<TkDetMap, TrackerTopologyRcd> MonitorTrackResidualsBase< pixel_or_strip >::tkDetMapToken_
private

Definition at line 81 of file MonitorTrackResiduals.h.

◆ tkhisto_ResidualsMean

template<TrackerType pixel_or_strip>
std::unique_ptr<TkHistoMap> MonitorTrackResidualsBase< pixel_or_strip >::tkhisto_ResidualsMean
private

Definition at line 75 of file MonitorTrackResiduals.h.

◆ trackerGeometryToken_

template<TrackerType pixel_or_strip>
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> MonitorTrackResidualsBase< pixel_or_strip >::trackerGeometryToken_
private

Definition at line 83 of file MonitorTrackResiduals.h.

◆ trackerTopologyEventToken_

template<TrackerType pixel_or_strip>
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> MonitorTrackResidualsBase< pixel_or_strip >::trackerTopologyEventToken_
private

Definition at line 84 of file MonitorTrackResiduals.h.

◆ trackerTopologyRunToken_

template<TrackerType pixel_or_strip>
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> MonitorTrackResidualsBase< pixel_or_strip >::trackerTopologyRunToken_
private

Definition at line 82 of file MonitorTrackResiduals.h.

MonitorTrackResidualsBase::findSubdetAndLayer
std::pair< std::string, int32_t > findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology *tTopo)
Definition: MonitorTrackResiduals.cc:60
TrackerTopology::pxfSide
unsigned int pxfSide(const DetId &id) const
Definition: TrackerTopology.h:192
MonitorTrackResidualsBase::m_cacheID_
unsigned long long m_cacheID_
Definition: MonitorTrackResiduals.h:86
TrackerTopology
Definition: TrackerTopology.h:16
TrackerValidationVariables::fillTrackQuantities
void fillTrackQuantities(const edm::Event &, const edm::EventSetup &, std::vector< AVTrackStruct > &v_avtrackout)
Definition: TrackerValidationVariables.cc:423
MonitorTrackResidualsBase::avalidator_
TrackerValidationVariables avalidator_
Definition: MonitorTrackResiduals.h:90
edm::Handle< reco::VertexCollection >
parallelization.uint
uint
Definition: parallelization.py:124
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
TrackerTopology::pxbLayer
unsigned int pxbLayer(const DetId &id) const
Definition: TrackerTopology.h:144
MonitorTrackResidualsBase::m_SubdetLayerResiduals
HistoSet m_SubdetLayerResiduals
Definition: MonitorTrackResiduals.h:73
BeamMonitor_cff.primaryVertex
primaryVertex
hltOfflineBeamSpot for HLTMON
Definition: BeamMonitor_cff.py:7
DetId
Definition: DetId.h:17
MonitorTrackResidualsBase::m_ModuleResiduals
HistoSet m_ModuleResiduals
Definition: MonitorTrackResiduals.h:74
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
reco::Track
Definition: Track.h:27
TkDetMap
Definition: TkDetMap.h:175
MonitorTrackResidualsBase::ModOn
bool ModOn
Definition: MonitorTrackResiduals.h:87
geometryCSVtoXML.xy
xy
Definition: geometryCSVtoXML.py:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PixelPluginsPhase0_cfi.isBarrel
isBarrel
Definition: PixelPluginsPhase0_cfi.py:17
GenericTriggerEventFlag::accept
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
Definition: GenericTriggerEventFlag.cc:264
edm::ParameterSet
Definition: ParameterSet.h:36
fastTrackerRecHitType::isPixel
bool isPixel(HitType hitType)
Definition: FastTrackerRecHit.h:37
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
iEvent
int iEvent
Definition: GenABIO.cc:224
MonitorTrackResidualsBase::tkDetMapToken_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
Definition: MonitorTrackResiduals.h:81
SiStripFolderOrganizer::setSiStripFolderName
void setSiStripFolderName(std::string name)
Definition: SiStripFolderOrganizer.cc:41
TrackerTopology::pxfDisk
unsigned int pxfDisk(const DetId &id) const
Definition: TrackerTopology.h:446
MonitorTrackResidualsBase::offlinePrimaryVerticesToken_
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
Definition: MonitorTrackResiduals.h:79
SiStripFolderOrganizer::setDetectorFolder
void setDetectorFolder(uint32_t rawdetid, const TrackerTopology *tTopo)
Definition: SiStripFolderOrganizer.cc:202
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:113
combine.histos
histos
Definition: combine.py:4
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SiStripHistoId
Definition: SiStripHistoId.h:25
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
GenericTriggerEventFlag::on
bool on()
Definition: GenericTriggerEventFlag.h:135
writedatasetfile.run
run
Definition: writedatasetfile.py:27
MonitorTrackResidualsBase::conf_
edm::ParameterSet conf_
Definition: MonitorTrackResiduals.h:77
MonitorTrackResidualsBase::createMEs
void createMEs(DQMStore::IBooker &, const edm::EventSetup &)
Definition: MonitorTrackResiduals.cc:101
MonitorTrackResidualsBase::tkhisto_ResidualsMean
std::unique_ptr< TkHistoMap > tkhisto_ResidualsMean
Definition: MonitorTrackResiduals.h:75
SiStripFolderOrganizer::setLayerFolder
void setLayerFolder(uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=false)
Definition: SiStripFolderOrganizer.cc:304
SiStripFolderOrganizer
Definition: SiStripFolderOrganizer.h:27
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
MonitorTrackResidualsBase::trackerTopologyRunToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyRunToken_
Definition: MonitorTrackResiduals.h:82
MonitorTrackResidualsBase::trackerTopologyEventToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyEventToken_
Definition: MonitorTrackResiduals.h:84
GenericTriggerEventFlag::initRun
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
Definition: GenericTriggerEventFlag.cc:151
TrackerGeometry::detIds
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Definition: TrackerGeometry.h:64
TRACKERTYPE_PIXEL
Definition: MonitorTrackResiduals.h:42
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorTrackResidualsBase::genTriggerEventFlag_
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: MonitorTrackResiduals.h:89
Parameters
vector< ParameterSet > Parameters
Definition: HLTMuonPlotter.cc:25
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
MonitorTrackResidualsBase::trackerGeometryToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
Definition: MonitorTrackResiduals.h:83
pwdgSkimBPark_cfi.vertices
vertices
Definition: pwdgSkimBPark_cfi.py:7
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
TrackerGeometry
Definition: TrackerGeometry.h:14
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184