CMS 3D CMS Logo

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

#include <TrackerGeometryIntoNtuples.cc>

Inheritance diagram for TrackerGeometryIntoNtuples:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

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

Private Types

enum  { kMaxNumPar = 20 }
 

Private Member Functions

void addBranches ()
 
void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) override
 

Private Attributes

const edm::ESGetToken< AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcdaliErrorToken_
 
const edm::ESGetToken< Alignments, TrackerAlignmentRcdaliToken_
 
Float_t deformationValues_ [kMaxNumPar]
 
const edm::ESGetToken< GeometricDet, IdealGeometryRecordgeomDetToken_
 
const edm::ESGetToken< Alignments, GlobalPositionRcdgprToken_
 
double m_alpha
 
double m_beta
 
double m_d1
 
double m_d2
 
double m_d3
 
int m_dNpar
 
int m_dtype
 
TFile * m_file
 
double m_gamma
 
std::string m_outputFile
 
std::string m_outputTreename
 
uint32_t m_rawid
 
int m_subdetid
 
TTree * m_tree
 
TTree * m_treeDeformations
 
TTree * m_treeErrors
 
double m_x
 
double m_xx
 
double m_xy
 
double m_xz
 
double m_y
 
double m_yy
 
double m_yz
 
double m_z
 
double m_zz
 
std::vector< double > * mp_dpar
 
UInt_t numDeformationValues_
 
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcdptitpToken_
 
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcdptpToken_
 
const edm::ESGetToken< AlignmentSurfaceDeformations, TrackerSurfaceDeformationRcdsurfDefToken_
 
AlignableTrackertheCurrentTracker
 
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtopoToken_
 

Additional Inherited Members

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

Detailed Description

Description: Takes a set of alignment constants and turns them into a ROOT file

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

Definition at line 76 of file TrackerGeometryIntoNtuples.cc.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kMaxNumPar 

Definition at line 112 of file TrackerGeometryIntoNtuples.cc.

112 { kMaxNumPar = 20 }; // slighly above 'two bowed surfaces' limit

Constructor & Destructor Documentation

◆ TrackerGeometryIntoNtuples()

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

Definition at line 134 of file TrackerGeometryIntoNtuples.cc.

135  : topoToken_(esConsumes()),
143  theCurrentTracker(nullptr),
144  m_rawid(0),
145  m_x(0.),
146  m_y(0.),
147  m_z(0.),
148  m_alpha(0.),
149  m_beta(0.),
150  m_gamma(0.),
151  m_subdetid(0),
152  m_xx(0.),
153  m_xy(0.),
154  m_yy(0.),
155  m_xz(0.),
156  m_yz(0.),
157  m_zz(0.),
158  m_dNpar(0),
159  m_d1(0.),
160  m_d2(0.),
161  m_d3(0.),
162  m_dtype(0),
163  mp_dpar(nullptr) {
164  m_outputFile = iConfig.getUntrackedParameter<std::string>("outputFile");
165  m_outputTreename = iConfig.getUntrackedParameter<std::string>("outputTreename");
166  m_file = new TFile(m_outputFile.c_str(), "RECREATE");
167  m_tree = new TTree(m_outputTreename.c_str(), m_outputTreename.c_str());
168  m_treeDeformations = new TTree("alignTreeDeformations", "alignTreeDeformations");
169  //char errorTreeName[256];
170  //snprintf(errorTreeName, sizeof(errorTreeName), "%sErrors", m_outputTreename);
171  //m_treeErrors = new TTree(errorTreeName,errorTreeName);
172  m_treeErrors = new TTree("alignTreeErrors", "alignTreeErrors");
173 }

References edm::ParameterSet::getUntrackedParameter(), m_file, m_outputFile, m_outputTreename, m_tree, m_treeDeformations, m_treeErrors, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~TrackerGeometryIntoNtuples()

TrackerGeometryIntoNtuples::~TrackerGeometryIntoNtuples ( )
override

Definition at line 175 of file TrackerGeometryIntoNtuples.cc.

175 { delete theCurrentTracker; }

References theCurrentTracker.

Member Function Documentation

◆ addBranches()

void TrackerGeometryIntoNtuples::addBranches ( )
private

Definition at line 300 of file TrackerGeometryIntoNtuples.cc.

