CMS 3D CMS Logo

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

Public Member Functions

 RPCGeometryValidate (const ParameterSet &)
 
 ~RPCGeometryValidate () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () 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
 
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::vector< ModuleDescription const * > &modules, 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 validateRPCChamberGeometry ()
 
void validateRPCStripsGeometry ()
 

Private Attributes

vector< float > bottomWidths_
 
FWGeometry fwGeometry_
 
vector< float > globalDistances_
 
string infileName_
 
vector< float > lengths_
 
vector< float > nstrips_
 
TFile * outFile_
 
string outfileName_
 
vector< float > pitch_
 
edm::ESHandle< RPCGeometryrpcGeometry_
 
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>
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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 RPCGeometryValidate.cc.

Constructor & Destructor Documentation

◆ RPCGeometryValidate()

RPCGeometryValidate::RPCGeometryValidate ( const ParameterSet iConfig)
explicit

Definition at line 103 of file RPCGeometryValidate.cc.

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

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

◆ ~RPCGeometryValidate()

RPCGeometryValidate::~RPCGeometryValidate ( )
inlineoverride

Definition at line 53 of file RPCGeometryValidate.cc.

53 {}

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 111 of file RPCGeometryValidate.cc.

111  {
113  if (rpcGeometry_.isValid()) {
114  LogVerbatim("RPCGeometry") << "Validating RPC chamber geometry";
117  } else
118  LogVerbatim("RPCGeometry") << "Invalid RPC geometry";
119 }

References options_cfi::eventSetup, get, edm::ESHandleBase::isValid(), rpcGeometry_, validateRPCChamberGeometry(), and validateRPCStripsGeometry().

◆ beginJob()

void RPCGeometryValidate::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 297 of file RPCGeometryValidate.cc.

297 { outFile_->cd(); }

References outFile_.

◆ clearData()

void RPCGeometryValidate::clearData ( )
inlineprivate

Definition at line 73 of file RPCGeometryValidate.cc.

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

Referenced by validateRPCChamberGeometry().

◆ clearData2()

void RPCGeometryValidate::clearData2 ( )
inlineprivate

Definition at line 81 of file RPCGeometryValidate.cc.

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

Referenced by validateRPCStripsGeometry().

◆ compareShape()

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

Definition at line 183 of file RPCGeometryValidate.cc.

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

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

Referenced by validateRPCChamberGeometry().

◆ compareTransform()

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

Definition at line 171 of file RPCGeometryValidate.cc.

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

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

Referenced by validateRPCChamberGeometry().

◆ endJob()

void RPCGeometryValidate::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 299 of file RPCGeometryValidate.cc.

299  {
300  LogVerbatim("RPCGeometry") << "Done.";
301  LogVerbatim("RPCGeometry") << "Results written to " << outfileName_;
302  outFile_->Close();
303 }

References outFile_, and outfileName_.

◆ getDiff()

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

Definition at line 239 of file RPCGeometryValidate.cc.

239  {
240  if (almost_equal(val1, val2, tolerance_))
241  return 0.0f;
242  else
243  return (val1 - val2);
244 }

References almost_equal(), and tolerance_.

◆ getDistance()

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

Definition at line 234 of file RPCGeometryValidate.cc.

234  {
235  return sqrt((p1.x() - p2.x()) * (p1.x() - p2.x()) + (p1.y() - p2.y()) * (p1.y() - p2.y()) +
236  (p1.z() - p2.z()) * (p1.z() - p2.z()));
237 }

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

Referenced by compareTransform().

◆ makeHistogram()

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

Definition at line 282 of file RPCGeometryValidate.cc.

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

References begin, data, end, compare::hist, HLT_2018_cff::maxE, and Skims_PA_cff::name.

Referenced by makeHistograms(), and makeHistograms2().

◆ makeHistograms()

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

Definition at line 246 of file RPCGeometryValidate.cc.

246  {
247  outFile_->cd();
248 
249  string d(detector);
250 
251  string gdn = d + ": distance between points in global coordinates";
253 
254  string twn = d + ": absolute difference between top widths (along X)";
256 
257  string bwn = d + ": absolute difference between bottom widths (along X)";
259 
260  string ln = d + ": absolute difference between lengths (along Y)";
261  makeHistogram(ln, lengths_);
262 
263  string tn = d + ": absolute difference between thicknesses (along Z)";
265 }

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

Referenced by validateRPCChamberGeometry().

◆ makeHistograms2()

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

Definition at line 267 of file RPCGeometryValidate.cc.

267  {
268  outFile_->cd();
269 
270  string d(detector);
271 
272  string ns = d + ": absolute difference between nStrips";
273  makeHistogram(ns, nstrips_);
274 
275  string pi = d + ": absolute difference between Strips Pitch";
277 
278  string pl = d + ": absolute difference between Strips Length";
280 }

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

Referenced by validateRPCStripsGeometry().

◆ validateRPCChamberGeometry()

