CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
BuildTrackerMapPlugin Class Reference

#include <DQM/SiStripMonitorHardware/plugins/BuildTrackerMap.cc>

Inheritance diagram for BuildTrackerMapPlugin:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 BuildTrackerMapPlugin (const edm::ParameterSet &)
 
 ~BuildTrackerMapPlugin () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
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
 
EDConsumerBaseoperator= (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)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
void read (bool aMechView, std::string aFile, const TkDetMap *tkDetMap, std::vector< std::unique_ptr< TkHistoMap >> &aTkMapVec, std::vector< bool > &aValidVec)
 
void subtractMap (TkHistoMap *aResult, const TkHistoMap *aSubtr)
 

Private Attributes

bool doDiff_
 
std::string fileName_
 
std::string fileNameDiff_
 
std::string folderName_
 
std::vector< bool > isValidMap_
 
std::vector< bool > isValidMapDiff_
 
std::vector< double > maxVal_
 
bool mechanicalView_
 
std::vector< double > minVal_
 
unsigned int printDebug_
 
edm::ParameterSet pset_
 
std::vector< std::string > tkHistoMapNameVec_
 
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVec_
 
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVecDiff_
 
std::vector< TrackerMap * > tkmap_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
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 ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
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>
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)
 
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)
 

Detailed Description

Description: DQM source application to monitor common mode for SiStrip data

Definition at line 55 of file BuildTrackerMap.cc.

Member Typedef Documentation

◆ DQMStore

Definition at line 58 of file BuildTrackerMap.cc.

◆ MonitorElement

Definition at line 57 of file BuildTrackerMap.cc.

Constructor & Destructor Documentation

◆ BuildTrackerMapPlugin()

BuildTrackerMapPlugin::BuildTrackerMapPlugin ( const edm::ParameterSet iConfig)
explicit

Definition at line 106 of file BuildTrackerMap.cc.

107  : fileName_(iConfig.getUntrackedParameter<std::string>("InputFileName", "DQMStore.root")),
108  mechanicalView_(iConfig.getUntrackedParameter<bool>("MechanicalView", true)),
109  folderName_(iConfig.getUntrackedParameter<std::string>("HistogramFolderName", "DQMData/")),
110  printDebug_(iConfig.getUntrackedParameter<unsigned int>("PrintDebugMessages", 1)),
111  doDiff_(iConfig.getUntrackedParameter<bool>("DoDifference", false)),
112  fileNameDiff_(iConfig.getUntrackedParameter<std::string>("InputFileNameForDiff", "DQMStore.root")),
113  tkHistoMapNameVec_(iConfig.getUntrackedParameter<std::vector<std::string>>("TkHistoMapNameVec")),
114  minVal_(iConfig.getUntrackedParameter<std::vector<double>>("MinValueVec")),
115  maxVal_(iConfig.getUntrackedParameter<std::vector<double>>("MaxValueVec")),
116  pset_(iConfig.getParameter<edm::ParameterSet>("TkmapParameters")) {
117  // for (unsigned int i(0); i<34; i++){
118  // if (i<4) histName_[i] << "TIB/layer_" << i+1 << "/" << tkDetMapName_ << "_TIB_L" << i+1;
119  // else if (i<7) histName_[i] << "TID/side_1/wheel_" << i-3 << "/" << tkDetMapName_ << "_TIDM_D" << i-3;
120  // else if (i<10) histName_[i] << "TID/side_2/wheel_" << i-6 << "/" << tkDetMapName_ << "_TIDP_D" << i-6;
121  // else if (i<16) histName_[i] << "TOB/layer_" << i-9 << "/" << tkDetMapName_ << "_TOB_L" << i-9;
122  // else if (i<25) histName_[i] << "TEC/side_1/wheel_" << i-15 << "/" << tkDetMapName_ << "_TECM_W" << i-15;
123  // else if (i<34) histName_[i] << "TEC/side_2/wheel_" << i-24 << "/" << tkDetMapName_ << "_TECP_W" << i-24;
124 
125  // std::cout << "histName[" << i << "] =" << histName_[i] << std::endl;
126 
127  // }
128 }

