|
| SiStripBadStripFromASCIIFile (const edm::ParameterSet &iConfig) |
|
| ~SiStripBadStripFromASCIIFile () override=default |
|
| ConditionDBWriter (const edm::ParameterSet &iConfig) |
|
| ~ConditionDBWriter () 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 |
|
void | setDoStore (const bool doStore) |
| When set to false the payload will not be written to the db. More...
|
|
void | storeOnDbNow () |
|
cond::Time_t | timeOfLastIOV () |
|
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) |
|
std::unique_ptr< SiStripBadStrip > SiStripBadStripFromASCIIFile::getNewObject |
( |
| ) |
|
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 53 of file SiStripBadStripFromASCIIFile.cc.
References submitPVResolutionJobs::count, TauDecayModes::dec, ALCARECOPPSCalTrackBasedSel_cff::detid, writedatasetfile::firstrun, RemoveAddSevLevel::flag, fp_, edm::FileInPath::fullPath(), timingPdfMaker::infile, isFlagAvailable_, printdebug_, and isotrackApplyRegressor::range.
54 auto SiStripBadStrip_ = std::make_unique<SiStripBadStrip>();
59 edm::LogError(
"SiStripBadStripFromASCIIFile") <<
"[SiStripBadStripFromASCIIFile::GetNewObject]" 60 <<
" Problem while trying to open File: " << (
fp_.
fullPath()).c_str();
69 short tempchannel = 0;
71 std::vector<unsigned int> theSiStripVector;
73 uint32_t tempdetid = 0;
85 unsigned int theBadStripRange = 0;
90 tempchannel = channel;
96 if (
detid == tempdetid) {
97 if (channel != tempchannel +
count ||
flag != tempflag) {
99 theBadStripRange = SiStripBadStrip_->encode(
107 <<
"detid " << tempdetid <<
" \t" 108 <<
" firstBadStrip " << tempchannel <<
"\t " 109 <<
" NconsecutiveBadStrips " <<
count <<
"\t " 110 <<
"flag " << tempflag <<
"\t" 111 <<
" packed integer " << std::hex << theBadStripRange <<
std::dec;
114 theSiStripVector.push_back(theBadStripRange);
118 if (!SiStripBadStrip_->put(tempdetid,
range))
120 <<
"[SiStripBadStripFromASCIIFile::GetNewObject] detid already exists";
121 theSiStripVector.clear();
125 tempchannel = channel;
133 if (
detid != tempdetid) {
135 theBadStripRange = SiStripBadStrip_->encode(
141 edm::LogInfo(
"SiStripBadStripFromASCIIFile") <<
"detid " << tempdetid <<
" \t" 142 <<
" firstBadStrip " << tempchannel <<
"\t " 143 <<
" NconsecutiveBadStrips " <<
count <<
"\t " 144 <<
"flag " << tempflag <<
"\t" 145 <<
" packed integer " << std::hex << theBadStripRange <<
std::dec;
148 theSiStripVector.push_back(theBadStripRange);
152 if (!SiStripBadStrip_->put(tempdetid,
range))
154 <<
"[SiStripBadStripFromASCIIFile::GetNewObject] detid already exists";
155 theSiStripVector.clear();
159 tempchannel = channel;
164 return SiStripBadStrip_;
Log< level::Error, false > LogError
const edm::FileInPath fp_
Log< level::Info, false > LogInfo
std::pair< ContainerIterator, ContainerIterator > Range
const std::string & fullPath() const
const bool isFlagAvailable_