300  {
301  m_tree->Branch("rawid", &m_rawid, "rawid/I");
302  m_tree->Branch("x", &m_x, "x/D");
303  m_tree->Branch("y", &m_y, "y/D");
304  m_tree->Branch("z", &m_z, "z/D");
305  m_tree->Branch("alpha", &m_alpha, "alpha/D");
306  m_tree->Branch("beta", &m_beta, "beta/D");
307  m_tree->Branch("gamma", &m_gamma, "gamma/D");
308 
309  m_treeDeformations->Branch("irawid", &m_rawid, "irawid/I");
310  m_treeDeformations->Branch("subdetid", &m_subdetid, "subdetid/I");
311  m_treeDeformations->Branch("dNpar", &m_dNpar, "dNpar/I");
312  //m_treeDeformations->Branch("d1", &m_d1, "d1/D");
313  //m_treeDeformations->Branch("d2", &m_d2, "d2/D");
314  //m_treeDeformations->Branch("d3", &m_d3, "d3/D");
315  m_treeDeformations->Branch("dtype", &m_dtype);
316  m_treeDeformations->Branch("dpar", "std::vector<double>", &mp_dpar);
317 
318  m_treeErrors->Branch("rawid", &m_rawid, "rawid/I");
319  m_treeErrors->Branch("subdetid", &m_subdetid, "subdetid/I");
320  m_treeErrors->Branch("xx", &m_xx, "xx/D");
321  m_treeErrors->Branch("yy", &m_yy, "yy/D");
322  m_treeErrors->Branch("zz", &m_zz, "zz/D");
323  m_treeErrors->Branch("xy", &m_xy, "xy/D");
324  m_treeErrors->Branch("xz", &m_xz, "xz/D");
325  m_treeErrors->Branch("yz", &m_yz, "yz/D");
326 
327  //m_tree->Branch("NumDeform", &numDeformationValues_, "NumDeform/i");
328  //m_tree->Branch("DeformValues", deformationValues_, "DeformValues[NumDeform]/F");
329 }

References m_alpha, m_beta, m_dNpar, m_dtype, m_gamma, m_rawid, m_subdetid, m_tree, m_treeDeformations, m_treeErrors, m_x, m_xx, m_xy, m_xz, m_y, m_yy, m_yz, m_z, m_zz, and mp_dpar.

Referenced by analyze().

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 182 of file TrackerGeometryIntoNtuples.cc.

