CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Attributes
Histograms Class Referenceabstract

#include <Histograms.h>

Public Member Functions

virtual void Clear ()=0
 
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum, const int charge, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &resValue, const int charge)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &genValue, const double recValue, const int charge)
 
virtual void Fill (const CLHEP::HepLorentzVector &p, const double &likeValue)
 
virtual void Fill (const unsigned int number)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const int charge2, const reco::Particle::LorentzVector &genP2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &recoP2, const int charge2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const reco::Particle::LorentzVector &genP2)
 
virtual void Fill (const double &x, const double &y)
 
virtual void Fill (const double &x, const double &y, const double &a, const double &b)
 
virtual void Fill (const reco::Particle::LorentzVector &p41, const reco::Particle::LorentzVector &p42, const reco::Particle::LorentzVector &p4Res, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const CLHEP::HepLorentzVector &momentumRes, const double &weight=1.)
 
virtual double Get (const reco::Particle::LorentzVector &recoP1, const TString &covarianceName)
 
virtual TString GetName ()
 
 Histograms ()
 
 Histograms (const TString &name)
 
 Histograms (TFile *outputFile, const TString &name)
 
virtual void SetWeight (double weight)
 
virtual void Write ()=0
 
virtual ~Histograms ()
 

Public Attributes

dqm::reco::MonitorElementh_cl3d_bdteg_
 
dqm::reco::MonitorElementh_cl3d_clusters_n_
 
dqm::reco::MonitorElementh_cl3d_coreshowerlength_
 
dqm::reco::MonitorElementh_cl3d_emaxe_
 
dqm::reco::MonitorElementh_cl3d_energy_
 
dqm::reco::MonitorElementh_cl3d_eta_
 
dqm::reco::MonitorElementh_cl3d_firstlayer_
 
dqm::reco::MonitorElementh_cl3d_maxlayer_
 
dqm::reco::MonitorElementh_cl3d_n_
 
dqm::reco::MonitorElementh_cl3d_phi_
 
dqm::reco::MonitorElementh_cl3d_pt_
 
dqm::reco::MonitorElementh_cl3d_quality_
 
dqm::reco::MonitorElementh_cl3d_seemax_
 
dqm::reco::MonitorElementh_cl3d_seetot_
 
dqm::reco::MonitorElementh_cl3d_showerlength_
 
dqm::reco::MonitorElementh_cl3d_sppmax_
 
dqm::reco::MonitorElementh_cl3d_spptot_
 
dqm::reco::MonitorElementh_cl3d_srrmax_
 
dqm::reco::MonitorElementh_cl3d_srrmean_
 
dqm::reco::MonitorElementh_cl3d_srrtot_
 
dqm::reco::MonitorElementh_cl3d_szz_
 
dqm::reco::MonitorElementh_cl_cells_n_
 
dqm::reco::MonitorElementh_cl_energy_
 
dqm::reco::MonitorElementh_cl_eta_
 
dqm::reco::MonitorElementh_cl_layer_
 
dqm::reco::MonitorElementh_cl_mipPt_
 
dqm::reco::MonitorElementh_cl_n_
 
dqm::reco::MonitorElementh_cl_phi_
 
dqm::reco::MonitorElementh_cl_pt_
 
dqm::reco::MonitorElementh_tc_energy_
 
dqm::reco::MonitorElementh_tc_eta_
 
dqm::reco::MonitorElementh_tc_layer_
 
dqm::reco::MonitorElementh_tc_mipPt_
 
dqm::reco::MonitorElementh_tc_n_
 
dqm::reco::MonitorElementh_tc_phi_
 
dqm::reco::MonitorElementh_tc_pt_
 
dqm::reco::MonitorElementh_tc_x_
 
dqm::reco::MonitorElementh_tc_y_
 
dqm::reco::MonitorElementh_tc_z_
 
dqm::reco::MonitorElementh_tower_energy_
 
dqm::reco::MonitorElementh_tower_eta_
 
dqm::reco::MonitorElementh_tower_etEm_
 
dqm::reco::MonitorElementh_tower_etHad_
 
