CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
PHcalValidInfoJets Class Reference

#include <PValidationFormats.h>

Public Member Functions

float detajet () const
 
float dijetm () const
 
float dphijet () const
 
float drjet () const
 
float ecaljet () const
 
float etotjet () const
 
void fillDiJets (double mass)
 
void fillEcollectJet (double ee, double he, double hoe, double etot)
 
void fillEtaPhiProfileJet (double eta0, double phi0, double eta, double phi, double dist)
 
void fillJets (const std::vector< double > &enj, const std::vector< double > &etaj, const std::vector< double > &phij)
 
void fillTProfileJet (double e, double r, double t)
 
float hcaljet () const
 
float hojet () const
 
std::vector< float > jete () const
 
std::vector< float > jeteta () const
 
std::vector< float > jethite () const
 
std::vector< float > jethitr () const
 
std::vector< float > jethitt () const
 
std::vector< float > jetphi () const
 
int njet () const
 
int njethit () const
 
 PHcalValidInfoJets ()
 
virtual ~PHcalValidInfoJets ()
 

Private Attributes

float detaJet
 
float dijetM
 
float dphiJet
 
float drJet
 
float ecalJet
 
float etotJet
 
float hcalJet
 
float hoJet
 
std::vector< float > jetE
 
std::vector< float > jetEta
 
std::vector< float > jetHite
 
std::vector< float > jetHitr
 
std::vector< float > jetHitt
 
std::vector< float > jetPhi
 
int nJet
 
int nJetHit
 

Friends

class SimG4HcalValidation
 

Detailed Description

Definition at line 1255 of file PValidationFormats.h.

Constructor & Destructor Documentation

◆ PHcalValidInfoJets()

PHcalValidInfoJets::PHcalValidInfoJets ( )
inline

Definition at line 1259 of file PValidationFormats.h.

1260  : nJetHit(0),
1261  nJet(0),
1262  ecalJet(0.),
1263  hcalJet(0.),
1264  hoJet(0.),
1265  etotJet(0.),
1266  detaJet(0.),
1267  dphiJet(0.),
1268  drJet(0.),
1269  dijetM(0.) {}

◆ ~PHcalValidInfoJets()

virtual PHcalValidInfoJets::~PHcalValidInfoJets ( )
inlinevirtual

Definition at line 1270 of file PValidationFormats.h.

1270 {}

Member Function Documentation

◆ detajet()

float PHcalValidInfoJets::detajet ( ) const
inline

Definition at line 1289 of file PValidationFormats.h.

1289 { return detaJet; }

References detaJet.

◆ dijetm()

float PHcalValidInfoJets::dijetm ( ) const
inline

Definition at line 1292 of file PValidationFormats.h.

1292 { return dijetM; }

References dijetM.

◆ dphijet()

float PHcalValidInfoJets::dphijet ( ) const
inline

Definition at line 1290 of file PValidationFormats.h.

1290 { return dphiJet; }

References dphiJet.

◆ drjet()

float PHcalValidInfoJets::drjet ( ) const
inline

Definition at line 1291 of file PValidationFormats.h.

1291 { return drJet; }

References drJet.

◆ ecaljet()

float PHcalValidInfoJets::ecaljet ( ) const
inline

Definition at line 1284 of file PValidationFormats.h.

1284 { return ecalJet; }

References ecalJet.

◆ etotjet()

float PHcalValidInfoJets::etotjet ( ) const
inline

Definition at line 1287 of file PValidationFormats.h.

1287 { return etotJet; }

References etotJet.

◆ fillDiJets()

void PHcalValidInfoJets::fillDiJets ( double  mass)

Definition at line 1280 of file PValidationFormats.cc.

1280 { dijetM = (float)mass; }

References dijetM, dqmMemoryStats::float, and EgHLTOffHistBins_cfi::mass.

Referenced by SimG4HcalValidation::jetAnalysis().

◆ fillEcollectJet()

void PHcalValidInfoJets::fillEcollectJet ( double  ee,
double  he,
double  hoe,
double  etot 
)

Definition at line 1252 of file PValidationFormats.cc.

1252  {
1253  // hardest jet properties
1254 
1255  ecalJet = (float)ee;
1256  hcalJet = (float)he;
1257  hoJet = (float)hoe;
1258  etotJet = (float)etot;
1259 }

References ecalJet, etotJet, dqmMemoryStats::float, hcalJet, hcalSimParameters_cfi::he, electrons_cff::hoe, and hoJet.

Referenced by SimG4HcalValidation::jetAnalysis().