◆ ~BuildTrackerMapPlugin()

BuildTrackerMapPlugin::~BuildTrackerMapPlugin ( )
inlineoverride

Definition at line 61 of file BuildTrackerMap.cc.

61 {}

Member Function Documentation

◆ analyze()

void BuildTrackerMapPlugin::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 286 of file BuildTrackerMap.cc.

286  {
287  static bool firstEvent = true;
288 
290  iSetup.get<SiStripFedCablingRcd>().get(fedcabling);
291 
292  edm::ESHandle<TrackerTopology> tTopoHandle;
293  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
294  const TrackerTopology* const tTopo = tTopoHandle.product();
295 
296  if (tkHistoMapVec_.empty() && (!tkHistoMapNameVec_.empty())) {
297  edm::ESHandle<TkDetMap> tkDetMapHandle;
298  iSetup.get<TrackerTopologyRcd>().get(tkDetMapHandle);
299  const TkDetMap* tkDetMap = tkDetMapHandle.product();
301  if (doDiff_)
303  }
304 
305  if (firstEvent) {
306  for (unsigned int i(0); i < tkHistoMapNameVec_.size(); i++) {
307  tkmap_.push_back(new TrackerMap(pset_, &(*fedcabling), tTopo));
308  }
309  }
310 
311  firstEvent = false;
312 
313  std::cout << "End of analyze method: tkmap_ size = " << tkmap_.size() << std::endl;
314 
315 } //analyze method

References gather_cfg::cout, doDiff_, fileName_, fileNameDiff_, amptDefault_cfi::firstEvent, edm::EventSetup::get(), get, mps_fire::i, isValidMap_, isValidMapDiff_, mechanicalView_, edm::ESHandle< T >::product(), pset_, read(), tkHistoMapNameVec_, tkHistoMapVec_, tkHistoMapVecDiff_, and tkmap_.

◆ beginJob()

void BuildTrackerMapPlugin::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 318 of file BuildTrackerMap.cc.

318 {}

◆ endJob()

void BuildTrackerMapPlugin::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 321 of file BuildTrackerMap.cc.

321  {
322  //edm::ESHandle<SiStripFedCabling> pDD1;
323  //iSetup.get<SiStripFedCablingRcd>().get(pDD1);
324  std::cout << "Processing endjob with " << tkHistoMapNameVec_.size() << " elements." << std::endl;
325 
326  assert(minVal_.size() == tkHistoMapNameVec_.size());
327  assert(maxVal_.size() == tkHistoMapNameVec_.size());
328 
329  for (unsigned int i(0); i < tkHistoMapNameVec_.size(); i++) {
330  std::cout << "Processing element " << i << ": " << tkHistoMapNameVec_.at(i) << std::endl;
331  std::cout << "Min, max = " << minVal_.at(i) << " " << maxVal_.at(i) << std::endl;
332 
333  TrackerMap* lTkMap = tkmap_.at(i);
334 
335  if (!lTkMap) {
336  std::cout << "tkmap_ is NULL for element " << i << "... continuing ..." << std::endl;
337  continue;
338  }
339 
340  subtractMap(tkHistoMapVec_.at(i).get(), tkHistoMapVecDiff_.at(i).get());
341 
342  //(pset_,pDD1);
343  lTkMap->setPalette(1);
344  lTkMap->showPalette(true);
345  if (!tkHistoMapVec_.at(i) || !isValidMap_.at(i)) {
346  std::cout << "Warning, tkHistoMap is invalid for element " << i << "... continuing ..." << std::endl;
347  continue;
348  }
349  tkHistoMapVec_.at(i)->dumpInTkMap(lTkMap);
350 
351  //to print all figures to create fancy view
352  //lTkMap->printall(true,0,255,tkHistoMapNameVec_.at(i));
353  lTkMap->save(true, minVal_.at(i), maxVal_.at(i), tkHistoMapNameVec_.at(i) + std::string(".png"));
354  lTkMap->save_as_fedtrackermap(
355  true, minVal_.at(i), maxVal_.at(i), tkHistoMapNameVec_.at(i) + std::string("_FED.png"));
356  }
357 }