void RPCGeometryValidate::validateRPCChamberGeometry ( )
private

Definition at line 121 of file RPCGeometryValidate.cc.

121  {
122  clearData();
123 
124  for (auto const& it : rpcGeometry_->rolls()) {
125  RPCDetId chId = it->id();
126  GlobalPoint gp = it->surface().toGlobal(LocalPoint(0.0, 0.0, 0.0));
127 
128  const TGeoMatrix* matrix = fwGeometry_.getMatrix(chId.rawId());
129 
130  if (!matrix) {
131  LogVerbatim("RPCGeometry") << "Failed to get matrix of RPC chamber with detid: " << chId.rawId();
132  continue;
133  }
135 
136  auto const& shape = fwGeometry_.getShapePars(chId.rawId());
137 
138  if (!shape) {
139  LogVerbatim("RPCGeometry") << "Failed to get shape of RPC chamber with detid: " << chId.rawId();
140  continue;
141  }
142  compareShape(it, shape);
143  }
144  makeHistograms("RPC Chamber");
145 }

References clearData(), compareShape(), compareTransform(), fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), runTauDisplay::gp, makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), RPCGeometry::rolls(), and rpcGeometry_.

Referenced by analyze().

◆ validateRPCStripsGeometry()

void RPCGeometryValidate::validateRPCStripsGeometry ( )
private

Definition at line 147 of file RPCGeometryValidate.cc.

147  {
148  clearData2();
149 
150  for (auto const& it : rpcGeometry_->rolls()) {
151  RPCDetId chId = it->id();
152  const int n_strips = it->nstrips();
153  const float n_pitch = it->pitch();
154  const StripTopology& topo = it->specificTopology();
155  const float stripLen = topo.stripLength();
156  const float* parameters = fwGeometry_.getParameters(chId.rawId());
157 
158  if (n_strips) {
159  for (int istrips = 1; istrips <= n_strips; istrips++) {
160  nstrips_.push_back(fabs(n_strips - parameters[0]));
161  pitch_.push_back(fabs(n_pitch - parameters[2]));
162  stripslen_.push_back(fabs(stripLen - parameters[1]));
163  }
164  } else {
165  LogVerbatim("RPCGeometry") << "ATTENTION! nStrips == 0";
166  }
167  }
168  makeHistograms2("RPC Strips");
169 }

References clearData2(), fwGeometry_, FWGeometry::getParameters(), makeHistograms2(), nstrips_, pitch_, DetId::rawId(), RPCGeometry::rolls(), rpcGeometry_, StripTopology::stripLength(), and stripslen_.

Referenced by analyze().

Member Data Documentation

◆ bottomWidths_

vector<float> RPCGeometryValidate::bottomWidths_
private

Definition at line 92 of file RPCGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ fwGeometry_

FWGeometry RPCGeometryValidate::fwGeometry_
private

◆ globalDistances_

vector<float> RPCGeometryValidate::globalDistances_
private

Definition at line 90 of file RPCGeometryValidate.cc.

Referenced by compareTransform(), and makeHistograms().

◆ infileName_

string RPCGeometryValidate::infileName_
private

Definition at line 98 of file RPCGeometryValidate.cc.

Referenced by RPCGeometryValidate().

◆ lengths_

vector<float> RPCGeometryValidate::lengths_
private

Definition at line 93 of file RPCGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ nstrips_

vector<float> RPCGeometryValidate::nstrips_
private

Definition at line 95 of file RPCGeometryValidate.cc.

Referenced by makeHistograms2(), and validateRPCStripsGeometry().

◆ outFile_

TFile* RPCGeometryValidate::outFile_
private

◆ outfileName_

string RPCGeometryValidate::outfileName_
private

Definition at line 99 of file RPCGeometryValidate.cc.

Referenced by endJob(), and RPCGeometryValidate().

◆ pitch_

vector<float> RPCGeometryValidate::pitch_
private

Definition at line 96 of file RPCGeometryValidate.cc.

Referenced by makeHistograms2(), and validateRPCStripsGeometry().

◆ rpcGeometry_

edm::ESHandle<RPCGeometry> RPCGeometryValidate::rpcGeometry_
private

◆ stripslen_

vector<float> RPCGeometryValidate::stripslen_
private

Definition at line 97 of file RPCGeometryValidate.cc.

Referenced by makeHistograms2(), and validateRPCStripsGeometry().

◆ thicknesses_

vector<float> RPCGeometryValidate::thicknesses_
private

Definition at line 94 of file RPCGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

◆ tolerance_

int RPCGeometryValidate::tolerance_
private

Definition at line 100 of file RPCGeometryValidate.cc.

Referenced by getDiff().

◆ topWidths_

vector<float> RPCGeometryValidate::topWidths_
private

Definition at line 91 of file RPCGeometryValidate.cc.

Referenced by compareShape(), and makeHistograms().

