Class to print out information on current geometry. More...
Public Member Functions | |
CTPPSGeometryInfo (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
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 |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | PrintGeometry (const CTPPSGeometry &, const edm::Event &) |
Static Private Member Functions | |
static void | PrintDetId (const CTPPSDetId &id, bool printDetails=true) |
Private Attributes | |
std::string | geometryType_ |
bool | printRPInfo_ |
bool | printSensorInfo_ |
edm::ESWatcher< IdealGeometryRecord > | watcherIdealGeometry_ |
edm::ESWatcher< VeryForwardMisalignedGeometryRecord > | watcherMisalignedGeometry_ |
edm::ESWatcher< VeryForwardRealGeometryRecord > | watcherRealGeometry_ |
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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Class to print out information on current geometry.
Definition at line 32 of file CTPPSGeometryInfo.cc.
|
explicit |
Definition at line 55 of file CTPPSGeometryInfo.cc.
|
overrideprivate |
Definition at line 65 of file CTPPSGeometryInfo.cc.
References edm::ESWatcher< T >::check(), Exception, geometry, geometryType_, edm::EventSetup::get(), PrintGeometry(), watcherIdealGeometry_, watcherMisalignedGeometry_, and watcherRealGeometry_.
|
staticprivate |
Definition at line 99 of file CTPPSGeometryInfo.cc.
References CTPPSDiamondDetId::channel(), CTPPSPixelDetId::plane(), TotemRPDetId::plane(), CTPPSDiamondDetId::plane(), CTPPSDetId::sdTimingDiamond, CTPPSDetId::sdTrackingPixel, and CTPPSDetId::sdTrackingStrip.
Referenced by PrintGeometry().
|
private |
Definition at line 135 of file CTPPSGeometryInfo.cc.
References CTPPSGeometry::beginRP(), CTPPSGeometry::beginSensor(), DEFINE_FWK_MODULE, CTPPSGeometry::endRP(), CTPPSGeometry::endSensor(), alignBH_cfg::fixed, geometryType_, CTPPSGeometry::localToGlobal(), PrintDetId(), printRPInfo_, printSensorInfo_, and lumiQTWidget::t.
Referenced by analyze().
|
private |
Definition at line 38 of file CTPPSGeometryInfo.cc.
Referenced by analyze(), and PrintGeometry().
|
private |
Definition at line 40 of file CTPPSGeometryInfo.cc.
Referenced by PrintGeometry().
|
private |
Definition at line 40 of file CTPPSGeometryInfo.cc.
Referenced by PrintGeometry().
|
private |
Definition at line 42 of file CTPPSGeometryInfo.cc.
Referenced by analyze().
|
private |
Definition at line 44 of file CTPPSGeometryInfo.cc.
Referenced by analyze().
|
private |
Definition at line 43 of file CTPPSGeometryInfo.cc.
Referenced by analyze().