References cms::cuda::assert(), 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_.

◆ read()

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 135 of file BuildTrackerMap.cc.

139  {
140  DQMStore* lDqmStore = edm::Service<DQMStore>().operator->();
141  lDqmStore->open(aFile);
142 
143  unsigned int nHists = tkHistoMapNameVec_.size();
144  aTkMapVec.reserve(nHists);
145  aValidVec.reserve(nHists);
146 
148  if (dirName.empty()) {
149  dirName += "Run ";
150  dirName += aFile.substr(aFile.find_last_of("_") + 5, 6);
151  dirName += "/SiStrip/Run summary";
152  std::cout << " -- DirName = " << dirName << std::endl;
153  }
154 
155  //lDqmStore->setCurrentFolder(dirName);
156 
157  unsigned int nFailTot = 0;
158  unsigned int nTotTot = 0;
159  for (unsigned int i(0); i < nHists; i++) {
160  std::unique_ptr<TkHistoMap> tkHistoMap{new TkHistoMap(tkDetMap)};
161 
162  tkHistoMap->loadTkHistoMap(dirName, tkHistoMapNameVec_.at(i), aMechView);
163 
164  std::vector<MonitorElement*>& lMaps = tkHistoMap->getAllMaps();
165 
166  std::cout << " -- map " << i << ", nHistos = " << lMaps.size() << std::endl;
167  unsigned int nFail = 0;
168  unsigned int nTot = 0;
169 
170  for (unsigned int im(0); im < lMaps.size(); im++) {
171  if (!lMaps[im]) {
172  std::cout << " -- Failed to get element " << im << " for map " << i << std::endl;
173  nFail++;
174  nFailTot++;
175  }
176  nTot++;
177  nTotTot++;
178  }
179 
180  if (nFail == nTot)
181  aValidVec[i] = false;
182  aTkMapVec.emplace_back(std::move(tkHistoMap));
183  }
184 
185  if (nFailTot < nTotTot)
186  std::cout << " - " << nTotTot - nFailTot << "/" << nTotTot << " histomaps read with success for file ." << aFile
187  << std::endl;
188  else {
189  std::cout << " - Failed to read any map for file " << aFile << ". Exiting line ... " << __LINE__ << std::endl;
190  exit(1);
191  }
192 
193  // //get list of detid for which |deltaRMS(APV0-APV1)|>1
194  // unsigned int lHistoNumber = 35;
195  // TkDetMap lTkDetMap;
196  // std::ofstream list,listRms0,listRms1;
197  // list.open("./cmBadModuleList.dat",std::ios::out);
198  // listRms0.open("./cmBadModuleList_rms0.dat",std::ios::out);
199  // listRms1.open("./cmBadModuleList_rms1.dat",std::ios::out);
200  // if (!list || !listRms0 || !listRms1) {
201  // std::cout << "Warning, can't open output file to write bad module list !" << std::endl;
202  // exit(1);
203  // }
204 
205  // TCanvas *lCan = new TCanvas("lCan","",1);
206  // TH1F *p_deltaMean = new TH1F("p_deltaMean",";CM_{mean}(APV0)-CM_{mean}(APV1)",500,-2,2);
207  // TH1F *p_deltaRMS = new TH1F("p_deltaRMS",";CM_{RMS}(APV0)-CM_{RMS}(APV1)",500,0,3);
208  // TH1F *p_MeanAPV0 = new TH1F("p_MeanAPV0",";CM_{mean}(APV0)",500,100,140);
209  // //TH1F *p_MeanAPV1 = new TH1F("p_MeanAPV1",";CM_{mean}(APV1)",500,100,140);
210  // TH1F *p_RMSAPV0 = new TH1F("p_RMSAPV0",";CM_{RMS}(APV0)",500,0,10);
211  // //TH1F *p_RMSAPV1 = new TH1F("p_RMSAPV1",";CM_{RMS}(APV1)",500,0,10);
212 
213  // gStyle->SetOptStat(1111111);
214 
215  // for(unsigned int layer=1;layer<lHistoNumber;++layer){
216  // std::vector<uint32_t> dets;
217  // lTkDetMap.getDetsForLayer(layer,dets);
218  // for(size_t i=0;i<dets.size();++i){
219  // if(dets[i]>0){
220  // //if(tkHistoMap[5]->getEntries(dets[i])>0 && tkHistoMap[5]->getValue(dets[i])) {
221  // if(nHists > 3){
222  // if (tkHistoMap[3]->getValue(dets[i]) > 1) {
223  // list << dets[i] << " " << tkHistoMap[3]->getValue(dets[i]) << std::endl;
224  // }
225  // p_deltaRMS->Fill(tkHistoMap[3]->getValue(dets[i]));
226  // }
227  // p_MeanAPV0->Fill(tkHistoMap[0]->getValue(dets[i]));
228  // //p_MeanAPV1->Fill(tkHistoMap[1]->getValue(dets[i]));
229  // p_RMSAPV0->Fill(tkHistoMap[1]->getValue(dets[i]));
230  // if (tkHistoMap[1]->getValue(dets[i]) > 2)
231  // listRms0 << dets[i] << " " << tkHistoMap[1]->getValue(dets[i]) << std::endl;
232  // //p_RMSAPV1->Fill(tkHistoMap[3]->getValue(dets[i]));
233  // //if (tkHistoMap[3]->getValue(dets[i]) > 2)
234  // //listRms1 << dets[i] << " " << tkHistoMap[3]->getValue(dets[i]) << std::endl;
235 
236  // if(nHists > 2) p_deltaMean->Fill(tkHistoMap[2]->getValue(dets[i]));
237  // }
238  // }
239  // }
240  // list.close();
241  // listRms0.close();
242  // listRms1.close();
243 
244  // lCan->cd();
245  // p_deltaRMS->Draw();
246  // //lCan->Print("./deltaRMStotal.png");
247  // lCan->Print("./deltaRMStotal.C");
248 
249  // p_deltaMean->Draw();
250  // lCan->Update();
251  // lCan->Print("./deltaMeantotal.C");
252 
253  // TPaveStats *statBox[2] = {0,0};
254  // statBox[0] = (TPaveStats*)p_MeanAPV0->FindObject("stats");
255  // //statBox[1] = (TPaveStats*)p_MeanAPV1->FindObject("stats");
256 
257  // p_MeanAPV0->Draw();
258  // //p_MeanAPV1->SetLineColor(2);
259  // //p_MeanAPV1->Draw("same");
260  // if (statBox[0]) statBox[0]->Draw("same");
261  // if (statBox[1]) {
262  // statBox[1]->SetLineColor(2);
263  // statBox[1]->SetTextColor(2);
264  // statBox[1]->Draw("same");
265  // }
266  // lCan->Update();
267  // lCan->Print("./meanAPVstotal.C");
268 
269  // statBox[0] = (TPaveStats*)p_RMSAPV0->FindObject("stats");
270  // //statBox[1] = (TPaveStats*)p_RMSAPV1->FindObject("stats");
271 
272  // p_RMSAPV0->Draw();
273  // //p_RMSAPV1->SetLineColor(2);
274  // //p_RMSAPV1->Draw("same");
275  // if (statBox[0]) statBox[0]->Draw("same");
276  // if (statBox[1]) {
277  // statBox[1]->SetLineColor(2);
278  // statBox[1]->SetTextColor(2);
279  // statBox[1]->Draw("same");
280  // }
281  // lCan->Update();
282  // lCan->Print("./rmsAPVstotal.C");
283 }

