#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
original author: Andy Kubik (Northwestern University)
contact CSC DPG
Definition at line 36 of file CSCValHists.h.
CSCValHists::CSCValHists | ( | ) |
CSCValHists::~CSCValHists | ( | ) |
Definition at line 8 of file CSCValHists.cc.
int CSCValHists::crate_lookup | ( | CSCDetId | id | ) |
Definition at line 575 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 93 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, 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 288 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, 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 182 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, 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 401 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, 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 231 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, 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 125 of file CSCValHists.cc.
References trigObjTnPSource_cfi::bins, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, 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 104 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
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 311 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 201 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
void CSCValHists::fill2DHistByEvent | ( | int | run, |
int | event, | ||
float | x, | ||
std::string | name, | ||
std::string | title, | ||
CSCDetId | id, | ||
std::string | folder | ||
) |
Definition at line 345 of file CSCValHists.cc.
References makeMuonMisalignmentScenario::endcap, edmPickEvents::event, HcalObjRepresent::Fill(), printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, writedatasetfile::run, relativeConstraints::station, runGCPTkAlMap::title, and x.
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 425 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 254 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 148 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 549 of file CSCValHists.cc.
References alignmentValidation::binsx, alignmentValidation::binsy, dqmdumpme::first, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
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 82 of file CSCValHists.cc.
References newFWLiteAna::bin, trigObjTnPSource_cfi::bins, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, 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 461 of file CSCValHists.cc.
References alignmentValidation::binsx, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 515 of file CSCValHists.cc.
References alignmentValidation::binsx, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::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 481 of file CSCValHists.cc.
References alignmentValidation::binsx, makeMuonMisalignmentScenario::endcap, printsummarytable::folder, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, x, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
void CSCValHists::fillRechitTree | ( | float | x, |
float | y, | ||
float | gx, | ||
float | gy, | ||
int | en, | ||
int | st, | ||
int | ri, | ||
int | ch, | ||
int | la | ||
) |
void CSCValHists::fillSegmentTree | ( | float | x, |
float | y, | ||
float | gx, | ||
float | gy, | ||
int | en, | ||
int | st, | ||
int | ri, | ||
int | ch | ||
) |
void CSCValHists::insertPlot | ( | TH1 * | thePlot, |
std::string | name, | ||
std::string | folder | ||
) |
Definition at line 78 of file CSCValHists.cc.
References printsummarytable::folder, and Skims_PA_cff::name.
void CSCValHists::setupTrees | ( | ) |
Definition at line 39 of file CSCValHists.cc.
void CSCValHists::writeHists | ( | TFile * | theFile | ) |
Definition at line 10 of file CSCValHists.cc.
References spr::find(), l1tPhase2CaloJetEmulator_cfi::fit, printsummarytable::folder, AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::theFile.
void CSCValHists::writeTrees | ( | TFile * | theFile | ) |
|
private |
|
private |
Definition at line 269 of file CSCValHists.h.
|
private |
|
private |
Definition at line 270 of file CSCValHists.h.
|
private |
Definition at line 253 of file CSCValHists.h.