dqm::reco::MonitorElementh_tower_iEta_
 
dqm::reco::MonitorElementh_tower_iPhi_
 
dqm::reco::MonitorElementh_tower_n_
 
dqm::reco::MonitorElementh_tower_phi_
 
dqm::reco::MonitorElementh_tower_pt_
 

Protected Attributes

TDirectory * histoDir_
 
TString name_
 
TFile * outputFile_
 
double theWeight_
 

Detailed Description

Collection of histograms for GLB muon analysis

Author
S. Bolognesi - INFN Torino / T.Dorigo - INFN Padova revised S. Casasso, E. Migliore - UniTo & INFN Torino

Classes for histograms handling.

Author
R. Bellan - INFN Torino

Collection of histograms for DT RecHit and Segment test.

Author
S. Bolognesi and G. Cerminara - INFN Torino

No description available.

Author
R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch

Definition at line 38 of file Histograms.h.

Constructor & Destructor Documentation

Histograms::Histograms ( )
inline

Definition at line 42 of file Histograms.h.

References histoDir_, and theWeight_.

42 : theWeight_(1), histoDir_(nullptr){};
TDirectory * histoDir_
Definition: Histograms.h:131
double theWeight_
Definition: Histograms.h:128
Histograms::Histograms ( const TString &  name)
inline

Definition at line 43 of file Histograms.h.

References histoDir_, name_, and theWeight_.

43 : theWeight_(1), name_(name), histoDir_(nullptr) {}
TString name_
Definition: Histograms.h:129
TDirectory * histoDir_
Definition: Histograms.h:131
double theWeight_
Definition: Histograms.h:128
Histograms::Histograms ( TFile *  outputFile,
const TString &  name 
)
inline

Definition at line 44 of file Histograms.h.

References histoDir_, name_, outputFile_, and theWeight_.

46  if (histoDir_ == nullptr) {
47  histoDir_ = outputFile->mkdir(name);
48  }
49  histoDir_->cd();
50  }
TFile * outputFile_
Definition: Histograms.h:130
TString name_
Definition: Histograms.h:129
TDirectory * histoDir_
Definition: Histograms.h:131
double theWeight_
Definition: Histograms.h:128
virtual Histograms::~Histograms ( )
inlinevirtual

Definition at line 54 of file Histograms.h.

54 {};

Member Function Documentation

virtual void Histograms::Clear ( )
pure virtual
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p1,
const reco::Particle::LorentzVector p2 
)
inlinevirtual

Definition at line 60 of file Histograms.h.

60 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p1,
const reco::Particle::LorentzVector p2,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 61 of file Histograms.h.

64  {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2 
)
inlinevirtual

Definition at line 65 of file Histograms.h.

65 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 66 of file Histograms.h.

69  {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  p1,
const reco::Particle::LorentzVector p2 
)
inlinevirtual

Definition at line 70 of file Histograms.h.

70 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 71 of file Histograms.h.

71 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 75 of file Histograms.h.

75 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 77 of file Histograms.h.

77 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  resValue,
const int  charge 
)
inlinevirtual

Definition at line 80 of file Histograms.h.

80 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  genValue,
const double  recValue,
const int  charge 
)
inlinevirtual

Definition at line 81 of file Histograms.h.

84  {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  p,
const double &  likeValue 
)
inlinevirtual

Definition at line 85 of file Histograms.h.

85 {};
virtual void Histograms::Fill ( const unsigned int  number)
inlinevirtual

Definition at line 86 of file Histograms.h.

86 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const int  charge1,
const reco::Particle::LorentzVector genP1,
const reco::Particle::LorentzVector recoP2,
const int  charge2,
const reco::Particle::LorentzVector genP2,
const double &  recoMass,
const double &  genMass 
)
inlinevirtual

Definition at line 87 of file Histograms.h.

94  {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const int  charge1,
const reco::Particle::LorentzVector recoP2,
const int  charge2,
const double &  recoMass,
const double &  genMass 
)
inlinevirtual

Definition at line 95 of file Histograms.h.

