|
|
|
void | analyze (edm::Event const &iEvent, edm::EventSetup const &) override |
|
void | beginRun (edm::Run const &iEvent, edm::EventSetup const &) override |
|
void | endRun (edm::Run const &iEvent, edm::EventSetup const &) override |
|
| PHGCalParametersDBBuilder (const edm::ParameterSet &) |
|
| EDAnalyzer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
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 |
|
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 |
|
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) |
|
◆ PHGCalParametersDBBuilder()
◆ analyze()
◆ beginRun()
Definition at line 60 of file PHGCalParametersDBBuilder.cc.
64 edm::LogError(
"PHGCalParametersDBBuilder") <<
"PoolDBOutputService unavailable";
72 edm::LogVerbatim(
"HGCalGeom") <<
"PHGCalParametersDBBuilder::Try to access cm::DDCompactView";
79 edm::LogVerbatim(
"HGCalGeom") <<
"PHGCalParametersDBBuilder::Try to access DDCompactView";
92 edm::LogError(
"PHGCalParametersDBBuilder") <<
"PHGCalParameters and PHGCalParametersRcd Tag already present";
References cond::service::PoolDBOutputService::beginOfTime(), HGCalParametersFromDD::build(), cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), fromDD4Hep_, edm::EventSetup::get(), get, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), name2_, name_, namec_, namet_, namew_, edm::ESTransientHandle< T >::product(), and swapParameters().
◆ endRun()
◆ fillDescriptions()
◆ swapParameters()
Definition at line 96 of file PHGCalParametersDBBuilder.cc.
References PHGCalParameters::boundR_, HGCalParameters::boundR_, PHGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseX_, PHGCalParameters::cellCoarseY_, HGCalParameters::cellCoarseY_, PHGCalParameters::cellFactor_, HGCalParameters::cellFactor_, PHGCalParameters::cellFineX_, HGCalParameters::cellFineX_, PHGCalParameters::cellFineY_, HGCalParameters::cellFineY_, PHGCalParameters::cellSize_, HGCalParameters::cellSize_, PHGCalParameters::depth_, HGCalParameters::depth_, PHGCalParameters::depthIndex_, HGCalParameters::depthIndex_, PHGCalParameters::depthLayerF_, HGCalParameters::depthLayerF_, PHGCalParameters::layer_, HGCalParameters::layer_, PHGCalParameters::layerGroup_, HGCalParameters::layerGroup_, PHGCalParameters::layerGroupM_, HGCalParameters::layerGroupM_, PHGCalParameters::layerGroupO_, HGCalParameters::layerGroupO_, PHGCalParameters::layerIndex_, HGCalParameters::layerIndex_, PHGCalParameters::mode_, HGCalParameters::mode_, PHGCalParameters::moduleAlphaR_, HGCalParameters::moduleAlphaR_, PHGCalParameters::moduleAlphaS_, HGCalParameters::moduleAlphaS_, PHGCalParameters::moduleBlR_, HGCalParameters::moduleBlR_, PHGCalParameters::moduleBlS_, HGCalParameters::moduleBlS_, PHGCalParameters::moduleCellR_, HGCalParameters::moduleCellR_, PHGCalParameters::moduleCellS_, HGCalParameters::moduleCellS_, PHGCalParameters::moduleDzR_, HGCalParameters::moduleDzR_, PHGCalParameters::moduleDzS_, HGCalParameters::moduleDzS_, PHGCalParameters::moduleHR_, HGCalParameters::moduleHR_, PHGCalParameters::moduleHS_, HGCalParameters::moduleHS_, PHGCalParameters::moduleLayR_, HGCalParameters::moduleLayR_, PHGCalParameters::moduleLayS_, HGCalParameters::moduleLayS_, PHGCalParameters::moduleTlR_, HGCalParameters::moduleTlR_, PHGCalParameters::moduleTlS_, HGCalParameters::moduleTlS_, PHGCalParameters::name_, HGCalParameters::name_, PHGCalParameters::nCells_, HGCalParameters::nCells_, PHGCalParameters::nSectors_, HGCalParameters::nSectors_, PHGCalParameters::rMaxLayHex_, HGCalParameters::rMaxLayHex_, PHGCalParameters::rMinLayHex_, HGCalParameters::rMinLayHex_, PHGCalParameters::slopeMin_, HGCalParameters::slopeMin_, PHGCalParameters::trformIndex_, HGCalParameters::trformIndex_, PHGCalParameters::trformRotXX_, HGCalParameters::trformRotXX_, PHGCalParameters::trformRotXY_, HGCalParameters::trformRotXY_, PHGCalParameters::trformRotXZ_, HGCalParameters::trformRotXZ_, PHGCalParameters::trformRotYX_, HGCalParameters::trformRotYX_, PHGCalParameters::trformRotYY_, HGCalParameters::trformRotYY_, PHGCalParameters::trformRotYZ_, HGCalParameters::trformRotYZ_, PHGCalParameters::trformRotZX_, HGCalParameters::trformRotZX_, PHGCalParameters::trformRotZY_, HGCalParameters::trformRotZY_, PHGCalParameters::trformRotZZ_, HGCalParameters::trformRotZZ_, PHGCalParameters::trformTranX_, HGCalParameters::trformTranX_, PHGCalParameters::trformTranY_, HGCalParameters::trformTranY_, PHGCalParameters::trformTranZ_, HGCalParameters::trformTranZ_, PHGCalParameters::waferCopy_, HGCalParameters::waferCopy_, PHGCalParameters::waferPosX_, HGCalParameters::waferPosX_, PHGCalParameters::waferPosY_, HGCalParameters::waferPosY_, PHGCalParameters::waferR_, HGCalParameters::waferR_, PHGCalParameters::waferTypeL_, HGCalParameters::waferTypeL_, PHGCalParameters::waferTypeT_, HGCalParameters::waferTypeT_, PHGCalParameters::zLayerHex_, and HGCalParameters::zLayerHex_.
Referenced by beginRun().
◆ fromDD4Hep_
bool PHGCalParametersDBBuilder::fromDD4Hep_ |
|
private |
◆ name2_
std::string PHGCalParametersDBBuilder::name2_ |
|
private |
◆ name_
std::string PHGCalParametersDBBuilder::name_ |
|
private |
◆ namec_
std::string PHGCalParametersDBBuilder::namec_ |
|
private |
◆ namet_
std::string PHGCalParametersDBBuilder::namet_ |
|
private |
◆ namew_
std::string PHGCalParametersDBBuilder::namew_ |
|
private |
std::vector< int > layer_
std::vector< double > trformRotYX_
std::vector< double > trformRotXX_
std::vector< double > cellFineY_
std::vector< double > trformRotYY_
std::vector< double > moduleCellS_
std::vector< double > moduleHR_
T const * product() const
std::vector< int > depthIndex_
cond::Time_t beginOfTime() const
std::vector< double > trformRotZX_
std::vector< double > moduleTlR_
std::vector< double > moduleBlS_
std::vector< double > zLayerHex_
std::vector< double > moduleHS_
std::vector< double > moduleCellR_
std::vector< int > layerGroupM_
std::vector< double > moduleCellR_
std::vector< double > rMaxLayHex_
std::vector< double > trformRotYX_
std::vector< double > cellFineY_
std::vector< int > cellFactor_
std::vector< double > trformTranX_
std::vector< int > layerIndex_
std::vector< double > moduleCellS_
std::vector< double > boundR_
std::vector< int > layerIndex_
std::vector< double > moduleHS_
std::vector< int > cellFactor_
std::vector< int > moduleLayR_
std::vector< double > moduleBlR_
std::vector< double > trformRotXZ_
std::vector< double > cellCoarseX_
std::vector< double > trformTranZ_
std::vector< double > moduleBlR_
std::vector< double > boundR_
std::vector< double > moduleTlS_
std::vector< double > moduleBlS_
std::vector< double > waferPosY_
std::vector< double > moduleTlS_
std::vector< double > trformRotZY_
std::vector< double > trformTranX_
std::vector< double > moduleDzR_
std::vector< uint32_t > trformIndex_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< int > layerGroup_
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
std::vector< double > zLayerHex_
std::vector< int > waferTypeT_
std::vector< double > waferPosX_
std::vector< double > trformRotXX_
std::vector< double > trformRotYY_
std::vector< double > moduleDzR_
std::vector< double > rMinLayHex_
std::vector< double > rMinLayHex_
std::vector< int > waferCopy_
std::vector< int > moduleLayS_
std::vector< double > trformRotZX_
std::vector< double > cellSize_
std::vector< uint32_t > trformIndex_
std::vector< double > trformRotXZ_
std::vector< double > moduleAlphaS_
std::vector< int > depth_
std::vector< double > cellCoarseY_
std::vector< int > waferTypeL_
std::vector< double > cellSize_
HGCalGeometryMode::GeometryMode mode_
std::vector< int > depthLayerF_
std::vector< double > cellCoarseY_
std::vector< double > cellFineX_
std::vector< double > trformTranZ_
std::vector< int > layerGroupO_
std::vector< double > trformRotXY_
std::vector< double > trformRotXY_
std::vector< double > slopeMin_
std::vector< double > waferPosY_
std::vector< int > layerGroupM_
Log< level::Error, false > LogError
std::vector< double > trformRotZZ_
std::vector< int > depth_
std::vector< double > trformTranY_
std::vector< int > waferTypeT_
cond::Time_t endOfTime() const
std::vector< int > layerGroupO_
std::vector< int > moduleLayS_
bool build(const DDCompactView *cpv, HGCalParameters &php, const std::string &name, const std::string &namew, const std::string &namec, const std::string &namet)
std::vector< double > rMaxLayHex_
std::vector< double > slopeMin_
std::vector< int > depthIndex_
std::vector< double > trformRotYZ_
Log< level::Info, true > LogVerbatim
std::vector< double > moduleDzS_
std::vector< double > moduleAlphaR_
std::vector< double > moduleTlR_
std::vector< double > waferPosX_
std::vector< double > cellFineX_
bool isNewTagRequest(const std::string &recordName)
std::vector< double > moduleAlphaS_
T getParameter(std::string const &) const
std::vector< double > trformTranY_
std::vector< int > waferTypeL_
std::vector< double > cellCoarseX_
std::vector< double > moduleDzS_
std::vector< double > moduleHR_
std::vector< int > layer_
std::vector< double > trformRotYZ_
std::vector< int > depthLayerF_
std::vector< double > trformRotZZ_
std::vector< int > waferCopy_
std::vector< double > moduleAlphaR_
void swapParameters(HGCalParameters *, PHGCalParameters *)
std::vector< int > moduleLayR_
std::vector< double > trformRotZY_
std::vector< int > layerGroup_