|
|
|
| RPCGeometryValidate (const ParameterSet &) |
|
| ~RPCGeometryValidate () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () 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 |
|
EDConsumerBase & | operator= (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) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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) |
|
Definition at line 49 of file RPCGeometryValidate.cc.
◆ RPCGeometryValidate()
RPCGeometryValidate::RPCGeometryValidate |
( |
const ParameterSet & |
iConfig | ) |
|
|
explicit |
◆ ~RPCGeometryValidate()
RPCGeometryValidate::~RPCGeometryValidate |
( |
| ) |
|
|
inlineoverride |
◆ analyze()
◆ beginJob()
void RPCGeometryValidate::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ clearData()
void RPCGeometryValidate::clearData |
( |
| ) |
|
|
inlineprivate |
◆ clearData2()
void RPCGeometryValidate::clearData2 |
( |
| ) |
|
|
inlineprivate |
◆ compareShape()
void RPCGeometryValidate::compareShape |
( |
const GeomDet * |
det, |
|
|
const float * |
shape |
|
) |
| |
|
private |
Definition at line 181 of file RPCGeometryValidate.cc.
183 float shapeBottomWidth;
185 float shapeThickness;
188 shapeTopWidth = shape[2];
189 shapeBottomWidth = shape[1];
190 shapeLength = shape[4];
191 shapeThickness = shape[3];
192 }
else if (shape[0] == 2) {
193 shapeTopWidth = shape[1];
194 shapeBottomWidth = shape[1];
195 shapeLength = shape[2];
196 shapeThickness = shape[3];
198 LogVerbatim(
"RPCGeometry") <<
"Failed to get box or trapezoid from shape";
203 float topWidth, bottomWidth;
208 array<const float, 4>
const& ps = tpbs->parameters();
216 }
else if ((dynamic_cast<const RectangularPlaneBounds*>(bounds))) {
219 bottomWidth = topWidth;
222 LogVerbatim(
"RPCGeometry") <<
"Failed to get bounds";
226 topWidths_.push_back(fabs(shapeTopWidth - topWidth));
227 bottomWidths_.push_back(fabs(shapeBottomWidth - bottomWidth));
228 lengths_.push_back(fabs(shapeLength - length));
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 |
◆ endJob()
void RPCGeometryValidate::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ getDiff()
float RPCGeometryValidate::getDiff |
( |
const float |
val1, |
|
|
const float |
val2 |
|
) |
| |
|
private |
◆ getDistance()
◆ makeHistogram()
void RPCGeometryValidate::makeHistogram |
( |
const string & |
name, |
|
|
vector< float > & |
data |
|
) |
| |
|
private |
◆ makeHistograms()
void RPCGeometryValidate::makeHistograms |
( |
const char * |
detector | ) |
|
|
private |
◆ makeHistograms2()
void RPCGeometryValidate::makeHistograms2 |
( |
const char * |
detector | ) |
|
|
private |
◆ validateRPCChamberGeometry()
void RPCGeometryValidate::validateRPCChamberGeometry |
( |
| ) |
|
|
private |
Definition at line 119 of file RPCGeometryValidate.cc.
129 LogVerbatim(
"RPCGeometry") <<
"Failed to get matrix of RPC chamber with detid: " << chId.
rawId();
137 LogVerbatim(
"RPCGeometry") <<
"Failed to get shape of RPC chamber with detid: " << chId.
rawId();
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 145 of file RPCGeometryValidate.cc.
150 const int n_strips = it->nstrips();
151 const float n_pitch = it->pitch();
157 for (
int istrips = 1; istrips <= n_strips; istrips++) {
163 LogVerbatim(
"RPCGeometry") <<
"ATTENTION! nStrips == 0";
References clearData2(), fwGeometry_, FWGeometry::getParameters(), makeHistograms2(), nstrips_, pitch_, DetId::rawId(), RPCGeometry::rolls(), rpcGeometry_, StripTopology::stripLength(), and stripslen_.
Referenced by analyze().
◆ bottomWidths_
vector<float> RPCGeometryValidate::bottomWidths_ |
|
private |
◆ fwGeometry_
◆ globalDistances_
vector<float> RPCGeometryValidate::globalDistances_ |
|
private |
◆ infileName_
string RPCGeometryValidate::infileName_ |
|
private |
◆ lengths_
vector<float> RPCGeometryValidate::lengths_ |
|
private |
◆ nstrips_
vector<float> RPCGeometryValidate::nstrips_ |
|
private |
◆ outFile_
TFile* RPCGeometryValidate::outFile_ |
|
private |
◆ outfileName_
string RPCGeometryValidate::outfileName_ |
|
private |
◆ pitch_
vector<float> RPCGeometryValidate::pitch_ |
|
private |
◆ rpcGeometry_
◆ stripslen_
vector<float> RPCGeometryValidate::stripslen_ |
|
private |
◆ thicknesses_
vector<float> RPCGeometryValidate::thicknesses_ |
|
private |
◆ tokRPC_
◆ tolerance_
int RPCGeometryValidate::tolerance_ |
|
private |
◆ topWidths_
vector<float> RPCGeometryValidate::topWidths_ |
|
private |
virtual float width() const =0
void loadMap(const char *fileName)
void compareTransform(const GlobalPoint &, const TGeoMatrix *)
const float * getShapePars(unsigned int id) const
T getUntrackedParameter(std::string const &, T const &) const
Point3DBase< Scalar, LocalTag > LocalPoint
virtual float length() const =0
const Plane & surface() const
The nominal surface of the GeomDet.
const float * getParameters(unsigned int id) const
const TGeoMatrix * getMatrix(unsigned int id) const
const Bounds & bounds() const
vector< float > topWidths_
Global3DPoint GlobalPoint
void compareShape(const GeomDet *, const float *)
virtual float thickness() const =0
virtual float stripLength() const =0
const RPCGeometry * rpcGeometry_
void makeHistogram(const string &, vector< float > &)
void validateRPCStripsGeometry()
vector< float > globalDistances_
vector< float > stripslen_
vector< float > bottomWidths_
float getDistance(const GlobalPoint &, const GlobalPoint &)
bool getData(T &iHolder) const
constexpr uint32_t rawId() const
get the raw id
void validateRPCChamberGeometry()
void makeHistograms2(const char *)
Log< level::Info, true > LogVerbatim
char data[epos_bytes_allocation]
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > tokRPC_
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
void makeHistograms(const char *)
enable_if<!numeric_limits< T >::is_integer, bool >::type almost_equal(T x, T y, int ulp)
vector< float > thicknesses_