◆ fillEtaPhiProfileJet()

void PHcalValidInfoJets::fillEtaPhiProfileJet ( double  eta0,
double  phi0,
double  eta,
double  phi,
double  dist 
)

Definition at line 1261 of file PValidationFormats.cc.

1261  {
1262  detaJet = (float)(eta - eta0);
1263  dphiJet = (float)(phi - phi0);
1264  drJet = (float)dist;
1265 }

References detaJet, dphiJet, drJet, PVValHelper::eta, dqmMemoryStats::float, and phi.

Referenced by SimG4HcalValidation::jetAnalysis().

◆ fillJets()

void PHcalValidInfoJets::fillJets ( const std::vector< double > &  enj,
const std::vector< double > &  etaj,
const std::vector< double > &  phij 
)

Definition at line 1267 of file PValidationFormats.cc.

1269  {
1270  nJet = en.size();
1271  for (int i = 0; i < nJet; i++) {
1272  jetE.push_back((float)en[i]);
1273  jetEta.push_back((float)eta[i]);
1274  jetPhi.push_back((float)phi[i]);
1275  }
1276 
1277  // std::cout << " fillJets - nJet = " << nJet << std::endl;
1278 }

References PVValHelper::eta, mps_fire::i, jetE, jetEta, jetPhi, nJet, and phi.

Referenced by SimG4HcalValidation::jetAnalysis().

◆ fillTProfileJet()

void PHcalValidInfoJets::fillTProfileJet ( double  e,
double  r,
double  t 
)

Definition at line 1243 of file PValidationFormats.cc.

1243  {
1244  jetHite.push_back((float)e);
1245  jetHitr.push_back((float)r);
1246  jetHitt.push_back((float)t);
1247  nJetHit++;
1248 
1249  // std::cout << " fillTProfileJet - nJetHit = " << nJetHit << std::endl;
1250 }

References MillePedeFileConverter_cfg::e, jetHite, jetHitr, jetHitt, nJetHit, alignCSCRings::r, and submitPVValidationJobs::t.

Referenced by SimG4HcalValidation::jetAnalysis().

◆ hcaljet()

float PHcalValidInfoJets::hcaljet ( ) const
inline

Definition at line 1285 of file PValidationFormats.h.

1285 { return hcalJet; }

References hcalJet.

◆ hojet()

float PHcalValidInfoJets::hojet ( ) const
inline

Definition at line 1286 of file PValidationFormats.h.

1286 { return hoJet; }

References hoJet.

◆ jete()

std::vector<float> PHcalValidInfoJets::jete ( ) const
inline

Definition at line 1279 of file PValidationFormats.h.

1279 { return jetE; }

References jetE.

◆ jeteta()

std::vector<float> PHcalValidInfoJets::jeteta ( ) const
inline

Definition at line 1280 of file PValidationFormats.h.

1280 { return jetEta; }

References jetEta.

◆ jethite()

std::vector<float> PHcalValidInfoJets::jethite ( ) const
inline

Definition at line 1274 of file PValidationFormats.h.

1274 { return jetHite; }

References jetHite.

◆ jethitr()

std::vector<float> PHcalValidInfoJets::jethitr ( ) const
inline

Definition at line 1275 of file PValidationFormats.h.

1275 { return jetHitr; }

References jetHitr.

◆ jethitt()

std::vector<float> PHcalValidInfoJets::jethitt ( ) const
inline

Definition at line 1276 of file PValidationFormats.h.

1276 { return jetHitt; }

References jetHitt.

◆ jetphi()

std::vector<float> PHcalValidInfoJets::jetphi ( ) const
inline

Definition at line 1281 of file PValidationFormats.h.

1281 { return jetPhi; }

References jetPhi.

◆ njet()

int PHcalValidInfoJets::njet ( ) const
inline

Definition at line 1282 of file PValidationFormats.h.

1282 { return nJet; }

References nJet.

◆ njethit()

int PHcalValidInfoJets::njethit ( ) const
inline

Definition at line 1277 of file PValidationFormats.h.

1277 { return nJetHit; }

References nJetHit.

Friends And Related Function Documentation

◆ SimG4HcalValidation

friend class SimG4HcalValidation
friend

Definition at line 1256 of file PValidationFormats.h.

Member Data Documentation

◆ detaJet

float PHcalValidInfoJets::detaJet
private

Definition at line 1304 of file PValidationFormats.h.

Referenced by detajet(), and fillEtaPhiProfileJet().

◆ dijetM

float PHcalValidInfoJets::dijetM
private

