CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
GEMGeometryValidate Class Reference
Inheritance diagram for GEMGeometryValidate:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 GEMGeometryValidate (const ParameterSet &)
 
 ~GEMGeometryValidate () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void clearData ()
 
void clearData2 ()
 
void compareShape (const GeomDet *, const float *)
 
void compareTransform (const GlobalPoint &, const TGeoMatrix *)
 
void endJob () override
 
float getDiff (const float, const float)
 
float getDistance (const GlobalPoint &, const GlobalPoint &)
 
void makeHistogram (const string &, vector< float > &)
 
void makeHistograms (const char *)
 
void makeHistograms2 (const char *)
 
void validateGEMChamberGeometry ()
 
void validateGEMEtaPartitionGeometry ()
 

Private Attributes

vector< float > bottomWidths_
 
FWGeometry fwGeometry_
 
edm::ESHandle< GEMGeometrygemGeometry_
 
vector< float > globalDistances_
 
string infileName_
 
vector< float > lengths_
 
vector< float > nstrips_
 
TFile * outFile_
 
string outfileName_
 
vector< float > pitch_
 
vector< float > stripslen_
 
vector< float > thicknesses_
 
int tolerance_
 
vector< float > topWidths_
 

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

Definition at line 50 of file GEMGeometryValidate.cc.

Constructor & Destructor Documentation

◆ GEMGeometryValidate()

GEMGeometryValidate::GEMGeometryValidate ( const ParameterSet iConfig)
explicit

Definition at line 103 of file GEMGeometryValidate.cc.

104  : infileName_(iConfig.getUntrackedParameter<string>("infileName", "cmsRecoGeom-2021.root")),
105  outfileName_(iConfig.getUntrackedParameter<string>("outfileName", "validateGEMGeometry.root")),
106  tolerance_(iConfig.getUntrackedParameter<int>("tolerance", 6)) {
108  outFile_ = TFile::Open(outfileName_.c_str(), "RECREATE");
109 }

References fwGeometry_, infileName_, FWGeometry::loadMap(), outFile_, and outfileName_.

◆ ~GEMGeometryValidate()

GEMGeometryValidate::~GEMGeometryValidate ( )
inlineoverride

Definition at line 53 of file GEMGeometryValidate.cc.

53 {}

Member Function Documentation

◆ analyze()