182  {
183  // retrieve tracker topology from geometry
184  const TrackerTopology* const tTopo = &iSetup.getData(topoToken_);
185 
186  edm::LogInfo("beginJob") << "Begin Job";
187 
188  //accessing the initial geometry
189  const GeometricDet* theGeometricDet = &iSetup.getData(geomDetToken_);
190  const PTrackerParameters* ptp = &iSetup.getData(ptpToken_);
192 
193  TrackerGeomBuilderFromGeometricDet trackerBuilder;
194  //currernt tracker
195  TrackerGeometry* theCurTracker = trackerBuilder.build(theGeometricDet, ptitp, *ptp, tTopo);
196 
197  //build the tracker
198  const Alignments* alignments = &iSetup.getData(aliToken_);
199  const AlignmentErrorsExtended* alignmentErrors = &iSetup.getData(aliErrorToken_);
200  const AlignmentSurfaceDeformations* surfaceDeformations = &iSetup.getData(surfDefToken_);
201 
202  //apply the latest alignments
203  const Alignments* globalPositionRcd = &iSetup.getData(gprToken_);
204  GeometryAligner aligner;
205  aligner.applyAlignments<TrackerGeometry>(&(*theCurTracker),
206  alignments,
207  alignmentErrors,
208  align::DetectorGlobalPosition(*globalPositionRcd, DetId(DetId::Tracker)));
209  aligner.attachSurfaceDeformations<TrackerGeometry>(&(*theCurTracker), &(*surfaceDeformations));
210 
211  theCurrentTracker = new AlignableTracker(&(*theCurTracker), tTopo);
212 
213  Alignments* theAlignments = theCurrentTracker->alignments();
214  //AlignmentErrorsExtended* theAlignmentErrorsExtended = theCurrentTracker->alignmentErrors();
215 
216  //alignments
217  addBranches();
218  for (std::vector<AlignTransform>::const_iterator i = theAlignments->m_align.begin();
219  i != theAlignments->m_align.end();
220  ++i) {
221  m_rawid = i->rawId();
222  CLHEP::Hep3Vector translation = i->translation();
223  m_x = translation.x();
224  m_y = translation.y();
225  m_z = translation.z();
226 
227  CLHEP::HepRotation rotation = i->rotation();
228  m_alpha = rotation.getPhi();
229  m_beta = rotation.getTheta();
230  m_gamma = rotation.getPsi();
231  m_tree->Fill();
232 
233  //DetId detid(m_rawid);
234  //if (detid.subdetId() > 2){
235  //
236  //std::cout << " panel: " << tTopo->pxfPanel( m_rawid ) << ", module: " << tTopo->pxfModule( m_rawid ) << std::endl;
237  //if ((tTopo->pxfPanel( m_rawid ) == 1) && (tTopo->pxfModule( m_rawid ) == 4)) std::cout << m_rawid << ", ";
238  //std::cout << m_rawid << std::setprecision(9) << " " << m_x << " " << m_y << " " << m_z;
239  //std::cout << std::setprecision(9) << " " << m_alpha << " " << m_beta << " " << m_gamma << std::endl;
240  //}
241  }
242 
243  delete theAlignments;
244 
245  std::vector<AlignTransformErrorExtended> alignErrors = alignmentErrors->m_alignError;
246  for (std::vector<AlignTransformErrorExtended>::const_iterator i = alignErrors.begin(); i != alignErrors.end(); ++i) {
247  m_rawid = i->rawId();
248  CLHEP::HepSymMatrix errMatrix = i->matrix();
249  DetId detid(m_rawid);
250  m_subdetid = detid.subdetId();
251  m_xx = errMatrix[0][0];
252  m_xy = errMatrix[0][1];
253  m_xz = errMatrix[0][2];
254  m_yy = errMatrix[1][1];
255  m_yz = errMatrix[1][2];
256  m_zz = errMatrix[2][2];
257  m_treeErrors->Fill();
258  }
259 
260  // Get GeomDetUnits for the current tracker
261  auto const& detUnits = theCurTracker->detUnits();
262  int detUnit(0);
263  //\\for (unsigned int iDet = 0; iDet < detUnits.size(); ++iDet) {
264  for (auto iunit = detUnits.begin(); iunit != detUnits.end(); ++iunit) {
265  DetId detid = (*iunit)->geographicalId();
266  m_rawid = detid.rawId();
267  m_subdetid = detid.subdetId();
268 
269  ++detUnit;
270  //\\GeomDetUnit* geomDetUnit = detUnits.at(iDet) ;
271  auto geomDetUnit = *iunit;
272 
273  // Get SurfaceDeformation for this GeomDetUnit
274  if (geomDetUnit->surfaceDeformation()) {
275  std::vector<double> surfaceDeformParams = (geomDetUnit->surfaceDeformation())->parameters();
276  //edm::LogInfo("surfaceDeformParamsSize") << " surfaceDeformParams size = " << surfaceDeformParams.size() << std::endl ;
277  m_dNpar = surfaceDeformParams.size();
278  m_dtype = (geomDetUnit->surfaceDeformation())->type();
279  m_d1 = surfaceDeformParams.at(0);
280  m_d2 = surfaceDeformParams.at(1);
281  m_d3 = surfaceDeformParams.at(2);
282  mp_dpar->clear();
283  for (std::vector<double>::const_iterator it = surfaceDeformParams.begin(); it != surfaceDeformParams.end();
284  ++it) {
285  mp_dpar->push_back((*it));
286  //edm::LogInfo("surfaceDeformParamsContent") << " surfaceDeformParam = " << (*it) << std::endl ;
287  }
288  m_treeDeformations->Fill();
289  }
290  }
291 
292  //write out
293  m_file->cd();
294  m_tree->Write();
295  m_treeDeformations->Write();
296  m_treeErrors->Write();
297  m_file->Close();
298 }

References addBranches(), aliErrorToken_, AlignableTracker::alignments(), aliToken_, GeometryAligner::applyAlignments(), GeometryAligner::attachSurfaceDeformations(), TrackerGeomBuilderFromGeometricDet::build(), align::DetectorGlobalPosition(), TrackerGeometry::detUnits(), geomDetToken_, edm::EventSetup::getData(), gprToken_, mps_fire::i, Alignments::m_align, m_alpha, m_beta, m_d1, m_d2, m_d3, m_dNpar, m_dtype, m_file, m_gamma, m_rawid, m_subdetid, m_tree, m_treeDeformations, m_treeErrors, m_x, m_xx, m_xy, m_xz, m_y, m_yy, m_yz, m_z, m_zz, mp_dpar, ptitpToken_, ptpToken_, DetId::rawId(), idealTransformation::rotation, DetId::subdetId(), surfDefToken_, theCurrentTracker, topoToken_, and DetId::Tracker.

