|
|
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
|
void | usesResources (std::vector< std::string > const &) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
Definition at line 46 of file CTPPSGeometryESModule.cc.
◆ CTPPSGeometryESModule()
◆ ~CTPPSGeometryESModule()
CTPPSGeometryESModule::~CTPPSGeometryESModule |
( |
| ) |
|
|
inlineoverride |
◆ applyAlignments()
Definition at line 124 of file CTPPSGeometryESModule.cc.
127 std::deque<const DetGeomDesc*> bufferIdealGeo;
128 bufferIdealGeo.emplace_back(&idealDetRoot);
130 std::deque<DetGeomDesc*> bufferAlignedGeo;
132 bufferAlignedGeo.emplace_back(alignedDetRoot);
134 while (!bufferIdealGeo.empty()) {
135 const DetGeomDesc* idealDet = bufferIdealGeo.front();
136 DetGeomDesc* alignedDet = bufferAlignedGeo.front();
137 bufferIdealGeo.pop_front();
138 bufferAlignedGeo.pop_front();
166 const auto& idealDetChildren = idealDet->
components();
167 for (
unsigned int i = 0;
i < idealDetChildren.size();
i++) {
169 bufferIdealGeo.emplace_back(idealDetChild);
175 bufferAlignedGeo.emplace_back(alignedDetChild);
178 return std::unique_ptr<DetGeomDesc>(alignedDetRoot);
References DetGeomDesc::addComponent(), DetGeomDesc::applyAlignment(), DetGeomDesc::cmWithoutChildren, DetGeomDesc::components(), DDD_CTPPS_DIAMONDS_RP_NAME, DDD_CTPPS_DIAMONDS_SEGMENT_NAME, DDD_CTPPS_PIXELS_RP_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME_2x2, DDD_CTPPS_UFSD_SEGMENT_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, DDD_TOTEM_TIMING_RP_NAME, DDD_TOTEM_TIMING_SENSOR_TMPL, DetGeomDesc::geographicalID(), CTPPSRPAlignmentCorrectionsData::getFullSensorCorrection(), CTPPSRPAlignmentCorrectionsData::getRPCorrection(), mps_fire::i, Skims_PA_cff::name, DetGeomDesc::name(), year_2016_postTS2_cff::rpId, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceGD().
◆ fillCopyNos()
std::vector<int> CTPPSGeometryESModule::fillCopyNos |
( |
TGeoIterator & |
it | ) |
|
|
private |
◆ fillDescriptions()
◆ produceGD()
template<typename REC >
std::unique_ptr< DetGeomDesc > CTPPSGeometryESModule::produceGD |
( |
IdealGeometryRecord const & |
iIdealRec, |
|
|
const std::optional< REC > & |
iAlignRec, |
|
|
GDTokens< REC > const & |
iTokens, |
|
|
const char * |
name |
|
) |
| |
|
private |
◆ produceIdealGD()
◆ produceMisalignedGD()
◆ produceMisalignedTG()
◆ produceRealGD()
◆ produceRealTG()
◆ dd4hepToken_
◆ ddToken_
◆ dgdMisToken_
◆ dgdRealToken_
◆ fromDD4hep_
const bool CTPPSGeometryESModule::fromDD4hep_ |
|
private |
◆ gdMisTokens_
◆ gdRealTokens_
◆ verbosity_
const unsigned int CTPPSGeometryESModule::verbosity_ |
|
private |
const DepRecordT getRecord() const
void applyAlignment(const CTPPSRPAlignmentCorrectionData &)
const std::string DDD_CTPPS_UFSD_SEGMENT_NAME
const std::string DDD_CTPPS_PIXELS_SENSOR_NAME
const mapType & getRPMap() const
returns the map of RP alignment corrections
void addComponent(DetGeomDesc *)
const mapType & getSensorMap() const
returns the map of sensor alignment corrections
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
const std::string DDD_CTPPS_PIXELS_RP_NAME
std::unique_ptr< DetGeomDesc > produceGD(IdealGeometryRecord const &, const std::optional< REC > &, GDTokens< REC > const &, const char *name)
const std::string DDD_TOTEM_TIMING_RP_NAME
T getUntrackedParameter(std::string const &, T const &) const
const GDTokens< RPMisalignedAlignmentRecord > gdMisTokens_
std::unique_ptr< DetGeomDesc > produceRealGD(const VeryForwardRealGeometryRecord &)
const std::string DDD_CTPPS_DIAMONDS_SEGMENT_NAME
static std::unique_ptr< DetGeomDesc > applyAlignments(const DetGeomDesc &, const CTPPSRPAlignmentCorrectionsData *)
CTPPSRPAlignmentCorrectionData & getRPCorrection(unsigned int id)
returns the correction value from the RP map
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddToken_
DetId geographicalID() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::ESGetToken< DetGeomDesc, VeryForwardMisalignedGeometryRecord > dgdMisToken_
Compact representation of the geometrical detector hierarchy.
std::unique_ptr< CTPPSGeometry > produceRealTG(const VeryForwardRealGeometryRecord &)
const std::string DDD_CTPPS_PIXELS_SENSOR_NAME_2x2
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const GDTokens< RPRealAlignmentRecord > gdRealTokens_
std::unique_ptr< DetGeomDesc > produceIdealGD(const IdealGeometryRecord &)
const unsigned int verbosity_
const Container & components() const
const std::string DDD_CTPPS_DIAMONDS_RP_NAME
const std::string & name() const
std::unique_ptr< DetGeomDesc > produceMisalignedGD(const VeryForwardMisalignedGeometryRecord &)
const std::string DDD_TOTEM_TIMING_SENSOR_TMPL
const std::string DDD_TOTEM_RP_RP_NAME
DDD names of RP volumes.
std::unique_ptr< DetGeomDesc > buildDetGeomDescFromCompactView(const DDCompactView &myCompactView)
std::optional< DepRecordT > tryToGetRecord() const
Log< level::Info, true > LogVerbatim
const edm::ESGetToken< DetGeomDesc, VeryForwardRealGeometryRecord > dgdRealToken_
const std::string DDD_TOTEM_RP_SENSOR_NAME
DDD names of sensors.
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
T getParameter(std::string const &) const
CTPPSRPAlignmentCorrectionData getFullSensorCorrection(unsigned int id, bool useRPErrors=false) const
std::unique_ptr< CTPPSGeometry > produceMisalignedTG(const VeryForwardMisalignedGeometryRecord &)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_