void GEMGeometryValidate::analyze ( const edm::Event event,
const edm::EventSetup eventSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 111 of file GEMGeometryValidate.cc.

111  {
112  eventSetup.get<MuonGeometryRecord>().get(gemGeometry_);
113 
114  if (gemGeometry_.isValid()) {
115  LogVerbatim("GEMGeometry") << "Validating GEM chamber geometry";
116 
118 
120 
121  } else
122  LogVerbatim("GEMGeometry") << "Invalid GEM geometry";
123 }

References gemGeometry_, edm::EventSetup::get(), get, edm::ESHandleBase::isValid(), validateGEMChamberGeometry(), and validateGEMEtaPartitionGeometry().

◆ beginJob()

void GEMGeometryValidate::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 302 of file GEMGeometryValidate.cc.

302 { outFile_->cd(); }

References outFile_.

◆ clearData()

void GEMGeometryValidate::clearData ( )
inlineprivate

Definition at line 73 of file GEMGeometryValidate.cc.

73  {
74  globalDistances_.clear();
75  topWidths_.clear();
76  bottomWidths_.clear();
77  lengths_.clear();
78  thicknesses_.clear();
79  }

Referenced by validateGEMChamberGeometry().

◆ clearData2()

void GEMGeometryValidate::clearData2 ( )
inlineprivate

Definition at line 81 of file GEMGeometryValidate.cc.

81  {
82  nstrips_.clear();
83  pitch_.clear();
84  stripslen_.clear();
85  }

Referenced by validateGEMEtaPartitionGeometry().

◆ compareShape()

void GEMGeometryValidate::compareShape ( const GeomDet det,
const float *  shape 
)
private

Definition at line 188 of file GEMGeometryValidate.cc.

188  {
189  float shapeTopWidth;
190  float shapeBottomWidth;
191  float shapeLength;
192  float shapeThickness;
193 
194  if (shape[0] == 1) {
195  shapeTopWidth = shape[2];
196  shapeBottomWidth = shape[1];
197  shapeLength = shape[4];
198  shapeThickness = shape[3];
199  } else if (shape[0] == 2) {
200  shapeTopWidth = shape[1];
201  shapeBottomWidth = shape[1];
202  shapeLength = shape[2];
203  shapeThickness = shape[3];
204  } else {
205  LogVerbatim("GEMGeometry") << "Failed to get box or trapezoid from shape";
206 
207  return;
208  }
209 
210  float topWidth, bottomWidth;
211  float length, thickness;
212 
213  const Bounds* bounds = &(det->surface().bounds());
214  if (const TrapezoidalPlaneBounds* tpbs = dynamic_cast<const TrapezoidalPlaneBounds*>(bounds)) {
215  array<const float, 4> const& ps = tpbs->parameters();
216 
217  assert(ps.size() == 4);
218 
219  bottomWidth = ps[0];
220  topWidth = ps[1];
221  thickness = ps[2];
222  length = ps[3];
223  } else if ((dynamic_cast<const RectangularPlaneBounds*>(bounds))) {
224  length = det->surface().bounds().length() * 0.5;
225  topWidth = det->surface().bounds().width() * 0.5;
226  bottomWidth = topWidth;
227  thickness = det->surface().bounds().thickness() * 0.5;
228  } else {
229  LogVerbatim("GEMGeometry") << "Failed to get bounds";
230 
231  return;
232  }
233  topWidths_.push_back(fabs(shapeTopWidth - topWidth));
234  bottomWidths_.push_back(fabs(shapeBottomWidth - bottomWidth));
235  lengths_.push_back(fabs(shapeLength - length));
236  thicknesses_.push_back(fabs(shapeThickness - thickness));
237 }

References cms::cuda::assert(), bottomWidths_, Surface::bounds(), Bounds::length(), lengths_, GeomDet::surface(), Bounds::thickness(), Calorimetry_cff::thickness, thicknesses_, topWidths_, and Bounds::width().

Referenced by validateGEMChamberGeometry().

◆ compareTransform()

void GEMGeometryValidate::compareTransform ( const GlobalPoint gp,
const TGeoMatrix *  matrix 
)
private

Definition at line 176 of file GEMGeometryValidate.cc.

176  {
177  double local[3] = {0.0, 0.0, 0.0};
178  double global[3];
179 
180  matrix->LocalToMaster(local, global);
181 
182  float distance = getDistance(GlobalPoint(global[0], global[1], global[2]), gp);
183  if (abs(distance) < 1.0e-7)
184  distance = 0.0; // set a tollerance for the distance inside Histos
185  globalDistances_.push_back(distance);
186 }

References funct::abs(), HLT_FULL_cff::distance, MillePedeFileConverter_cfg::e, getDistance(), globalDistances_, runTauDisplay::gp, DTRecHitClients_cfi::local, and makeMuonMisalignmentScenario::matrix.

Referenced by validateGEMChamberGeometry().

◆ endJob()

void GEMGeometryValidate::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 304 of file GEMGeometryValidate.cc.

304  {
305  LogVerbatim("GEMGeometry") << "Done.";
306  LogVerbatim("GEMGeometry") << "Results written to " << outfileName_;
307  outFile_->Close();
308 }

References outFile_, and outfileName_.

◆ getDiff()

float GEMGeometryValidate::getDiff ( const float  val1,
const float  val2 
)
private

Definition at line 244 of file GEMGeometryValidate.cc.

244  {
245  if (almost_equal(val1, val2, tolerance_))
246  return 0.0f;
247  else
248  return (val1 - val2);
249 }

References almost_equal(), and tolerance_.

◆ getDistance()

float GEMGeometryValidate::getDistance ( const GlobalPoint p1,
const GlobalPoint p2 
)
private

Definition at line 239 of file GEMGeometryValidate.cc.

239  {
240  return sqrt((p1.x() - p2.x()) * (p1.x() - p2.x()) + (p1.y() - p2.y()) * (p1.y() - p2.y()) +
241  (p1.z() - p2.z()) * (p1.z() - p2.z()));
242 }

References p1, p2, and mathSSE::sqrt().

Referenced by compareTransform().

◆ makeHistogram()

void GEMGeometryValidate::makeHistogram ( const string &  name,
vector< float > &  data 
)
private

Definition at line 287 of file GEMGeometryValidate.cc.

287  {
288  if (data.empty())
289  return;
290 
291  const auto [minE, maxE] = minmax_element(begin(data), end(data));
292 
293  TH1D hist(name.c_str(), name.c_str(), 100, *minE * (1 + 0.10), *maxE * (1 + 0.10));
294 
295  for (auto const& it : data)
296  hist.Fill(it);
297 
298  hist.GetXaxis()->SetTitle("[cm]");
299  hist.Write();
300 }

References data, mps_fire::end, gpuVertexFinder::hist, HLT_FULL_cff::maxE, and Skims_PA_cff::name.

Referenced by makeHistograms(), and makeHistograms2().

◆ makeHistograms()

void GEMGeometryValidate::makeHistograms ( const char *  detector)
private

Definition at line 251 of file GEMGeometryValidate.cc.

251  {
252  outFile_->cd();
253 
254  string d(detector);
255 
256  string gdn = d + ": distance between points in global coordinates";
258 
259  string twn = d + ": absolute difference between top widths (along X)";
261 
262  string bwn = d + ": absolute difference between bottom widths (along X)";
264 
265  string ln = d + ": absolute difference between lengths (along Y)";
266  makeHistogram(ln, lengths_);
267 
268  string tn = d + ": absolute difference between thicknesses (along Z)";
270 }

References bottomWidths_, ztail::d, hgcalTestNeighbor_cfi::detector, globalDistances_, lengths_, makeHistogram(), outFile_, thicknesses_, and topWidths_.

Referenced by validateGEMChamberGeometry().

◆ makeHistograms2()

void GEMGeometryValidate::makeHistograms2 ( const char *  detector)
private

Definition at line 272 of file GEMGeometryValidate.cc.

272  {
273  outFile_->cd();
274 
275  string d(detector);
276 
277  string ns = d + ": absolute difference between nStrips";
278  makeHistogram(ns, nstrips_);
279 
280  string pi = d + ": absolute difference between Strips Pitch";
282 
283  string pl = d + ": absolute difference between Strips Length";
285 }

References ztail::d, hgcalTestNeighbor_cfi::detector, makeHistogram(), nstrips_, outFile_, pi, pitch_, and stripslen_.

Referenced by validateGEMEtaPartitionGeometry().

◆ validateGEMChamberGeometry()

void GEMGeometryValidate::validateGEMChamberGeometry ( )
private

Definition at line 125 of file GEMGeometryValidate.cc.

125  {
126  clearData();
127 
128  for (auto const& it : gemGeometry_->chambers()) {
129  GEMDetId chId = it->id();
130  GlobalPoint gp = it->surface().toGlobal(LocalPoint(0.0, 0.0, 0.0));
131 
132  const TGeoMatrix* matrix = fwGeometry_.getMatrix(chId.rawId());
133 
134  if (!matrix) {
135  LogVerbatim("GEMGeometry") << "Failed to get matrix of GEM chamber with detid: " << chId.rawId();
136  continue;
137  }
139 
140  auto const& shape = fwGeometry_.getShapePars(chId.rawId());
141 
142  if (!shape) {
143  LogVerbatim("GEMGeometry") << "Failed to get shape of GEM chamber with detid: " << chId.rawId();
144  continue;
145  }
146  compareShape(it, shape);
147  }
148  makeHistograms("GEM Chamber");
149 }

References GEMGeometry::chambers(), clearData(), compareShape(), compareTransform(), fwGeometry_, gemGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), runTauDisplay::gp, makeHistograms(), makeMuonMisalignmentScenario::matrix, and DetId::rawId().