Member Data Documentation

◆ aliErrorToken_

const edm::ESGetToken<AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd> TrackerGeometryIntoNtuples::aliErrorToken_
private

Definition at line 92 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ aliToken_

const edm::ESGetToken<Alignments, TrackerAlignmentRcd> TrackerGeometryIntoNtuples::aliToken_
private

Definition at line 91 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ deformationValues_

Float_t TrackerGeometryIntoNtuples::deformationValues_[kMaxNumPar]
private

Definition at line 113 of file TrackerGeometryIntoNtuples.cc.

◆ geomDetToken_

const edm::ESGetToken<GeometricDet, IdealGeometryRecord> TrackerGeometryIntoNtuples::geomDetToken_
private

Definition at line 88 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ gprToken_

const edm::ESGetToken<Alignments, GlobalPositionRcd> TrackerGeometryIntoNtuples::gprToken_
private

Definition at line 94 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ m_alpha

double TrackerGeometryIntoNtuples::m_alpha
private

Definition at line 101 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_beta

double TrackerGeometryIntoNtuples::m_beta
private

Definition at line 101 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_d1

double TrackerGeometryIntoNtuples::m_d1
private

Definition at line 105 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ m_d2

double TrackerGeometryIntoNtuples::m_d2
private

Definition at line 105 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ m_d3

double TrackerGeometryIntoNtuples::m_d3
private

Definition at line 105 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ m_dNpar

int TrackerGeometryIntoNtuples::m_dNpar
private

Definition at line 104 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_dtype

int TrackerGeometryIntoNtuples::m_dtype
private

Definition at line 106 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_file

TFile* TrackerGeometryIntoNtuples::m_file
private

Definition at line 120 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze(), and TrackerGeometryIntoNtuples().

◆ m_gamma

double TrackerGeometryIntoNtuples::m_gamma
private

Definition at line 101 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_outputFile

std::string TrackerGeometryIntoNtuples::m_outputFile
private

Definition at line 118 of file TrackerGeometryIntoNtuples.cc.

Referenced by TrackerGeometryIntoNtuples().

◆ m_outputTreename

std::string TrackerGeometryIntoNtuples::m_outputTreename
private

Definition at line 119 of file TrackerGeometryIntoNtuples.cc.

Referenced by TrackerGeometryIntoNtuples().

◆ m_rawid

uint32_t TrackerGeometryIntoNtuples::m_rawid
private

Definition at line 99 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_subdetid

int TrackerGeometryIntoNtuples::m_subdetid
private

Definition at line 102 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_tree

TTree* TrackerGeometryIntoNtuples::m_tree
private

Definition at line 115 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), analyze(), and TrackerGeometryIntoNtuples().

◆ m_treeDeformations

TTree* TrackerGeometryIntoNtuples::m_treeDeformations
private

Definition at line 116 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), analyze(), and TrackerGeometryIntoNtuples().

◆ m_treeErrors

TTree* TrackerGeometryIntoNtuples::m_treeErrors
private

Definition at line 117 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), analyze(), and TrackerGeometryIntoNtuples().

◆ m_x

double TrackerGeometryIntoNtuples::m_x
private

Definition at line 100 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_xx

double TrackerGeometryIntoNtuples::m_xx
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_xy

double TrackerGeometryIntoNtuples::m_xy
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_xz

double TrackerGeometryIntoNtuples::m_xz
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_y

double TrackerGeometryIntoNtuples::m_y
private

Definition at line 100 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_yy

double TrackerGeometryIntoNtuples::m_yy
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_yz

double TrackerGeometryIntoNtuples::m_yz
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_z

double TrackerGeometryIntoNtuples::m_z
private

Definition at line 100 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ m_zz

double TrackerGeometryIntoNtuples::m_zz
private

Definition at line 103 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ mp_dpar

std::vector<double>* TrackerGeometryIntoNtuples::mp_dpar
private

