|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
| SiPixelLorentzAngleDB (const edm::ParameterSet &conf) |
|
| ~SiPixelLorentzAngleDB () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~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 const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > 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 const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, 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::ESRecordsToProductResolverIndices 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) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 28 of file SiPixelLorentzAngleDB.cc.
Implements edm::one::EDAnalyzerBase.
Definition at line 75 of file SiPixelLorentzAngleDB.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), BPixParameters_, cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), ALCARECOPPSCalTrackBasedSel_cff::detid, TrackerGeometry::detUnits(), cppFunctionSkipper::exception, ALCARECOEcalPhiSym_cff::float, FPixParameters_, edm::EventSetup::getData(), HVgroup(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, SiStripSimParameters_cfi::LorentzAngle, ModuleParameters_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), TrackerTopology::pxfSide(), DetId::rawId(), recordName_, tkGeomToken_, tkTopoToken_, useFile_, and cms::Exception::what().
84 <<
" There are " << pDD->
detUnits().size() <<
" detectors (old)" << std::endl;
87 if (dynamic_cast<PixelGeomDetUnit const*>(
it) !=
nullptr) {
89 const DetId detidc =
it->geographicalId();
101 if (
it->getParameter<
unsigned int>(
"rawid") == detidc.
rawId()) {
102 float lorentzangle = (
float)
it->getParameter<
double>(
"angle");
105 <<
" individual value=" << lorentzangle <<
" put into rawid=" <<
detid.rawId() << endl;
111 if (
it->getParameter<
unsigned int>(
"module") == tTopo->
pxbModule(detidc.
rawId()) &&
112 it->getParameter<
unsigned int>(
"layer") == tTopo->
pxbLayer(detidc.
rawId())) {
113 float lorentzangle = (
float)
it->getParameter<
double>(
"angle");
120 <<
"[SiPixelLorentzAngleDB::analyze] method for reading file not implemented yet" << std::endl;
133 if (
it->getParameter<
unsigned int>(
"rawid") == detidc.
rawId()) {
134 float lorentzangle = (
float)
it->getParameter<
double>(
"angle");
137 <<
" individual value=" << lorentzangle <<
" put into rawid=" <<
detid.rawId() << endl;
143 if (
it->getParameter<
unsigned int>(
"side") == tTopo->
pxfSide(detidc.
rawId()) &&
144 it->getParameter<
unsigned int>(
"disk") == tTopo->
pxfDisk(detidc.
rawId()) &&
145 it->getParameter<
unsigned int>(
"HVgroup") ==
147 float lorentzangle = (
float)
it->getParameter<
double>(
"angle");
154 <<
"[SiPixelLorentzAngleDB::analyze] detid is Pixel but neither bpix nor fpix" << std::endl;
170 edm::LogError(
"SiPixelLorentzAngleDB") <<
"caught std::exception " << er.what() << std::endl;
172 edm::LogError(
"SiPixelLorentzAngleDB") <<
"Funny error" << std::endl;
175 edm::LogError(
"SiPixelLorentzAngleDB") <<
"Service is unavailable" << std::endl;
unsigned int pxbLayer(const DetId &id) const
Base exception class for the object to relational access.
Parameters ModuleParameters_
unsigned int pxfBlade(const DetId &id) const
unsigned int pxfModule(const DetId &id) const
cond::Time_t beginOfTime() const
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
unsigned int pxbLadder(const DetId &id) const
Log< level::Error, false > LogError
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
Parameters BPixParameters_
void appendOneIOV(const T &payload, cond::Time_t sinceTime, const std::string &recordName)
Parameters FPixParameters_
bool isNewTagRequest(const std::string &recordName)
cond::Time_t currentTime() const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
unsigned int pxfDisk(const DetId &id) const
Log< level::Warning, true > LogPrint
unsigned int pxfPanel(const DetId &id) const
Log< level::Info, false > LogInfo
unsigned int pxfSide(const DetId &id) const
constexpr uint32_t rawId() const
get the raw id
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tkTopoToken_
unsigned int HVgroup(unsigned int panel, unsigned int module)
unsigned int pxbModule(const DetId &id) const
char const * what() const noexcept override