Referenced by analyze().

◆ validateGEMEtaPartitionGeometry()

void GEMGeometryValidate::validateGEMEtaPartitionGeometry ( )
private

Definition at line 151 of file GEMGeometryValidate.cc.

151  {
152  clearData2();
153 
154  for (auto const& it : gemGeometry_->etaPartitions()) {
155  GEMDetId chId = it->id();
156  const int n_strips = it->nstrips();
157  const float n_pitch = it->pitch();
158  const StripTopology& topo = it->specificTopology();
159  const float stripLen = topo.stripLength();
160  const float* parameters = fwGeometry_.getParameters(chId.rawId());
161  nstrips_.push_back(abs(n_strips - parameters[0]));
162 
163  if (n_strips) {
164  for (int istrips = 1; istrips <= n_strips; istrips++) {
165  pitch_.push_back(fabs(n_pitch - parameters[2]));
166 
167  stripslen_.push_back(fabs(stripLen - parameters[1]));
168  }
169  } else {
170  LogVerbatim("GEMGeometry") << "ATTENTION! nStrips == 0";
171  }
172  }
173  makeHistograms2("GEM Eta Partition");
174 }

References funct::abs(), clearData2(), GEMGeometry::etaPartitions(), fwGeometry_, gemGeometry_, FWGeometry::getParameters(), makeHistograms2(), nstrips_, pitch_, DetId::rawId(), StripTopology::stripLength(), and stripslen_.

