CMS 3D CMS Logo

PHcalValidInfoJets Class Reference

#include <SimDataFormats/ValidationFormats/interface/PValidationFormats.h>

List of all members.

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 (std::vector< double > enj, std::vector< double > etaj, 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 1164 of file PValidationFormats.h.


Constructor & Destructor Documentation

PHcalValidInfoJets::PHcalValidInfoJets (  )  [inline]

Definition at line 1170 of file PValidationFormats.h.

01170                       : nJetHit(0), nJet(0), ecalJet(0.), hcalJet(0.),
01171                         hoJet(0.), etotJet(0.), detaJet(0.), dphiJet(0.),
01172                         drJet(0.), dijetM(0.) {}

virtual PHcalValidInfoJets::~PHcalValidInfoJets (  )  [inline, virtual]

Definition at line 1173 of file PValidationFormats.h.

01173 {}


Member Function Documentation

float PHcalValidInfoJets::detajet (  )  const [inline]

Definition at line 1192 of file PValidationFormats.h.

References detaJet.

01192 {return detaJet;}

float PHcalValidInfoJets::dijetm (  )  const [inline]

Definition at line 1195 of file PValidationFormats.h.

References dijetM.

01195 {return  dijetM;}

float PHcalValidInfoJets::dphijet (  )  const [inline]

Definition at line 1193 of file PValidationFormats.h.

References dphiJet.

01193 {return dphiJet;}

float PHcalValidInfoJets::drjet (  )  const [inline]

Definition at line 1194 of file PValidationFormats.h.

References drJet.

01194 {return   drJet;}

float PHcalValidInfoJets::ecaljet (  )  const [inline]

Definition at line 1187 of file PValidationFormats.h.

References ecalJet.

01187 {return ecalJet;}

float PHcalValidInfoJets::etotjet (  )  const [inline]

Definition at line 1190 of file PValidationFormats.h.

References etotJet.

01190 {return etotJet;}

void PHcalValidInfoJets::fillDiJets ( double  mass  ) 

Definition at line 1401 of file PValidationFormats.cc.

References dijetM.

Referenced by SimG4HcalValidation::jetAnalysis().

01401                                                {
01402   dijetM = (float)mass;
01403 }

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

Definition at line 1369 of file PValidationFormats.cc.

References ecalJet, etotJet, hcalJet, and hoJet.

Referenced by SimG4HcalValidation::jetAnalysis().

01370                                                                   {
01371   // hardest jet properties
01372 
01373   ecalJet = (float)ee;
01374   hcalJet = (float)he;
01375     hoJet = (float)hoe;
01376   etotJet = (float)etot;
01377 }

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

Definition at line 1379 of file PValidationFormats.cc.

References detaJet, dphiJet, and drJet.

Referenced by SimG4HcalValidation::jetAnalysis().

01381                                                            {
01382   detaJet = (float)(eta-eta0);
01383   dphiJet = (float)(phi-phi0);
01384     drJet = (float)dist;
01385 }

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

Definition at line 1387 of file PValidationFormats.cc.

References i, jetE, jetEta, jetPhi, and nJet.

Referenced by SimG4HcalValidation::jetAnalysis().

01389                                                          {
01390   nJet = en.size();
01391   for (int i = 0; i < nJet; i++) {
01392     jetE.push_back((float)en[i]);
01393     jetEta.push_back((float)eta[i]);
01394     jetPhi.push_back((float)phi[i]);
01395   }
01396 
01397   //  std::cout << " fillJets - nJet = " << nJet << std::endl;
01398 
01399 }

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

Definition at line 1359 of file PValidationFormats.cc.

References jetHite, jetHitr, jetHitt, and nJetHit.

Referenced by SimG4HcalValidation::jetAnalysis().

01359                                                                       {
01360   jetHite.push_back((float)e);
01361   jetHitr.push_back((float)r);
01362   jetHitt.push_back((float)t);
01363   nJetHit++;
01364 
01365   //  std::cout << " fillTProfileJet - nJetHit = " << nJetHit << std::endl;
01366   
01367 }

float PHcalValidInfoJets::hcaljet (  )  const [inline]

Definition at line 1188 of file PValidationFormats.h.

References hcalJet.

01188 {return hcalJet;}

float PHcalValidInfoJets::hojet (  )  const [inline]

Definition at line 1189 of file PValidationFormats.h.

References hoJet.

01189 {return   hoJet;}

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

Definition at line 1182 of file PValidationFormats.h.

References jetE.

01182 {return jetE;}

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

Definition at line 1183 of file PValidationFormats.h.

References jetEta.

01183 {return jetEta;}

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

Definition at line 1177 of file PValidationFormats.h.

References jetHite.

01177 {return jetHite;}

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

Definition at line 1178 of file PValidationFormats.h.

References jetHitr.

01178 {return jetHitr;}

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

Definition at line 1179 of file PValidationFormats.h.

References jetHitt.

01179 {return jetHitt;}

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

Definition at line 1184 of file PValidationFormats.h.

References jetPhi.

01184 {return jetPhi;}

int PHcalValidInfoJets::njet (  )  const [inline]

Definition at line 1185 of file PValidationFormats.h.

References nJet.

01185 {return nJet;} 

int PHcalValidInfoJets::njethit (  )  const [inline]

Definition at line 1180 of file PValidationFormats.h.

References nJetHit.

01180 {return nJetHit;}


Friends And Related Function Documentation

friend class SimG4HcalValidation [friend]

Definition at line 1166 of file PValidationFormats.h.


Member Data Documentation

float PHcalValidInfoJets::detaJet [private]

Definition at line 1210 of file PValidationFormats.h.

Referenced by detajet(), and fillEtaPhiProfileJet().

float PHcalValidInfoJets::dijetM [private]

Definition at line 1210 of file PValidationFormats.h.

Referenced by dijetm(), and fillDiJets().

float PHcalValidInfoJets::dphiJet [private]

Definition at line 1210 of file PValidationFormats.h.

Referenced by dphijet(), and fillEtaPhiProfileJet().

float PHcalValidInfoJets::drJet [private]

Definition at line 1210 of file PValidationFormats.h.

Referenced by drjet(), and fillEtaPhiProfileJet().

float PHcalValidInfoJets::ecalJet [private]

Definition at line 1209 of file PValidationFormats.h.

Referenced by ecaljet(), and fillEcollectJet().

float PHcalValidInfoJets::etotJet [private]

Definition at line 1209 of file PValidationFormats.h.

Referenced by etotjet(), and fillEcollectJet().

float PHcalValidInfoJets::hcalJet [private]

Definition at line 1209 of file PValidationFormats.h.

Referenced by fillEcollectJet(), and hcaljet().

float PHcalValidInfoJets::hoJet [private]

Definition at line 1209 of file PValidationFormats.h.

Referenced by fillEcollectJet(), and hojet().

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

Definition at line 1214 of file PValidationFormats.h.

Referenced by fillJets(), and jete().

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

Definition at line 1215 of file PValidationFormats.h.

Referenced by fillJets(), and jeteta().

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

Definition at line 1211 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethite().

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

Definition at line 1212 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethitr().

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

Definition at line 1213 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and jethitt().

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

Definition at line 1216 of file PValidationFormats.h.

Referenced by fillJets(), and jetphi().

int PHcalValidInfoJets::nJet [private]

Definition at line 1208 of file PValidationFormats.h.

Referenced by fillJets(), and njet().

int PHcalValidInfoJets::nJetHit [private]

Definition at line 1208 of file PValidationFormats.h.

Referenced by fillTProfileJet(), and njethit().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:29:52 2009 for CMSSW by  doxygen 1.5.4