References gather_cfg::cout, TrackerOfflineValidation_Dqm_cff::dirName, beamvalidation::exit(), folderName_, mps_fire::i, TkHistoMap::loadTkHistoMap(), eostools::move(), dqm::implementation::DQMStore::open(), AlCaHLTBitMon_QueryRunRegistry::string, and tkHistoMapNameVec_.

Referenced by analyze(), and edmIntegrityCheck.PublishToFileSystem::get().

◆ subtractMap()

void BuildTrackerMapPlugin::subtractMap ( TkHistoMap aResult,
const TkHistoMap aSubtr 
)
private

Definition at line 359 of file BuildTrackerMap.cc.

359  {
360  std::vector<MonitorElement*>& lMaps = aResult->getAllMaps();
361  const std::vector<MonitorElement*>& lMapsDiff = aSubtr->getAllMaps();
362 
363  assert(lMaps.size() == lMapsDiff.size());
364 
365  for (unsigned int im(0); im < lMaps.size(); im++) {
366  if (!lMaps[im] || !lMapsDiff[im]) {
367  std::cout << " -- Failed to get element " << im << " for maps." << std::endl;
368  } else {
369  (lMaps[im]->getTProfile2D())->Add(lMapsDiff[im]->getTProfile2D(), -1);
370  }
371  }
372 }

