|
| BuildTrackerMapPlugin (const edm::ParameterSet &) |
|
| ~BuildTrackerMapPlugin () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () 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 |
|
ESProxyIndex const * | esGetTokenIndices (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::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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
Description: DQM source application to monitor common mode for SiStrip data
Definition at line 55 of file BuildTrackerMap.cc.
void BuildTrackerMapPlugin::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 345 of file BuildTrackerMap.cc.
References gather_cfg::cout, mps_fire::i, isValidMap_, maxVal_, minVal_, TrackerMap::save(), TrackerMap::save_as_fedtrackermap(), TrackerMap::setPalette(), TrackerMap::showPalette(), AlCaHLTBitMon_QueryRunRegistry::string, subtractMap(), tkHistoMapNameVec_, tkHistoMapVec_, tkHistoMapVecDiff_, and tkmap_.
Referenced by ~BuildTrackerMapPlugin().
362 std::cout <<
"tkmap_ is NULL for element " <<
i <<
"... continuing ..." << std::endl;
373 std::cout <<
"Warning, tkHistoMap is invalid for element " <<
i <<
"... continuing ..." << std::endl;
std::vector< std::string > tkHistoMapNameVec_
std::vector< double > minVal_
std::vector< double > maxVal_
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVecDiff_
void showPalette(bool printflag1)
void setPalette(int numpalette)
void save(bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800)
void save_as_fedtrackermap(bool print_total=true, float minval=0., float maxval=0., std::string s="fed_svgmap.svg", int width=100+(90+100)*31+300, int height=150+(2940+150)*1+300)
void subtractMap(TkHistoMap *aResult, const TkHistoMap *aSubtr)
std::vector< TrackerMap * > tkmap_
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVec_
std::vector< bool > isValidMap_
void BuildTrackerMapPlugin::read |
( |
bool |
aMechView, |
|
|
std::string |
aFile, |
|
|
const TkDetMap * |
tkDetMap, |
|
|
std::vector< std::unique_ptr< TkHistoMap >> & |
aTkMapVec, |
|
|
std::vector< bool > & |
aValidVec |
|
) |
| |
|
private |
Definition at line 143 of file BuildTrackerMap.cc.
References gather_cfg::cout, TrackerOfflineValidation_Dqm_cff::dirName, cmsRelvalreport::exit, folderName_, mps_fire::i, TkHistoMap::loadTkHistoMap(), eostools::move(), DQMStore::open(), Utilities::operator, AlCaHLTBitMon_QueryRunRegistry::string, and tkHistoMapNameVec_.
Referenced by analyze(), edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches(), and ~BuildTrackerMapPlugin().
151 lDqmStore->open(aFile);
154 aTkMapVec.reserve(nHists);
155 aValidVec.reserve(nHists);
160 dirName += aFile.substr(aFile.find_last_of(
"_")+5,6);
161 dirName +=
"/SiStrip/Run summary";
162 std::cout <<
" -- DirName = " << dirName << std::endl;
168 unsigned int nFailTot=0;
169 unsigned int nTotTot = 0;
170 for (
unsigned int i(0);
i<nHists;
i++){
172 std::unique_ptr<TkHistoMap> tkHistoMap{
new TkHistoMap(tkDetMap)};
176 std::vector<MonitorElement*>& lMaps = tkHistoMap->getAllMaps();
178 std::cout <<
" -- map " <<
i <<
", nHistos = " << lMaps.size() << std::endl;
179 unsigned int nFail=0;
182 for (
unsigned int im(0); im<lMaps.size(); im++){
184 std::cout <<
" -- Failed to get element " << im <<
" for map " <<
i << std::endl;
192 if (nFail == nTot) aValidVec[
i] =
false;
193 aTkMapVec.emplace_back(
std::move(tkHistoMap));
196 if (nFailTot < nTotTot)
std::cout <<
" - " << nTotTot-nFailTot <<
"/" << nTotTot
197 <<
" histomaps read with success for file ." << aFile << std::endl;
199 std::cout <<
" - Failed to read any map for file " << aFile <<
". Exiting line ... " << __LINE__ << std::endl;
std::vector< std::string > tkHistoMapNameVec_
void loadTkHistoMap(const std::string &path, const std::string &MapName, bool mechanicalView=false)