102  {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const reco::Particle::LorentzVector genP1,
const reco::Particle::LorentzVector recoP2,
const reco::Particle::LorentzVector genP2 
)
inlinevirtual

Definition at line 103 of file Histograms.h.

106  {};
virtual void Histograms::Fill ( const double &  x,
const double &  y 
)
inlinevirtual

Definition at line 107 of file Histograms.h.

107 {};
virtual void Histograms::Fill ( const double &  x,
const double &  y,
const double &  a,
const double &  b 
)
inlinevirtual

Definition at line 108 of file Histograms.h.

108 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p41,
const reco::Particle::LorentzVector p42,
const reco::Particle::LorentzVector p4Res,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 109 of file Histograms.h.

112  {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2,
const CLHEP::HepLorentzVector &  momentumRes,
const double &  weight = 1. 
)
inlinevirtual

Definition at line 113 of file Histograms.h.

116  {};
virtual double Histograms::Get ( const reco::Particle::LorentzVector recoP1,
const TString &  covarianceName 
)
inlinevirtual

Definition at line 118 of file Histograms.h.

118 { return 0.; };
virtual TString Histograms::GetName ( )
inlinevirtual

Definition at line 125 of file Histograms.h.

References name_.

125 { return name_; }
TString name_
Definition: Histograms.h:129
virtual void Histograms::SetWeight ( double  weight)
inlinevirtual

Definition at line 123 of file Histograms.h.

References theWeight_, and histoStyle::weight.

123 { theWeight_ = weight; }
int weight
Definition: histoStyle.py:51
double theWeight_
Definition: Histograms.h:128
virtual void Histograms::Write ( )
pure virtual

Member Data Documentation

dqm::reco::MonitorElement* Histograms::h_cl3d_bdteg_

Definition at line 80 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_clusters_n_

Definition at line 65 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_coreshowerlength_

Definition at line 68 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_emaxe_

Definition at line 79 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_energy_

Definition at line 62 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_eta_

Definition at line 63 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_firstlayer_

Definition at line 69 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_maxlayer_

Definition at line 70 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_n_

Definition at line 60 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_phi_

Definition at line 64 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_pt_

Definition at line 61 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_quality_

Definition at line 81 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_seemax_

Definition at line 72 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_seetot_

Definition at line 71 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_showerlength_

Definition at line 67 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_sppmax_

Definition at line 74 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_spptot_

Definition at line 73 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_srrmax_

Definition at line 77 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_srrmean_

Definition at line 78 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_srrtot_

Definition at line 76 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl3d_szz_

Definition at line 75 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_cells_n_

Definition at line 57 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_energy_

Definition at line 53 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_eta_

Definition at line 54 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_layer_

Definition at line 56 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_mipPt_

Definition at line 51 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_n_

Definition at line 50 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_phi_

Definition at line 55 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_cl_pt_

Definition at line 52 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_energy_

Definition at line 41 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_eta_

Definition at line 42 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_layer_

Definition at line 47 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_mipPt_

Definition at line 39 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_n_

Definition at line 38 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_phi_

Definition at line 43 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_pt_

Definition at line 40 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_x_

Definition at line 44 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_y_

Definition at line 45 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tc_z_

Definition at line 46 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_energy_

Definition at line 86 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_eta_

Definition at line 87 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_etEm_

Definition at line 89 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_etHad_

Definition at line 90 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_iEta_

Definition at line 91 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_iPhi_

Definition at line 92 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_n_

Definition at line 84 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_phi_

Definition at line 88 of file HGCalTriggerValidator.cc.

dqm::reco::MonitorElement* Histograms::h_tower_pt_

Definition at line 85 of file HGCalTriggerValidator.cc.

TDirectory* Histograms::histoDir_
protected

Definition at line 131 of file Histograms.h.

Referenced by Histograms().

TString Histograms::name_
protected

Definition at line 129 of file Histograms.h.

Referenced by GetName(), and Histograms().

TFile* Histograms::outputFile_
protected

Definition at line 130 of file Histograms.h.

Referenced by Histograms().

double Histograms::theWeight_
protected

Definition at line 128 of file Histograms.h.

Referenced by Histograms(), and SetWeight().