RPCGeometryValidate::pitch_
vector< float > pitch_
Definition: RPCGeometryValidate.cc:96
RPCGeometryValidate::outFile_
TFile * outFile_
Definition: RPCGeometryValidate.cc:89
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:100
RPCDetId
Definition: RPCDetId.h:16
RPCGeometryValidate::clearData
void clearData()
Definition: RPCGeometryValidate.cc:73
RPCGeometryValidate::compareTransform
void compareTransform(const GlobalPoint &, const TGeoMatrix *)
Definition: RPCGeometryValidate.cc:171
FWGeometry::getShapePars
const float * getShapePars(unsigned int id) const
Definition: FWGeometry.cc:486
Bounds
Definition: Bounds.h:18
cms::cuda::assert
assert(be >=bs)
HLT_2018_cff.distance
distance
Definition: HLT_2018_cff.py:6417
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
RPCGeometryValidate::tolerance_
int tolerance_
Definition: RPCGeometryValidate.cc:100
RPCGeometryValidate::outfileName_
string outfileName_
Definition: RPCGeometryValidate.cc:99
end
#define end
Definition: vmac.h:39
Bounds::length
virtual float length() const =0
RPCGeometryValidate::clearData2
void clearData2()
Definition: RPCGeometryValidate.cc:81
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
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:475
FWGeometry::getMatrix
const TGeoMatrix * getMatrix(unsigned int id) const
Definition: FWGeometry.cc:222
RPCGeometryValidate::nstrips_
vector< float > nstrips_
Definition: RPCGeometryValidate.cc:95
compare.hist
hist
Definition: compare.py:376
Calorimetry_cff.thickness
thickness
Definition: Calorimetry_cff.py:114
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
Surface::bounds
const Bounds & bounds() const
Definition: Surface.h:87
RPCGeometryValidate::topWidths_
vector< float > topWidths_
Definition: RPCGeometryValidate.cc:91
p2
double p2[4]
Definition: TauolaWrapper.h:90
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
RPCGeometryValidate::lengths_
vector< float > lengths_
Definition: RPCGeometryValidate.cc:93
RPCGeometryValidate::compareShape
void compareShape(const GeomDet *, const float *)
Definition: RPCGeometryValidate.cc:183
Point3DBase< float, GlobalTag >
RPCGeometryValidate::fwGeometry_
FWGeometry fwGeometry_
Definition: RPCGeometryValidate.cc:88
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
Bounds::thickness
virtual float thickness() const =0
StripTopology::stripLength
virtual float stripLength() const =0
RPCGeometryValidate::makeHistogram
void makeHistogram(const string &, vector< float > &)
Definition: RPCGeometryValidate.cc:282
RPCGeometryValidate::rpcGeometry_
edm::ESHandle< RPCGeometry > rpcGeometry_
Definition: RPCGeometryValidate.cc:87
RPCGeometryValidate::validateRPCStripsGeometry
void validateRPCStripsGeometry()
Definition: RPCGeometryValidate.cc:147
RPCGeometryValidate::globalDistances_
vector< float > globalDistances_
Definition: RPCGeometryValidate.cc:90
edm::LogVerbatim
Definition: MessageLogger.h:297
p1
double p1[4]
Definition: TauolaWrapper.h:89
RPCGeometryValidate::stripslen_
vector< float > stripslen_
Definition: RPCGeometryValidate.cc:97
HLT_2018_cff.maxE
maxE
Definition: HLT_2018_cff.py:12256
TrapezoidalPlaneBounds
Definition: TrapezoidalPlaneBounds.h:15
get
#define get
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
RPCGeometryValidate::bottomWidths_
vector< float > bottomWidths_
Definition: RPCGeometryValidate.cc:92
RPCGeometryValidate::getDistance
float getDistance(const GlobalPoint &, const GlobalPoint &)
Definition: RPCGeometryValidate.cc:234
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
RPCGeometryValidate::validateRPCChamberGeometry
void validateRPCChamberGeometry()
Definition: RPCGeometryValidate.cc:121
RPCGeometryValidate::makeHistograms2
void makeHistograms2(const char *)
Definition: RPCGeometryValidate.cc:267
RPCGeometryValidate::infileName_
string infileName_
Definition: RPCGeometryValidate.cc:98
options_cfi.eventSetup
eventSetup
Definition: options_cfi.py:12
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
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
RPCGeometry::rolls
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
Definition: RPCGeometry.cc:44
RPCGeometryValidate::makeHistograms
void makeHistograms(const char *)
Definition: RPCGeometryValidate.cc:246
StripTopology
Definition: StripTopology.h:11
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
begin
#define begin
Definition: vmac.h:32
almost_equal
enable_if<!numeric_limits< T >::is_integer, bool >::type almost_equal(T x, T y, int ulp)
Definition: RPCGeometryValidate.cc:40
RPCGeometryValidate::thicknesses_
vector< float > thicknesses_
Definition: RPCGeometryValidate.cc:94
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37