Referenced by analyze().

Member Data Documentation

◆ bottomWidths_

vector<float> GEMGeometryValidate::bottomWidths_
private

Definition at line 92 of file GEMGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ fwGeometry_

FWGeometry GEMGeometryValidate::fwGeometry_
private

◆ gemGeometry_

edm::ESHandle<GEMGeometry> GEMGeometryValidate::gemGeometry_
private

◆ globalDistances_

vector<float> GEMGeometryValidate::globalDistances_
private

Definition at line 90 of file GEMGeometryValidate.cc.

Referenced by compareTransform(), and makeHistograms().

◆ infileName_

string GEMGeometryValidate::infileName_
private

Definition at line 98 of file GEMGeometryValidate.cc.

Referenced by GEMGeometryValidate().

◆ lengths_

vector<float> GEMGeometryValidate::lengths_
private

Definition at line 93 of file GEMGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ nstrips_

vector<float> GEMGeometryValidate::nstrips_
private

Definition at line 95 of file GEMGeometryValidate.cc.

Referenced by makeHistograms2(), and validateGEMEtaPartitionGeometry().

◆ outFile_

TFile* GEMGeometryValidate::outFile_
private

◆ outfileName_

string GEMGeometryValidate::outfileName_
private

Definition at line 99 of file GEMGeometryValidate.cc.

Referenced by endJob(), and GEMGeometryValidate().

◆ pitch_

vector<float> GEMGeometryValidate::pitch_
private

Definition at line 96 of file GEMGeometryValidate.cc.

Referenced by makeHistograms2(), and validateGEMEtaPartitionGeometry().

◆ stripslen_

vector<float> GEMGeometryValidate::stripslen_
private

Definition at line 97 of file GEMGeometryValidate.cc.

Referenced by makeHistograms2(), and validateGEMEtaPartitionGeometry().

◆ thicknesses_

vector<float> GEMGeometryValidate::thicknesses_
private

Definition at line 94 of file GEMGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ tolerance_

int GEMGeometryValidate::tolerance_
private

Definition at line 100 of file GEMGeometryValidate.cc.

Referenced by getDiff().

◆ topWidths_

vector<float> GEMGeometryValidate::topWidths_
private

Definition at line 91 of file GEMGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