References cms::cuda::assert(), gather_cfg::cout, and TkHistoMap::getAllMaps().

Referenced by endJob().

Member Data Documentation

◆ doDiff_

bool BuildTrackerMapPlugin::doDiff_
private

Definition at line 84 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ fileName_

std::string BuildTrackerMapPlugin::fileName_
private

Definition at line 76 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ fileNameDiff_

std::string BuildTrackerMapPlugin::fileNameDiff_
private

Definition at line 85 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ folderName_

std::string BuildTrackerMapPlugin::folderName_
private

Definition at line 80 of file BuildTrackerMap.cc.

Referenced by read().

◆ isValidMap_

std::vector<bool> BuildTrackerMapPlugin::isValidMap_
private

Definition at line 95 of file BuildTrackerMap.cc.

Referenced by analyze(), and endJob().

◆ isValidMapDiff_

std::vector<bool> BuildTrackerMapPlugin::isValidMapDiff_
private

Definition at line 96 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ maxVal_

std::vector<double> BuildTrackerMapPlugin::maxVal_
private

Definition at line 93 of file BuildTrackerMap.cc.

Referenced by endJob().

◆ mechanicalView_

bool BuildTrackerMapPlugin::mechanicalView_
private

Definition at line 78 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ minVal_

std::vector<double> BuildTrackerMapPlugin::minVal_
private

Definition at line 92 of file BuildTrackerMap.cc.

Referenced by endJob().

◆ printDebug_

unsigned int BuildTrackerMapPlugin::printDebug_
private

Definition at line 82 of file BuildTrackerMap.cc.

◆ pset_

edm::ParameterSet BuildTrackerMapPlugin::pset_
private

Definition at line 98 of file BuildTrackerMap.cc.

Referenced by analyze().

◆ tkHistoMapNameVec_

std::vector<std::string> BuildTrackerMapPlugin::tkHistoMapNameVec_
private

Definition at line 91 of file BuildTrackerMap.cc.

Referenced by analyze(), endJob(), and read().

◆ tkHistoMapVec_

std::vector<std::unique_ptr<TkHistoMap> > BuildTrackerMapPlugin::tkHistoMapVec_
private

Definition at line 87 of file BuildTrackerMap.cc.

Referenced by analyze(), and endJob().

◆ tkHistoMapVecDiff_

std::vector<std::unique_ptr<TkHistoMap> > BuildTrackerMapPlugin::tkHistoMapVecDiff_
private

Definition at line 88 of file BuildTrackerMap.cc.

Referenced by analyze(), and endJob().

◆ tkmap_

std::vector<TrackerMap*> BuildTrackerMapPlugin::tkmap_
private

Definition at line 99 of file BuildTrackerMap.cc.

