CMS 3D CMS Logo

TrackerTreeGenerator.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TrackerTreeGenerator
4 // Class: TrackerTreeGenerator
5 //
11 //
12 // Original Author: Johannes Hauk
13 // Created: Fri Jan 16 14:09:52 CET 2009
14 // Modified by: Gregor Mittag (DESY)
15 //
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
31 
35 
44 
55 
58 
59 #include "TTree.h"
60 //
61 // class decleration
62 //
63 
64 class TrackerTreeGenerator : public edm::one::EDAnalyzer<edm::one::SharedResources> {
65 public:
66  explicit TrackerTreeGenerator(const edm::ParameterSet&);
67  ~TrackerTreeGenerator() override = default;
68 
69 private:
70  void beginJob() override;
71  void analyze(const edm::Event&, const edm::EventSetup&) override;
72  void endJob() override;
73 
74  // ----------member data ---------------------------
78 
80  std::vector<TrackerTreeVariables> vTkTreeVar_;
82 };
83 
84 //
85 // constants, enums and typedefs
86 //
87 
88 //
89 // static data member definitions
90 //
91 
92 //
93 // constructors and destructor
94 //
96  : geomDetToken_(esConsumes()),
97  ptpToken_(esConsumes()),
98  topoToken_(esConsumes()),
99  createEntryForDoubleSidedModule_(config.getParameter<bool>("createEntryForDoubleSidedModule")),
100  config_(config) {
101  usesResource(TFileService::kSharedResource);
102 }
103 
104 //
105 // member functions
106 //
107 
108 // ------------ method called to for each event ------------
110  // now try to take directly the ideal geometry independent of used geometry in Global Tag
111  const GeometricDet* geometricDet = &iSetup.getData(geomDetToken_);
112  const PTrackerParameters& ptp = iSetup.getData(ptpToken_);
113  const TrackerTopology* tTopo = &iSetup.getData(topoToken_);
114 
115  TrackerGeomBuilderFromGeometricDet trackerBuilder;
116  const TrackerGeometry* tkGeom = trackerBuilder.build(geometricDet, ptp, tTopo);
117  AlignableTracker alignableTracker{tkGeom, tTopo};
118  const auto& ns = alignableTracker.trackerNameSpace();
119 
120  edm::LogInfo("TrackerTreeGenerator") << "@SUB=TrackerTreeGenerator::analyze"
121  << "There are " << tkGeom->detIds().size() << " dets and "
122  << tkGeom->detUnitIds().size() << " detUnits in the Geometry Record";
123 
125  edm::LogInfo("TrackerTreeGenerator") << "@SUB=TrackerTreeGenerator::analyze"
126  << "Create entry for each module AND one entry for virtual "
127  << "double-sided module in addition";
128  } else {
129  edm::LogInfo("TrackerTreeGenerator") << "@SUB=TrackerTreeGenerator::analyze"
130  << "Create one entry for each physical module, do NOT create additional "
131  << "entry for virtual double-sided module";
132  }
133 
134  for (const auto& detId : tkGeom->detIds()) {
135  const GeomDet& geomDet = *tkGeom->idToDet(detId);
136  const Surface& surface = geomDet.surface();
137 
138  TrackerTreeVariables tkTreeVar;
139  const auto rawId = detId.rawId();
140  tkTreeVar.rawId = rawId;
141  tkTreeVar.subdetId = detId.subdetId();
142 
143  switch (tkTreeVar.subdetId) {
145  tkTreeVar.layer = tTopo->pxbLayer(detId);
146  tkTreeVar.half = ns.tpb().halfBarrelNumber(rawId);
147  tkTreeVar.rod = tTopo->pxbLadder(detId); // ... so, ladder is not per halfBarrel-Layer, but per barrel-layer!
148  tkTreeVar.module = tTopo->pxbModule(detId);
149  break;
151  tkTreeVar.layer = tTopo->pxfDisk(detId);
152  tkTreeVar.side = tTopo->pxfSide(detId);
153  tkTreeVar.half = ns.tpe().halfCylinderNumber(rawId);
154  tkTreeVar.blade = tTopo->pxfBlade(detId);
155  tkTreeVar.panel = tTopo->pxfPanel(detId);
156  tkTreeVar.module = tTopo->pxfModule(detId);
157  break;
159  tkTreeVar.layer = tTopo->tibLayer(detId);
160  tkTreeVar.side = tTopo->tibStringInfo(detId)[0];
161  tkTreeVar.half = ns.tib().halfShellNumber(rawId);
162  tkTreeVar.rod = tTopo->tibStringInfo(detId)[2];
163  tkTreeVar.outerInner = tTopo->tibStringInfo(detId)[1];
164  tkTreeVar.module = tTopo->tibModule(detId);
165  tkTreeVar.isDoubleSide = tTopo->tibIsDoubleSide(detId);
166  tkTreeVar.isRPhi = tTopo->tibIsRPhi(detId);
167  tkTreeVar.isStereo = tTopo->tibIsStereo(detId);
168  break;
170  tkTreeVar.layer = tTopo->tidWheel(detId);
171  tkTreeVar.side = tTopo->tidSide(detId);
172  tkTreeVar.ring = tTopo->tidRing(detId);
173  tkTreeVar.outerInner = tTopo->tidModuleInfo(detId)[0];
174  tkTreeVar.module = tTopo->tidModuleInfo(detId)[1];
175  tkTreeVar.isDoubleSide = tTopo->tidIsDoubleSide(detId);
176  tkTreeVar.isRPhi = tTopo->tidIsRPhi(detId);
177  tkTreeVar.isStereo = tTopo->tidIsStereo(detId);
178  break;
180  tkTreeVar.layer = tTopo->tobLayer(detId);
181  tkTreeVar.side = tTopo->tobRodInfo(detId)[0];
182  tkTreeVar.rod = tTopo->tobRodInfo(detId)[1];
183  tkTreeVar.module = tTopo->tobModule(detId);
184  tkTreeVar.isDoubleSide = tTopo->tobIsDoubleSide(detId);
185  tkTreeVar.isRPhi = tTopo->tobIsRPhi(detId);
186  tkTreeVar.isStereo = tTopo->tobIsStereo(detId);
187  break;
189  tkTreeVar.layer = tTopo->tecWheel(detId);
190  tkTreeVar.side = tTopo->tecSide(detId);
191  tkTreeVar.ring = tTopo->tecRing(detId);
192  tkTreeVar.petal = tTopo->tecPetalInfo(detId)[1];
193  tkTreeVar.outerInner = tTopo->tecPetalInfo(detId)[0];
194  tkTreeVar.module = tTopo->tecModule(detId);
195  tkTreeVar.isDoubleSide = tTopo->tecIsDoubleSide(detId);
196  tkTreeVar.isRPhi = tTopo->tecIsRPhi(detId);
197  tkTreeVar.isStereo = tTopo->tecIsStereo(detId);
198  break;
199  }
200 
201  LocalPoint lPModule(0., 0., 0.), lUDirection(1., 0., 0.), lVDirection(0., 1., 0.), lWDirection(0., 0., 1.);
202  GlobalPoint gPModule = surface.toGlobal(lPModule), gUDirection = surface.toGlobal(lUDirection),
203  gVDirection = surface.toGlobal(lVDirection), gWDirection = surface.toGlobal(lWDirection);
204  double dR(999.), dPhi(999.), dZ(999.);
205  switch (tkTreeVar.subdetId) {
209  dR = gWDirection.perp() - gPModule.perp();
210  dPhi = deltaPhi(gUDirection.barePhi(), gPModule.barePhi());
211  dZ = gVDirection.z() - gPModule.z();
212  tkTreeVar.uDirection = dPhi > 0. ? 1 : -1;
213  tkTreeVar.vDirection = dZ > 0. ? 1 : -1;
214  tkTreeVar.wDirection = dR > 0. ? 1 : -1;
215  break;
217  dR = gUDirection.perp() - gPModule.perp();
218  dPhi = deltaPhi(gVDirection.barePhi(), gPModule.barePhi());
219  dZ = gWDirection.z() - gPModule.z();
220  tkTreeVar.uDirection = dR > 0. ? 1 : -1;
221  tkTreeVar.vDirection = dPhi > 0. ? 1 : -1;
222  tkTreeVar.wDirection = dZ > 0. ? 1 : -1;
223  break;
226  dR = gVDirection.perp() - gPModule.perp();
227  dPhi = deltaPhi(gUDirection.barePhi(), gPModule.barePhi());
228  dZ = gWDirection.z() - gPModule.z();
229  tkTreeVar.uDirection = dPhi > 0. ? 1 : -1;
230  tkTreeVar.vDirection = dR > 0. ? 1 : -1;
231  tkTreeVar.wDirection = dZ > 0. ? 1 : -1;
232  break;
233  }
234  tkTreeVar.posR = gPModule.perp();
235  tkTreeVar.posPhi = gPModule.barePhi(); // = gPModule.barePhi().degrees();
236  tkTreeVar.posEta = gPModule.eta();
237  tkTreeVar.posX = gPModule.x();
238  tkTreeVar.posY = gPModule.y();
239  tkTreeVar.posZ = gPModule.z();
240 
241  if (auto stripGeomDetUnit = dynamic_cast<const StripGeomDetUnit*>(&geomDet)) { //is it a single physical module?
242  switch (tkTreeVar.subdetId) {
247  auto& topol = dynamic_cast<const StripTopology&>(stripGeomDetUnit->specificTopology());
248  tkTreeVar.nStrips = topol.nstrips();
249  break;
250  }
251  }
252 
254  // do so only for individual modules and not also one entry for the combined doubleSided Module
255  if (tkTreeVar.isDoubleSide)
256  continue;
257  }
258  vTkTreeVar_.push_back(tkTreeVar);
259  }
260 }
261 
262 // ------------ method called once each job just before starting event loop ------------
264 
265 // ------------ method called once each job just after ending the event loop ------------
267  UInt_t rawId(999), subdetId(999), layer(999), side(999), half(999), rod(999), ring(999), petal(999), blade(999),
268  panel(999), outerInner(999), module(999), nStrips(999);
269  Bool_t isDoubleSide(false), isRPhi(false), isStereo(false);
270  Int_t uDirection(999), vDirection(999), wDirection(999);
271  Float_t posR(999.F), posPhi(999.F), posEta(999.F), posX(999.F), posY(999.F), posZ(999.F);
272 
273  edm::Service<TFileService> fileService;
274  TFileDirectory treeDir = fileService->mkdir("TrackerTree");
275  auto trackerTree{treeDir.make<TTree>("TrackerTree", "IDs of all modules (ideal geometry)")};
276  trackerTree->Branch("RawId", &rawId, "RawId/i");
277  trackerTree->Branch("SubdetId", &subdetId, "SubdetId/i");
278  trackerTree->Branch("Layer", &layer, "Layer/i"); // Barrel: Layer, Forward: Disk
279  trackerTree->Branch("Side", &side, "Side/i"); // Rod/Ring in +z or -z
280  trackerTree->Branch("Half", &half, "Half/i"); // PXB: HalfBarrel, PXF: HalfCylinder, TIB: HalfShell
281  trackerTree->Branch("Rod", &rod, "Rod/i"); // Barrel (Ladder or String or Rod)
282  trackerTree->Branch("Ring", &ring, "Ring/i"); // Forward
283  trackerTree->Branch("Petal", &petal, "Petal/i"); // TEC
284  trackerTree->Branch("Blade", &blade, "Blade/i"); // PXF
285  trackerTree->Branch("Panel", &panel, "Panel/i"); // PXF
286  trackerTree->Branch("OuterInner", &outerInner, "OuterInner/i"); // front/back String,Ring,Petal
287  trackerTree->Branch("Module", &module, "Module/i"); // Module ID
288  trackerTree->Branch("NStrips", &nStrips, "NStrips/i");
289  trackerTree->Branch("IsDoubleSide", &isDoubleSide, "IsDoubleSide/O");
290  trackerTree->Branch("IsRPhi", &isRPhi, "IsRPhi/O");
291  trackerTree->Branch("IsStereo", &isStereo, "IsStereo/O");
292  trackerTree->Branch("UDirection", &uDirection, "UDirection/I");
293  trackerTree->Branch("VDirection", &vDirection, "VDirection/I");
294  trackerTree->Branch("WDirection", &wDirection, "WDirection/I");
295  trackerTree->Branch("PosR", &posR, "PosR/F");
296  trackerTree->Branch("PosPhi", &posPhi, "PosPhi/F");
297  trackerTree->Branch("PosEta", &posEta, "PosEta/F");
298  trackerTree->Branch("PosX", &posX, "PosX/F");
299  trackerTree->Branch("PosY", &posY, "PosY/F");
300  trackerTree->Branch("PosZ", &posZ, "PosZ/F");
301 
302  for (const auto& iTree : vTkTreeVar_) {
303  rawId = iTree.rawId;
304  subdetId = iTree.subdetId;
305  layer = iTree.layer;
306  side = iTree.side;
307  half = iTree.half;
308  rod = iTree.rod;
309  ring = iTree.ring;
310  petal = iTree.petal;
311  blade = iTree.blade;
312  panel = iTree.panel;
313  outerInner = iTree.outerInner;
314  module = iTree.module;
315  nStrips = iTree.nStrips;
316  isDoubleSide = iTree.isDoubleSide;
317  isRPhi = iTree.isRPhi;
318  isStereo = iTree.isStereo;
319  uDirection = iTree.uDirection;
320  vDirection = iTree.vDirection;
321  wDirection = iTree.wDirection;
322  posR = iTree.posR;
323  posPhi = iTree.posPhi;
324  posEta = iTree.posEta;
325  posX = iTree.posX;
326  posY = iTree.posY;
327  posZ = iTree.posZ;
328 
329  trackerTree->Fill();
330  }
331  edm::LogInfo("TrackerTreeGenerator") << "@SUB=TrackerTreeGenerator::endJob"
332  << "TrackerTree contains " << vTkTreeVar_.size() << " entries overall";
333 }
334 
335 //define this as a plug-in
TrackerTreeVariables::half
UInt_t half
Definition: TrackerTreeVariables.h:18
TrackerGeometry::idToDet
const TrackerGeomDet * idToDet(DetId) const override
Definition: TrackerGeometry.cc:193
TrackerTopology::tobIsDoubleSide
bool tobIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:245
TrackerTreeVariables::isDoubleSide
Bool_t isDoubleSide
Definition: TrackerTreeVariables.h:19
TrackerTreeVariables::posX
Float_t posX
Definition: TrackerTreeVariables.h:21
TrackerTreeVariables::petal
UInt_t petal
Definition: TrackerTreeVariables.h:18
electrons_cff.bool
bool
Definition: electrons_cff.py:366
EDAnalyzer.h
PixelSubdetector.h
TrackerTreeVariables::isRPhi
Bool_t isRPhi
Definition: TrackerTreeVariables.h:19
StripGeomDetUnit.h
MessageLogger.h
TrackerTreeGenerator::topoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
Definition: TrackerTreeGenerator.cc:77
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
TrackerGeometry.h
TrackerTreeGenerator::TrackerTreeGenerator
TrackerTreeGenerator(const edm::ParameterSet &)
Definition: TrackerTreeGenerator.cc:95
GeomDet
Definition: GeomDet.h:27
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
TrackerTreeVariables::side
UInt_t side
Definition: TrackerTreeVariables.h:18
PTrackerParameters
Definition: PTrackerParameters.h:6
ESHandle.h
TrackerTopology::tobIsStereo
bool tobIsStereo(const DetId &id) const
Definition: TrackerTopology.h:264
TrackerTopology::pxfSide
unsigned int pxfSide(const DetId &id) const
Definition: TrackerTopology.h:192
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TrackerTreeVariables::wDirection
Int_t wDirection
Definition: TrackerTreeVariables.h:20
deltaPhi.h
TFileDirectory::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileDirectory.h:53
TrackerTopology
Definition: TrackerTopology.h:16
TrackerTopology::tecIsDoubleSide
bool tecIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:246
TrackerTreeVariables::layer
UInt_t layer
Definition: TrackerTreeVariables.h:18
TrackerTopology::tidIsDoubleSide
bool tidIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:250
TrackerTopology::pxbLadder
unsigned int pxbLadder(const DetId &id) const
Definition: TrackerTopology.h:155
TrackerTopology::tidIsRPhi
bool tidIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:272
TrackerTreeGenerator::ptpToken_
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > ptpToken_
Definition: TrackerTreeGenerator.cc:76
TrackerTopology::tecIsStereo
bool tecIsStereo(const DetId &id) const
Definition: TrackerTopology.h:265
TrackingGeometry.h
Surface
Definition: Surface.h:36
TrackerGeomBuilderFromGeometricDet::build
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
Definition: TrackerGeomBuilderFromGeometricDet.cc:43
trackerTree
Definition: trackerTree.py:1
PTrackerParameters.h
TFileDirectory
Definition: TFileDirectory.h:24
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
StripTopology.h
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13703
TrackerTreeVariables::posY
Float_t posY
Definition: TrackerTreeVariables.h:21
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
TrackerTreeVariables::isStereo
Bool_t isStereo
Definition: TrackerTreeVariables.h:19
TrackerTopology::tobIsRPhi
bool tobIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:269
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
TrackerTreeGenerator::vTkTreeVar_
std::vector< TrackerTreeVariables > vTkTreeVar_
Definition: TrackerTreeGenerator.cc:80
TrackerTopology::pxbLayer
unsigned int pxbLayer(const DetId &id) const
Definition: TrackerTopology.h:144
TFileDirectory.h
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
TrackerTopology::tidIsStereo
bool tidIsStereo(const DetId &id) const
Definition: TrackerTopology.h:267
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
TrackerTopology::pxfPanel
unsigned int pxfPanel(const DetId &id) const
Definition: TrackerTopology.h:450
config
Definition: config.py:1
TrackerTopology::tobRodInfo
std::vector< unsigned int > tobRodInfo(const DetId &id) const
Definition: TrackerTopology.h:226
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
MakerMacros.h
TrackerTopology.h
TrackerTopology::tibStringInfo
std::vector< unsigned int > tibStringInfo(const DetId &id) const
Definition: TrackerTopology.h:421
TrackerTreeVariables::posPhi
Float_t posPhi
Definition: TrackerTreeVariables.h:21
TrackerTopology::tidModuleInfo
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
Definition: TrackerTopology.h:434
TrackerTopology::tecIsRPhi
bool tecIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:270
TrackerTopologyRcd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
Surface.h
TrackerTreeGenerator::beginJob
void beginJob() override
Definition: TrackerTreeGenerator.cc:263
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
Service.h
TrackerTreeVariables::rod
UInt_t rod
Definition: TrackerTreeVariables.h:18
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
TrackerTreeGenerator
Definition: TrackerTreeGenerator.cc:64
AlignableTracker
Definition: AlignableTracker.h:17
GeometricDet
Definition: GeometricDet.h:31
TrackerTopology::tibIsStereo
bool tibIsStereo(const DetId &id) const
Definition: TrackerTopology.h:266
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
RecoTauValidation_cfi.posX
posX
Definition: RecoTauValidation_cfi.py:288
TrackerTreeVariables::ring
UInt_t ring
Definition: TrackerTreeVariables.h:18
TrackerTreeVariables::vDirection
Int_t vDirection
Definition: TrackerTreeVariables.h:20
Point3DBase< float, LocalTag >
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
TFileService.h
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TrackerTreeGenerator::config_
edm::ParameterSet config_
Definition: TrackerTreeGenerator.cc:81
PV3DBase::barePhi
T barePhi() const
Definition: PV3DBase.h:65
TrackerTreeVariables::outerInner
UInt_t outerInner
Definition: TrackerTreeVariables.h:18
TrackerTreeGenerator::~TrackerTreeGenerator
~TrackerTreeGenerator() override=default
TrackerTreeVariables::rawId
UInt_t rawId
Definition: TrackerTreeVariables.h:18
TrackerTreeVariables::posEta
Float_t posEta
Definition: TrackerTreeVariables.h:21
PTrackerParametersRcd.h
TrackerTreeVariables::posR
Float_t posR
Definition: TrackerTreeVariables.h:21
TrackerTreeVariables.h
TrackerTreeVariables::panel
UInt_t panel
Definition: TrackerTreeVariables.h:18
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
TrackerTreeVariables::uDirection
Int_t uDirection
Definition: TrackerTreeVariables.h:20
TrackerTopology::tibModule
unsigned int tibModule(const DetId &id) const
Definition: TrackerTopology.h:172
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
TrackerTopology::pxfModule
unsigned int pxfModule(const DetId &id) const
Definition: TrackerTopology.h:163
TrackerTopology::pxfDisk
unsigned int pxfDisk(const DetId &id) const
Definition: TrackerTopology.h:446
IdealGeometryRecord.h
edm::EventSetup
Definition: EventSetup.h:58
GeometricDet.h
TrackerTreeVariables::nStrips
UInt_t nStrips
Definition: TrackerTreeVariables.h:18
edm::ESGetToken< GeometricDet, IdealGeometryRecord >
me0TriggerPseudoDigis_cff.nStrips
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
Definition: me0TriggerPseudoDigis_cff.py:26
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
GeomDet.h
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
TrackerTopology::tobModule
unsigned int tobModule(const DetId &id) const
Definition: TrackerTopology.h:166
TrackerTopology::pxbModule
unsigned int pxbModule(const DetId &id) const
Definition: TrackerTopology.h:160
TrackerTopology::tibIsDoubleSide
bool tibIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:249
DetId.h
LocalPoint.h
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
TrackerTreeVariables
Definition: TrackerTreeVariables.h:8
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
EventSetup.h
TrackerTreeVariables::posZ
Float_t posZ
Definition: TrackerTreeVariables.h:21
TrackerGeometry::detIds
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Definition: TrackerGeometry.h:64
TrackerTopology::tecModule
unsigned int tecModule(const DetId &id) const
Definition: TrackerTopology.h:169
TrackerGeomBuilderFromGeometricDet.h
TrackerGeomBuilderFromGeometricDet
Definition: TrackerGeomBuilderFromGeometricDet.h:17
TrackerTopology::pxfBlade
unsigned int pxfBlade(const DetId &id) const
Definition: TrackerTopology.h:447
TrackerTopology::tecPetalInfo
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
Definition: TrackerTopology.h:407
AlignableTracker.h
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
ParameterSet.h
TrackerGeometry::detUnitIds
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
Definition: TrackerGeometry.h:63
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
TrackerTopology::tibIsRPhi
bool tibIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:271
TrackerTreeGenerator::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TrackerTreeGenerator.cc:109
edm::Event
Definition: Event.h:73
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
TrackerTreeGenerator::createEntryForDoubleSidedModule_
const bool createEntryForDoubleSidedModule_
Definition: TrackerTreeGenerator.cc:79
TrackerTreeGenerator::endJob
void endJob() override
Definition: TrackerTreeGenerator.cc:266
GlobalPoint.h
StripSubdetector.h
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
RecoTauValidation_cfi.posY
posY
Definition: RecoTauValidation_cfi.py:289
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
TrackerTreeGenerator::geomDetToken_
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
Definition: TrackerTreeGenerator.cc:75
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
TrackerTreeVariables::subdetId
UInt_t subdetId
Definition: TrackerTreeVariables.h:18
TrackerGeometry
Definition: TrackerGeometry.h:14
TrackerTreeVariables::blade
UInt_t blade
Definition: TrackerTreeVariables.h:18
TrackerTreeVariables::module
UInt_t module
Definition: TrackerTreeVariables.h:18
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184