Definition at line 108 of file TrackerGeometryIntoNtuples.cc.

Referenced by addBranches(), and analyze().

◆ numDeformationValues_

UInt_t TrackerGeometryIntoNtuples::numDeformationValues_
private

Definition at line 111 of file TrackerGeometryIntoNtuples.cc.

◆ ptitpToken_

const edm::ESGetToken<PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd> TrackerGeometryIntoNtuples::ptitpToken_
private

Definition at line 90 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ ptpToken_

const edm::ESGetToken<PTrackerParameters, PTrackerParametersRcd> TrackerGeometryIntoNtuples::ptpToken_
private

Definition at line 89 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ surfDefToken_

const edm::ESGetToken<AlignmentSurfaceDeformations, TrackerSurfaceDeformationRcd> TrackerGeometryIntoNtuples::surfDefToken_
private

Definition at line 93 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

◆ theCurrentTracker

AlignableTracker* TrackerGeometryIntoNtuples::theCurrentTracker
private

Definition at line 97 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze(), and ~TrackerGeometryIntoNtuples().

◆ topoToken_

const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> TrackerGeometryIntoNtuples::topoToken_
private

Definition at line 87 of file TrackerGeometryIntoNtuples.cc.

Referenced by analyze().

TrackerGeometryIntoNtuples::mp_dpar
std::vector< double > * mp_dpar
Definition: TrackerGeometryIntoNtuples.cc:108
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
mps_fire.i
i
Definition: mps_fire.py:428
PTrackerParameters
Definition: PTrackerParameters.h:6
TrackerGeometryIntoNtuples::m_d3
double m_d3
Definition: TrackerGeometryIntoNtuples.cc:105
TrackerGeometryIntoNtuples::m_file
TFile * m_file
Definition: TrackerGeometryIntoNtuples.cc:120
TrackerGeometryIntoNtuples::m_xx
double m_xx
Definition: TrackerGeometryIntoNtuples.cc:103
TrackerGeomBuilderFromGeometricDet::build
TrackerGeometry * build(const GeometricDet *gd, const PTrackerAdditionalParametersPerDet *ptitp, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
Definition: TrackerGeomBuilderFromGeometricDet.cc:44
TrackerTopology
Definition: TrackerTopology.h:16
TrackerGeometryIntoNtuples::m_rawid
uint32_t m_rawid
Definition: TrackerGeometryIntoNtuples.cc:99
TrackerGeometryIntoNtuples::theCurrentTracker
AlignableTracker * theCurrentTracker
Definition: TrackerGeometryIntoNtuples.cc:97
TrackerGeometryIntoNtuples::m_treeErrors
TTree * m_treeErrors
Definition: TrackerGeometryIntoNtuples.cc:117
PTrackerAdditionalParametersPerDet
Definition: PTrackerAdditionalParametersPerDet.h:9
TrackerGeometryIntoNtuples::m_outputTreename
std::string m_outputTreename
Definition: TrackerGeometryIntoNtuples.cc:119
TrackerGeometryIntoNtuples::m_y
double m_y
Definition: TrackerGeometryIntoNtuples.cc:100
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
TrackerGeometryIntoNtuples::kMaxNumPar
Definition: TrackerGeometryIntoNtuples.cc:112
TrackerGeometryIntoNtuples::m_xz
double m_xz
Definition: TrackerGeometryIntoNtuples.cc:103
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
TrackerGeometryIntoNtuples::ptitpToken_
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > ptitpToken_
Definition: TrackerGeometryIntoNtuples.cc:90
TrackerGeometryIntoNtuples::m_yy
double m_yy
Definition: TrackerGeometryIntoNtuples.cc:103
GeometryAligner::applyAlignments
void applyAlignments(const C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
Definition: GeometryAligner.h:52
TrackerGeometryIntoNtuples::ptpToken_
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > ptpToken_
Definition: TrackerGeometryIntoNtuples.cc:89
TrackerGeometryIntoNtuples::aliToken_
const edm::ESGetToken< Alignments, TrackerAlignmentRcd > aliToken_
Definition: TrackerGeometryIntoNtuples.cc:91
DetId
Definition: DetId.h:17
TrackerGeometryIntoNtuples::m_x
double m_x
Definition: TrackerGeometryIntoNtuples.cc:100
TrackerGeometryIntoNtuples::m_beta
double m_beta
Definition: TrackerGeometryIntoNtuples.cc:101
TrackerGeometry::detUnits
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
Definition: TrackerGeometry.h:61
TrackerGeometryIntoNtuples::m_dtype
int m_dtype
Definition: TrackerGeometryIntoNtuples.cc:106
AlignableTracker
Definition: AlignableTracker.h:17
TrackerGeometryIntoNtuples::surfDefToken_
const edm::ESGetToken< AlignmentSurfaceDeformations, TrackerSurfaceDeformationRcd > surfDefToken_
Definition: TrackerGeometryIntoNtuples.cc:93
GeometricDet
Definition: GeometricDet.h:31
TrackerGeometryIntoNtuples::m_subdetid
int m_subdetid
Definition: TrackerGeometryIntoNtuples.cc:102
TrackerGeometryIntoNtuples::m_outputFile
std::string m_outputFile
Definition: TrackerGeometryIntoNtuples.cc:118
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
TrackerGeometryIntoNtuples::m_z
double m_z
Definition: TrackerGeometryIntoNtuples.cc:100
TrackerGeometryIntoNtuples::gprToken_
const edm::ESGetToken< Alignments, GlobalPositionRcd > gprToken_
Definition: TrackerGeometryIntoNtuples.cc:94
idealTransformation.rotation
dictionary rotation
Definition: idealTransformation.py:1
DetId::Tracker
Definition: DetId.h:25
TrackerGeometryIntoNtuples::m_yz
double m_yz
Definition: TrackerGeometryIntoNtuples.cc:103
align::DetectorGlobalPosition
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
Definition: DetectorGlobalPosition.cc:10
TrackerGeometryIntoNtuples::m_zz
double m_zz
Definition: TrackerGeometryIntoNtuples.cc:103
TrackerGeometryIntoNtuples::addBranches
void addBranches()
Definition: TrackerGeometryIntoNtuples.cc:300
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
TrackerGeometryIntoNtuples::m_xy
double m_xy
Definition: TrackerGeometryIntoNtuples.cc:103
AlignmentSurfaceDeformations
Definition: AlignmentSurfaceDeformations.h:20
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerGeometryIntoNtuples::geomDetToken_
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
Definition: TrackerGeometryIntoNtuples.cc:88
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
GeometryAligner::attachSurfaceDeformations
void attachSurfaceDeformations(const C *geometry, const AlignmentSurfaceDeformations *surfaceDeformations)
Definition: GeometryAligner.h:120
TrackerGeometryIntoNtuples::m_alpha
double m_alpha
Definition: TrackerGeometryIntoNtuples.cc:101
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
AlignableTracker::alignments
Alignments * alignments() const override
Return alignments, sorted by DetId.
Definition: AlignableTracker.cc:42
TrackerGeometryIntoNtuples::m_tree
TTree * m_tree
Definition: TrackerGeometryIntoNtuples.cc:115
TrackerGeometryIntoNtuples::aliErrorToken_
const edm::ESGetToken< AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd > aliErrorToken_
Definition: TrackerGeometryIntoNtuples.cc:92
TrackerGeometryIntoNtuples::topoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
Definition: TrackerGeometryIntoNtuples.cc:87
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:206
Alignments::m_align
std::vector< AlignTransform > m_align
Definition: Alignments.h:19
TrackerGeomBuilderFromGeometricDet
Definition: TrackerGeomBuilderFromGeometricDet.h:18
TrackerGeometryIntoNtuples::m_d2
double m_d2
Definition: TrackerGeometryIntoNtuples.cc:105
Alignments
Definition: Alignments.h:10
TrackerGeometryIntoNtuples::m_gamma
double m_gamma
Definition: TrackerGeometryIntoNtuples.cc:101
TrackerGeometryIntoNtuples::m_d1
double m_d1
Definition: TrackerGeometryIntoNtuples.cc:105
TrackerGeometryIntoNtuples::m_dNpar
int m_dNpar
Definition: TrackerGeometryIntoNtuples.cc:104
GeometryAligner
Class to update a given geometry with a set of alignments.
Definition: GeometryAligner.h:33
TrackerGeometryIntoNtuples::m_treeDeformations
TTree * m_treeDeformations
Definition: TrackerGeometryIntoNtuples.cc:116
TrackerGeometry
Definition: TrackerGeometry.h:14