Referenced by analyze(), and endJob().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
mps_fire.i
i
Definition: mps_fire.py:355
TkHistoMap::getAllMaps
const std::vector< MonitorElement * > & getAllMaps() const
Definition: TkHistoMap.h:44
TrackerMap::setPalette
void setPalette(int numpalette)
Definition: TrackerMap.h:155
BuildTrackerMapPlugin::folderName_
std::string folderName_
Definition: BuildTrackerMap.cc:80
TrackerTopology
Definition: TrackerTopology.h:16
gather_cfg.cout
cout
Definition: gather_cfg.py:144
cms::cuda::assert
assert(be >=bs)
TrackerMap::save_as_fedtrackermap
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)
Definition: TrackerMap.cc:2603
BuildTrackerMapPlugin::maxVal_
std::vector< double > maxVal_
Definition: BuildTrackerMap.cc:93
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
BuildTrackerMapPlugin::subtractMap
void subtractMap(TkHistoMap *aResult, const TkHistoMap *aSubtr)
Definition: BuildTrackerMap.cc:359
BuildTrackerMapPlugin::mechanicalView_
bool mechanicalView_
Definition: BuildTrackerMap.cc:78
BuildTrackerMapPlugin::tkHistoMapVecDiff_
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVecDiff_
Definition: BuildTrackerMap.cc:88
SiStripFedCablingRcd
Definition: SiStripCondDataRecords.h:22
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
BuildTrackerMapPlugin::isValidMapDiff_
std::vector< bool > isValidMapDiff_
Definition: BuildTrackerMap.cc:96
edm::ESHandle< SiStripFedCabling >
TkDetMap
Definition: TkDetMap.h:175
TkHistoMap::loadTkHistoMap
void loadTkHistoMap(const std::string &path, const std::string &MapName, bool mechanicalView=false)
Definition: TkHistoMap.cc:76
TrackerMap
Definition: TrackerMap.h:76
BuildTrackerMapPlugin::tkmap_
std::vector< TrackerMap * > tkmap_
Definition: BuildTrackerMap.cc:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BuildTrackerMapPlugin::fileNameDiff_
std::string fileNameDiff_
Definition: BuildTrackerMap.cc:85
edm::ParameterSet
Definition: ParameterSet.h:36
BuildTrackerMapPlugin::minVal_
std::vector< double > minVal_
Definition: BuildTrackerMap.cc:92
BuildTrackerMapPlugin::tkHistoMapNameVec_
std::vector< std::string > tkHistoMapNameVec_
Definition: BuildTrackerMap.cc:91
edm::Service
Definition: Service.h:30
BuildTrackerMapPlugin::pset_
edm::ParameterSet pset_
Definition: BuildTrackerMap.cc:98
TrackerMap::showPalette
void showPalette(bool printflag1)
Definition: TrackerMap.h:157
get
#define get
BuildTrackerMapPlugin::tkHistoMapVec_
std::vector< std::unique_ptr< TkHistoMap > > tkHistoMapVec_
Definition: BuildTrackerMap.cc:87
BuildTrackerMapPlugin::fileName_
std::string fileName_
Definition: BuildTrackerMap.cc:76
TkHistoMap
Definition: TkHistoMap.h:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
TrackerMap::save
void save(bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800)
Definition: TrackerMap.cc:810
eostools.move
def move(src, dest)
Definition: eostools.py:511
BuildTrackerMapPlugin::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: BuildTrackerMap.cc:58
TrackerOfflineValidation_Dqm_cff.dirName
dirName
Definition: TrackerOfflineValidation_Dqm_cff.py:55
BuildTrackerMapPlugin::read
void read(bool aMechView, std::string aFile, const TkDetMap *tkDetMap, std::vector< std::unique_ptr< TkHistoMap >> &aTkMapVec, std::vector< bool > &aValidVec)
Definition: BuildTrackerMap.cc:135
BuildTrackerMapPlugin::isValidMap_
std::vector< bool > isValidMap_
Definition: BuildTrackerMap.cc:95
BuildTrackerMapPlugin::printDebug_
unsigned int printDebug_
Definition: BuildTrackerMap.cc:82
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53
BuildTrackerMapPlugin::doDiff_
bool doDiff_
Definition: BuildTrackerMap.cc:84
amptDefault_cfi.firstEvent
firstEvent
Definition: amptDefault_cfi.py:8