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 1162 of file PValidationFormats.h.

Constructor & Destructor Documentation

PHcalValidInfoJets::PHcalValidInfoJets ( )
inline
virtual PHcalValidInfoJets::~PHcalValidInfoJets ( )
inlinevirtual

Definition at line 1171 of file PValidationFormats.h.

1171 {}

Member Function Documentation

float PHcalValidInfoJets::detajet ( ) const
inline

Definition at line 1190 of file PValidationFormats.h.

1190 {return detaJet;}
float PHcalValidInfoJets::dijetm ( ) const
inline
float PHcalValidInfoJets::dphijet ( ) const
inline

Definition at line 1191 of file PValidationFormats.h.

1191 {return dphiJet;}
float PHcalValidInfoJets::drjet ( ) const
inline

Definition at line 1192 of file PValidationFormats.h.

1192 {return drJet;}
float PHcalValidInfoJets::ecaljet ( ) const
inline

Definition at line 1185 of file PValidationFormats.h.

1185 {return ecalJet;}
float PHcalValidInfoJets::etotjet ( ) const
inline

Definition at line 1188 of file PValidationFormats.h.

1188 {return etotJet;}
void PHcalValidInfoJets::fillDiJets ( double  mass)
void PHcalValidInfoJets::fillEcollectJet ( double  ee,
double  he,
double  hoe,
double  etot 
)

Definition at line 1367 of file PValidationFormats.cc.

References objects.autophobj::float.

Referenced by SimG4HcalValidation::jetAnalysis().

1368  {
1369  // hardest jet properties
1370 
1371  ecalJet = (float)ee;
1372  hcalJet = (float)he;
1373  hoJet = (float)hoe;
1374  etotJet = (float)etot;
1375 }
void PHcalValidInfoJets::fillEtaPhiProfileJet ( double  eta0,
double  phi0,
double  eta,
double  phi,
double  dist 
)
void PHcalValidInfoJets::fillJets ( const std::vector< double > &  enj,
const std::vector< double > &  etaj,
const std::vector< double > &  phij 
)

Definition at line 1385 of file PValidationFormats.cc.

References mps_fire::i, reco::btau::jetEta, and reco::btau::jetPhi.

Referenced by SimG4HcalValidation::jetAnalysis().

1387  {
1388  nJet = en.size();
1389  for (int i = 0; i < nJet; i++) {
1390  jetE.push_back((float)en[i]);
1391  jetEta.push_back((float)eta[i]);
1392  jetPhi.push_back((float)phi[i]);
1393  }
1394 
1395  // std::cout << " fillJets - nJet = " << nJet << std::endl;
1396 
1397 }
std::vector< float > jetEta
std::vector< float > jetPhi
std::vector< float > jetE
void PHcalValidInfoJets::fillTProfileJet ( double  e,
double  r,
double  t 
)

Definition at line 1357 of file PValidationFormats.cc.

Referenced by SimG4HcalValidation::jetAnalysis().

1357  {
1358  jetHite.push_back((float)e);
1359  jetHitr.push_back((float)r);
1360  jetHitt.push_back((float)t);
1361  nJetHit++;
1362 
1363  // std::cout << " fillTProfileJet - nJetHit = " << nJetHit << std::endl;
1364 
1365 }
std::vector< float > jetHitt
std::vector< float > jetHite
std::vector< float > jetHitr
float PHcalValidInfoJets::hcaljet ( ) const
inline

Definition at line 1186 of file PValidationFormats.h.

1186 {return hcalJet;}
float PHcalValidInfoJets::hojet ( ) const
inline

Definition at line 1187 of file PValidationFormats.h.

1187 {return hoJet;}
std::vector<float> PHcalValidInfoJets::jete ( ) const
inline

Definition at line 1180 of file PValidationFormats.h.

1180 {return jetE;}
std::vector< float > jetE
std::vector<float> PHcalValidInfoJets::jeteta ( ) const
inline

Definition at line 1181 of file PValidationFormats.h.

References reco::btau::jetEta.

1181 {return jetEta;}
std::vector< float > jetEta
std::vector<float> PHcalValidInfoJets::jethite ( ) const
inline

Definition at line 1175 of file PValidationFormats.h.

1175 {return jetHite;}
std::vector< float > jetHite
std::vector<float> PHcalValidInfoJets::jethitr ( ) const
inline

Definition at line 1176 of file PValidationFormats.h.

1176 {return jetHitr;}
std::vector< float > jetHitr
std::vector<float> PHcalValidInfoJets::jethitt ( ) const
inline

Definition at line 1177 of file PValidationFormats.h.

1177 {return jetHitt;}
std::vector< float > jetHitt
std::vector<float> PHcalValidInfoJets::jetphi ( ) const
inline

Definition at line 1182 of file PValidationFormats.h.

References reco::btau::jetPhi.

1182 {return jetPhi;}
std::vector< float > jetPhi
int PHcalValidInfoJets::njet ( ) const
inline

Definition at line 1183 of file PValidationFormats.h.

1183 {return nJet;}
int PHcalValidInfoJets::njethit ( ) const
inline

Definition at line 1178 of file PValidationFormats.h.

1178 {return nJetHit;}

Friends And Related Function Documentation

friend class SimG4HcalValidation
friend

Definition at line 1164 of file PValidationFormats.h.

Member Data Documentation

float PHcalValidInfoJets::detaJet
private

Definition at line 1208 of file PValidationFormats.h.

float PHcalValidInfoJets::dijetM
private

Definition at line 1208 of file PValidationFormats.h.

float PHcalValidInfoJets::dphiJet
private

Definition at line 1208 of file PValidationFormats.h.

float PHcalValidInfoJets::drJet
private

Definition at line 1208 of file PValidationFormats.h.

float PHcalValidInfoJets::ecalJet
private

Definition at line 1207 of file PValidationFormats.h.

float PHcalValidInfoJets::etotJet
private

Definition at line 1207 of file PValidationFormats.h.

float PHcalValidInfoJets::hcalJet
private

Definition at line 1207 of file PValidationFormats.h.

float PHcalValidInfoJets::hoJet
private

Definition at line 1207 of file PValidationFormats.h.

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

Definition at line 1212 of file PValidationFormats.h.

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

Definition at line 1213 of file PValidationFormats.h.

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

Definition at line 1209 of file PValidationFormats.h.

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

Definition at line 1210 of file PValidationFormats.h.

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

Definition at line 1211 of file PValidationFormats.h.

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

Definition at line 1214 of file PValidationFormats.h.

int PHcalValidInfoJets::nJet
private

Definition at line 1206 of file PValidationFormats.h.

int PHcalValidInfoJets::nJetHit
private

Definition at line 1206 of file PValidationFormats.h.