GEMGeometryValidate::globalDistances_
vector< float > globalDistances_
Definition: GEMGeometryValidate.cc:90
GEMGeometryValidate::clearData
void clearData()
Definition: GEMGeometryValidate.cc:73
GEMGeometryValidate::compareTransform
void compareTransform(const GlobalPoint &, const TGeoMatrix *)
Definition: GEMGeometryValidate.cc:176
HLT_FULL_cff.maxE
maxE
Definition: HLT_FULL_cff.py:13669
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
Bounds::width
virtual float width() const =0
makeMuonMisalignmentScenario.matrix
list matrix
Definition: makeMuonMisalignmentScenario.py:141
FWGeometry::loadMap
void loadMap(const char *fileName)
Definition: FWGeometry.cc:103
GEMGeometryValidate::outfileName_
string outfileName_
Definition: GEMGeometryValidate.cc:99
FWGeometry::getShapePars
const float * getShapePars(unsigned int id) const
Definition: FWGeometry.cc:489
Bounds
Definition: Bounds.h:18
cms::cuda::assert
assert(be >=bs)
GEMGeometryValidate::validateGEMEtaPartitionGeometry
void validateGEMEtaPartitionGeometry()
Definition: GEMGeometryValidate.cc:151
GEMGeometryValidate::makeHistograms2
void makeHistograms2(const char *)
Definition: GEMGeometryValidate.cc:272
GEMGeometryValidate::clearData2
void clearData2()
Definition: GEMGeometryValidate.cc:81
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
Bounds::length
virtual float length() const =0
GEMGeometryValidate::gemGeometry_
edm::ESHandle< GEMGeometry > gemGeometry_
Definition: GEMGeometryValidate.cc:87
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
FWGeometry::getParameters
const float * getParameters(unsigned int id) const
Definition: FWGeometry.cc:478
FWGeometry::getMatrix
const TGeoMatrix * getMatrix(unsigned int id) const
Definition: FWGeometry.cc:225
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
Calorimetry_cff.thickness
thickness
Definition: Calorimetry_cff.py:115
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
GEMGeometryValidate::bottomWidths_
vector< float > bottomWidths_
Definition: GEMGeometryValidate.cc:92
Surface::bounds
const Bounds & bounds() const
Definition: Surface.h:87
GEMGeometryValidate::compareShape
void compareShape(const GeomDet *, const float *)
Definition: GEMGeometryValidate.cc:188
mps_fire.end
end
Definition: mps_fire.py:242
p2
double p2[4]
Definition: TauolaWrapper.h:90
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
Point3DBase< float, GlobalTag >
GEMGeometryValidate::getDistance
float getDistance(const GlobalPoint &, const GlobalPoint &)
Definition: GEMGeometryValidate.cc:239
GEMGeometryValidate::outFile_
TFile * outFile_
Definition: GEMGeometryValidate.cc:89
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
Bounds::thickness
virtual float thickness() const =0
StripTopology::stripLength
virtual float stripLength() const =0
GEMGeometry::chambers
const std::vector< const GEMChamber * > & chambers() const
Return a vector of all GEM chambers.
Definition: GEMGeometry.cc:38
GEMGeometryValidate::thicknesses_
vector< float > thicknesses_
Definition: GEMGeometryValidate.cc:94
GEMGeometryValidate::pitch_
vector< float > pitch_
Definition: GEMGeometryValidate.cc:96
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
GEMDetId
Definition: GEMDetId.h:18
GEMGeometryValidate::lengths_
vector< float > lengths_
Definition: GEMGeometryValidate.cc:93
GEMGeometryValidate::makeHistograms
void makeHistograms(const char *)
Definition: GEMGeometryValidate.cc:251
almost_equal
enable_if<!numeric_limits< T >::is_integer, bool >::type almost_equal(T x, T y, int ulp)
Definition: GEMGeometryValidate.cc:40
GEMGeometryValidate::infileName_
string infileName_
Definition: GEMGeometryValidate.cc:98
p1
double p1[4]
Definition: TauolaWrapper.h:89
GEMGeometryValidate::fwGeometry_
FWGeometry fwGeometry_
Definition: GEMGeometryValidate.cc:88
TrapezoidalPlaneBounds
Definition: TrapezoidalPlaneBounds.h:15
get
#define get
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
GEMGeometryValidate::validateGEMChamberGeometry
void validateGEMChamberGeometry()
Definition: GEMGeometryValidate.cc:125
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
GEMGeometryValidate::nstrips_
vector< float > nstrips_
Definition: GEMGeometryValidate.cc:95
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
GEMGeometryValidate::stripslen_
vector< float > stripslen_
Definition: GEMGeometryValidate.cc:97
GEMGeometry::etaPartitions
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.
Definition: GEMGeometry.cc:40
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
ztail.d
d
Definition: ztail.py:151
pi
const Double_t pi
Definition: trackSplitPlot.h:36
DTRecHitClients_cfi.local
local
Definition: DTRecHitClients_cfi.py:10
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
GEMGeometryValidate::topWidths_
vector< float > topWidths_
Definition: GEMGeometryValidate.cc:91
HLT_FULL_cff.distance
distance
Definition: HLT_FULL_cff.py:7733
GEMGeometryValidate::makeHistogram
void makeHistogram(const string &, vector< float > &)
Definition: GEMGeometryValidate.cc:287
StripTopology
Definition: StripTopology.h:11
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
GEMGeometryValidate::tolerance_
int tolerance_
Definition: GEMGeometryValidate.cc:100
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37