#include <CSCValHists.h>
Classes | |
struct | posRecord |
Public Member Functions | |
int | crate_lookup (CSCDetId id) |
CSCValHists () | |
void | fill1DHist (float x, std::string name, std::string title, int bins, float xmin, float xmax, std::string folder) |
void | fill1DHistByChamber (float x, std::string name, std::string title, CSCDetId id, int bins, float xmin, float xmax, std::string folder) |
void | fill1DHistByCrate (float x, std::string name, std::string title, CSCDetId id, int bins, float xmin, float xmax, std::string folder) |
void | fill1DHistByLayer (float x, std::string name, std::string title, CSCDetId id, int bins, float xmin, float xmax, std::string folder) |
void | fill1DHistByStation (float x, std::string name, std::string title, CSCDetId id, int bins, float xmin, float xmax, std::string folder) |
void | fill1DHistByType (float x, std::string name, std::string title, CSCDetId id, int bins, float xmin, float xmax, std::string folder) |
void | fill2DHist (float x, float y, std::string name, std::string title, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DHist (float z, std::string name, std::string title, CSCDetId id, std::string folder) |
void | fill2DHistByChamber (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DHistByCrate (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DHistByEvent (int run, int event, float x, std::string name, std::string title, CSCDetId id, std::string folder) |
void | fill2DHistByLayer (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DHistByStation (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DHistByType (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, std::string folder) |
void | fill2DProfile (float x, float y, float z, std::string name, std::string title, int binsx, float xmin, float xmax, int binsy, float ymin, float ymax, float zmin, float zmax, std::string folder) |
void | fillCalibHist (float x, std::string name, std::string title, int bins, float xmin, float xmax, int bin, std::string folder) |
void | fillProfile (float x, float y, std::string name, std::string title, int binsx, float xmin, float xmax, float ymin, float ymax, std::string folder) |
void | fillProfileByChamber (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, float ymin, float ymax, std::string folder) |
void | fillProfileByType (float x, float y, std::string name, std::string title, CSCDetId id, int binsx, float xmin, float xmax, float ymin, float ymax, std::string folder) |
void | fillRechitTree (float x, float y, float gx, float gy, int en, int st, int ri, int ch, int la) |
void | fillSegmentTree (float x, float y, float gx, float gy, int en, int st, int ri, int ch) |
void | insertPlot (TH1 *thePlot, std::string name, std::string folder) |
void | setupTrees () |
void | writeHists (TFile *theFile) |
void | writeTrees (TFile *theFile) |
~CSCValHists () | |
Private Attributes | |
struct CSCValHists::posRecord | rHpos |
TTree * | rHTree |
struct CSCValHists::posRecord | segpos |
TTree * | segTree |
std::map< std::string, std::pair< TH1 *, std::string > > | theMap |
Manages Histograms for CSCValidation
Andy Kubik - Northwestern University
Definition at line 36 of file CSCValHists.h.
CSCValHists::CSCValHists | ( | ) |
CSCValHists::~CSCValHists | ( | ) |
Definition at line 14 of file CSCValHists.cc.
int CSCValHists::crate_lookup | ( | CSCDetId | id | ) |
Definition at line 530 of file CSCValHists.cc.
References relativeConstraints::chamber, makeMuonMisalignmentScenario::endcap, and relativeConstraints::station.
void CSCValHists::fill1DHist | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 121 of file CSCValHists.cc.
References create_public_pileup_plots::bins, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill1DHistByChamber | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 293 of file CSCValHists.cc.
References create_public_pileup_plots::bins, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill1DHistByCrate | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 199 of file CSCValHists.cc.
References create_public_pileup_plots::bins, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill1DHistByLayer | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 397 of file CSCValHists.cc.
References create_public_pileup_plots::bins, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill1DHistByStation | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 244 of file CSCValHists.cc.
References create_public_pileup_plots::bins, makeMuonMisalignmentScenario::endcap, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill1DHistByType | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
std::string | folder | ||
) |
Definition at line 151 of file CSCValHists.cc.
References create_public_pileup_plots::bins, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fill2DHist | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 136 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
Referenced by fill2DHistByEvent().
void CSCValHists::fill2DHist | ( | float | z, |
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
std::string | folder | ||
) |
void CSCValHists::fill2DHistByChamber | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 317 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fill2DHistByCrate | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 220 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fill2DHistByEvent | ( | int | run, |
int | event, | ||
float | x, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
std::string | folder | ||
) |
Definition at line 341 of file CSCValHists.cc.
References makeMuonMisalignmentScenario::endcap, event(), HcalObjRepresent::Fill(), fill2DHist(), printsummarytable::folder, dataset::name, relativeConstraints::station, and fftjetcommon_cfi::title.
void CSCValHists::fill2DHistByLayer | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 421 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fill2DHistByStation | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 268 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fill2DHistByType | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 174 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fill2DProfile | ( | float | x, |
float | y, | ||
float | z, | ||
std::string | name, | ||
std::string | title, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
int | binsy, | ||
float | ymin, | ||
float | ymax, | ||
float | zmin, | ||
float | zmax, | ||
std::string | folder | ||
) |
Definition at line 513 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, plotBeamSpotDB::first, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fillCalibHist | ( | float | x, |
std::string | name, | ||
std::string | title, | ||
int | bins, | ||
float | xmin, | ||
float | xmax, | ||
int | bin, | ||
std::string | folder | ||
) |
Definition at line 107 of file CSCValHists.cc.
References create_public_pileup_plots::bins, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
void CSCValHists::fillProfile | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 446 of file CSCValHists.cc.
References alignmentValidation::binsx, dataset::name, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fillProfileByChamber | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 487 of file CSCValHists.cc.
References alignmentValidation::binsx, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fillProfileByType | ( | float | x, |
float | y, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
int | binsx, | ||
float | xmin, | ||
float | xmax, | ||
float | ymin, | ||
float | ymax, | ||
std::string | folder | ||
) |
Definition at line 461 of file CSCValHists.cc.
References alignmentValidation::binsx, makeMuonMisalignmentScenario::endcap, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
void CSCValHists::fillRechitTree | ( | float | x, |
float | y, | ||
float | gx, | ||
float | gy, | ||
int | en, | ||
int | st, | ||
int | ri, | ||
int | ch, | ||
int | la | ||
) |
Definition at line 68 of file CSCValHists.cc.
void CSCValHists::fillSegmentTree | ( | float | x, |
float | y, | ||
float | gx, | ||
float | gy, | ||
int | en, | ||
int | st, | ||
int | ri, | ||
int | ch | ||
) |
Definition at line 84 of file CSCValHists.cc.
void CSCValHists::insertPlot | ( | TH1 * | thePlot, |
std::string | name, | ||
std::string | folder | ||
) |
Definition at line 100 of file CSCValHists.cc.
References printsummarytable::folder, and dataset::name.
void CSCValHists::setupTrees | ( | ) |
Definition at line 55 of file CSCValHists.cc.
void CSCValHists::writeHists | ( | TFile * | theFile | ) |
Definition at line 19 of file CSCValHists.cc.
References spr::find(), trackingPlots::fit, printsummarytable::folder, and AlCaHLTBitMon_QueryRunRegistry::string.
void CSCValHists::writeTrees | ( | TFile * | theFile | ) |
Definition at line 41 of file CSCValHists.cc.
|
private |
|
private |
Definition at line 191 of file CSCValHists.h.
|
private |
|
private |
Definition at line 192 of file CSCValHists.h.
|
private |
Definition at line 175 of file CSCValHists.h.