Definition at line 1304 of file PValidationFormats.h.

Referenced by dijetm(), and fillDiJets().

◆ dphiJet

float PHcalValidInfoJets::dphiJet
private

Definition at line 1304 of file PValidationFormats.h.

Referenced by dphijet(), and fillEtaPhiProfileJet().

◆ drJet

float PHcalValidInfoJets::drJet
private

Definition at line 1304 of file PValidationFormats.h.

Referenced by drjet(), and fillEtaPhiProfileJet().

◆ ecalJet

float PHcalValidInfoJets::ecalJet
private

Definition at line 1303 of file PValidationFormats.h.

Referenced by ecaljet(), and fillEcollectJet().

◆ etotJet

float PHcalValidInfoJets::etotJet
private

Definition at line 1303 of file PValidationFormats.h.

Referenced by etotjet(), and fillEcollectJet().

◆ hcalJet

float PHcalValidInfoJets::hcalJet
private

Definition at line 1303 of file PValidationFormats.h.

Referenced by fillEcollectJet(), and hcaljet().

◆ hoJet

float PHcalValidInfoJets::hoJet
private

Definition at line 1303 of file PValidationFormats.h.

Referenced by fillEcollectJet(), and hojet().

◆ jetE

std::vector<float> PHcalValidInfoJets::jetE
private

Definition at line 1308 of file PValidationFormats.h.

Referenced by fillJets(), and jete().

◆ jetEta

std::vector<float> PHcalValidInfoJets::jetEta
private

Definition at line 1309 of file PValidationFormats.h.

Referenced by fillJets(), and jeteta().

◆ jetHite

std::vector<float> PHcalValidInfoJets::jetHite
private

Definition at line 1305 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethite().

◆ jetHitr

std::vector<float> PHcalValidInfoJets::jetHitr
private

Definition at line 1306 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethitr().

◆ jetHitt

std::vector<float> PHcalValidInfoJets::jetHitt
private

Definition at line 1307 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethitt().

◆ jetPhi

std::vector<float> PHcalValidInfoJets::jetPhi
private

Definition at line 1310 of file PValidationFormats.h.

Referenced by fillJets(), and jetphi().

◆ nJet

int PHcalValidInfoJets::nJet
private

Definition at line 1302 of file PValidationFormats.h.

Referenced by fillJets(), and njet().

◆ nJetHit

int PHcalValidInfoJets::nJetHit
private

Definition at line 1302 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and njethit().

mps_fire.i
i
Definition: mps_fire.py:428
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
PHcalValidInfoJets::jetHitt
std::vector< float > jetHitt
Definition: PValidationFormats.h:1307
PHcalValidInfoJets::ecalJet
float ecalJet
Definition: PValidationFormats.h:1303
PHcalValidInfoJets::detaJet
float detaJet
Definition: PValidationFormats.h:1304
PHcalValidInfoJets::jetHitr
std::vector< float > jetHitr
Definition: PValidationFormats.h:1306
PHcalValidInfoJets::jetHite
std::vector< float > jetHite
Definition: PValidationFormats.h:1305
PVValHelper::eta
Definition: PVValidationHelpers.h:69
PHcalValidInfoJets::dphiJet
float dphiJet
Definition: PValidationFormats.h:1304
PHcalValidInfoJets::hcalJet
float hcalJet
Definition: PValidationFormats.h:1303
PHcalValidInfoJets::drJet
float drJet
Definition: PValidationFormats.h:1304
PHcalValidInfoJets::jetEta
std::vector< float > jetEta
Definition: PValidationFormats.h:1309
PHcalValidInfoJets::jetE
std::vector< float > jetE
Definition: PValidationFormats.h:1308
PHcalValidInfoJets::etotJet
float etotJet
Definition: PValidationFormats.h:1303
PHcalValidInfoJets::dijetM
float dijetM
Definition: PValidationFormats.h:1304
electrons_cff.hoe
hoe
Definition: electrons_cff.py:425
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDAxes::phi
hcalSimParameters_cfi.he
he
Definition: hcalSimParameters_cfi.py:79
PHcalValidInfoJets::nJet
int nJet
Definition: PValidationFormats.h:1302
PHcalValidInfoJets::hoJet
float hoJet
Definition: PValidationFormats.h:1303
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
PHcalValidInfoJets::nJetHit
int nJetHit
Definition: PValidationFormats.h:1302
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
PHcalValidInfoJets::jetPhi
std::vector< float > jetPhi
Definition: PValidationFormats.h:1310
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37