CMS 3D CMS Logo

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

#include <PValidationFormats.h>

Public Member Functions

std::vector< float > edepth () const
 
float eebee () const
 
float eecalhf () const
 
float ehbhe () const
 
float ehcalhf () const
 
std::vector< float > eHit () const
 
float eho () const
 
std::vector< float > elayer () const
 
float elonghf () const
 
float eshorthf () const
 
std::vector< float > etaHit () const
 
void fillHF (double fibl, double fibs, double enec, double enhc)
 
void fillHits (int Nhits, int lay, int unitID, double eta, double phi, double ehit, double t)
 
void fillLayers (double el[], double ed[], double ho, double hbhe, double ebee)
 
std::vector< float > idHit () const
 
std::vector< float > layerHit () const
 
int nHit () const
 
 PHcalValidInfoLayer ()
 
std::vector< float > phiHit () const
 
std::vector< float > tHit () const
 
virtual ~PHcalValidInfoLayer ()
 

Private Attributes

std::vector< float > eDepth
 
float eEBEE
 
float eEcalHF
 
float eHBHE
 
float eHcalHF
 
float eHO
 
std::vector< float > eLayer
 
float elongHF
 
float eshortHF
 
std::vector< float > hitE
 
std::vector< float > hitEta
 
std::vector< float > hitId
 
std::vector< float > hitLayer
 
int hitN
 
std::vector< float > hitPhi
 
std::vector< float > hitTime
 

Friends

class SimG4HcalValidation
 

Detailed Description

Definition at line 1328 of file PValidationFormats.h.

Constructor & Destructor Documentation

◆ PHcalValidInfoLayer()

PHcalValidInfoLayer::PHcalValidInfoLayer ( )
inline

◆ ~PHcalValidInfoLayer()

virtual PHcalValidInfoLayer::~PHcalValidInfoLayer ( )
inlinevirtual

Definition at line 1334 of file PValidationFormats.h.

1334 {}

Member Function Documentation

◆ edepth()

std::vector<float> PHcalValidInfoLayer::edepth ( ) const
inline

Definition at line 1348 of file PValidationFormats.h.

References eDepth.

Referenced by HcalHitValidation::analyzeLayer().

1348 { return eDepth; }
std::vector< float > eDepth

◆ eebee()

float PHcalValidInfoLayer::eebee ( ) const
inline

Definition at line 1341 of file PValidationFormats.h.

References eEBEE.

1341 { return eEBEE; }

◆ eecalhf()

float PHcalValidInfoLayer::eecalhf ( ) const
inline

Definition at line 1344 of file PValidationFormats.h.

References eEcalHF.

Referenced by HcalHitValidation::analyzeLayer().

1344 { return eEcalHF; }

◆ ehbhe()

float PHcalValidInfoLayer::ehbhe ( ) const
inline

Definition at line 1340 of file PValidationFormats.h.

References eHBHE.

Referenced by HcalHitValidation::analyzeLayer().

1340 { return eHBHE; }

◆ ehcalhf()

float PHcalValidInfoLayer::ehcalhf ( ) const
inline

Definition at line 1345 of file PValidationFormats.h.

References eHcalHF.

Referenced by HcalHitValidation::analyzeLayer().

1345 { return eHcalHF; }

◆ eHit()

std::vector<float> PHcalValidInfoLayer::eHit ( ) const
inline

Definition at line 1352 of file PValidationFormats.h.

References hitE.

Referenced by HcalHitValidation::analyzeLayer().

1352 { return hitE; }
std::vector< float > hitE

◆ eho()

float PHcalValidInfoLayer::eho ( ) const
inline

Definition at line 1339 of file PValidationFormats.h.

References eHO.

Referenced by HcalHitValidation::analyzeLayer().

1339 { return eHO; }

◆ elayer()

std::vector<float> PHcalValidInfoLayer::elayer ( ) const
inline

Definition at line 1347 of file PValidationFormats.h.

References eLayer.

Referenced by HcalHitValidation::analyzeLayer().

1347 { return eLayer; }
std::vector< float > eLayer

◆ elonghf()

float PHcalValidInfoLayer::elonghf ( ) const
inline

Definition at line 1342 of file PValidationFormats.h.

References elongHF.

Referenced by HcalHitValidation::analyzeLayer().

1342 { return elongHF; }

◆ eshorthf()

float PHcalValidInfoLayer::eshorthf ( ) const
inline

Definition at line 1343 of file PValidationFormats.h.

References eshortHF.

Referenced by HcalHitValidation::analyzeLayer().

1343 { return eshortHF; }

◆ etaHit()

std::vector<float> PHcalValidInfoLayer::etaHit ( ) const
inline

Definition at line 1350 of file PValidationFormats.h.

References hitEta.

Referenced by HcalHitValidation::analyzeLayer().

1350 { return hitEta; }
std::vector< float > hitEta

◆ fillHF()

void PHcalValidInfoLayer::fillHF ( double  fibl,
double  fibs,
double  enec,
double  enhc 
)

Definition at line 1300 of file PValidationFormats.cc.

References eEcalHF, eHcalHF, elongHF, eshortHF, and dqmMemoryStats::float.

Referenced by SimG4HcalValidation::layerAnalysis().

1300  {
1301  elongHF = (float)fibl;
1302  eshortHF = (float)fibs;
1303  eEcalHF = (float)enec;
1304  eHcalHF = (float)enhc;
1305 }

◆ fillHits()

void PHcalValidInfoLayer::fillHits ( int  Nhits,
int  lay,
int  unitID,
double  eta,
double  phi,
double  ehit,
double  t 
)

Definition at line 1307 of file PValidationFormats.cc.

References PVValHelper::eta, hitE, hitEta, hitId, hitLayer, hitN, hitPhi, hitTime, phi, and submitPVValidationJobs::t.

Referenced by SimG4HcalValidation::fetchHits().

1307  {
1308  hitLayer.push_back((float)lay);
1309  hitId.push_back((float)unitID);
1310  hitEta.push_back((float)eta);
1311  hitPhi.push_back((float)phi);
1312  hitE.push_back((float)ehit);
1313  hitTime.push_back((float)t);
1314  hitN++;
1315 
1316  // std::cout << " fillHits: nHits,hitN = " << nHits << "," << hitN << std::endl;
1317 }
std::vector< float > hitE
std::vector< float > hitId
std::vector< float > hitPhi
std::vector< float > hitEta
std::vector< float > hitTime
std::vector< float > hitLayer

◆ fillLayers()

void PHcalValidInfoLayer::fillLayers ( double  el[],
double  ed[],
double  ho,
double  hbhe,
double  ebee 
)

Definition at line 1286 of file PValidationFormats.cc.

References eDepth, eEBEE, eHBHE, eHO, eLayer, dqmMemoryStats::float, photonIsolationHIProducer_cfi::hbhe, photonIsolationHIProducer_cfi::ho, and mps_fire::i.

Referenced by SimG4HcalValidation::layerAnalysis().

1286  {
1287  for (int i = 0; i < 20; i++) {
1288  double en = 0.001 * el[i]; // GeV
1289  eLayer.push_back((float)en);
1290  }
1291  for (int i = 0; i < 4; i++) {
1292  double en = 0.001 * ed[i]; // GeV
1293  eDepth.push_back((float)en);
1294  }
1295  eHO = (float)ho;
1296  eHBHE = (float)hbhe; // MeV
1297  eEBEE = (float)ebee;
1298 }
std::vector< float > eDepth
std::vector< float > eLayer

◆ idHit()

std::vector<float> PHcalValidInfoLayer::idHit ( ) const
inline

Definition at line 1355 of file PValidationFormats.h.

References hitId.

Referenced by HcalHitValidation::analyzeLayer().

1355 { return hitId; }
std::vector< float > hitId

◆ layerHit()

std::vector<float> PHcalValidInfoLayer::layerHit ( ) const
inline

Definition at line 1354 of file PValidationFormats.h.

References hitLayer.

Referenced by HcalHitValidation::analyzeLayer().

1354 { return hitLayer; }
std::vector< float > hitLayer

◆ nHit()

int PHcalValidInfoLayer::nHit ( ) const
inline

Definition at line 1337 of file PValidationFormats.h.

References hitN.

Referenced by HcalHitValidation::analyzeLayer().

1337 { return hitN; }

◆ phiHit()

std::vector<float> PHcalValidInfoLayer::phiHit ( ) const
inline

Definition at line 1351 of file PValidationFormats.h.

References hitPhi.

Referenced by HcalHitValidation::analyzeLayer().

1351 { return hitPhi; }
std::vector< float > hitPhi

◆ tHit()

std::vector<float> PHcalValidInfoLayer::tHit ( ) const
inline

Definition at line 1353 of file PValidationFormats.h.

References hitTime.

Referenced by HcalHitValidation::analyzeLayer().

1353 { return hitTime; }
std::vector< float > hitTime

Friends And Related Function Documentation

◆ SimG4HcalValidation

friend class SimG4HcalValidation
friend

Definition at line 1329 of file PValidationFormats.h.

Member Data Documentation

◆ eDepth

std::vector<float> PHcalValidInfoLayer::eDepth
private

Definition at line 1368 of file PValidationFormats.h.

Referenced by edepth(), and fillLayers().

◆ eEBEE

float PHcalValidInfoLayer::eEBEE
private

Definition at line 1365 of file PValidationFormats.h.

Referenced by eebee(), and fillLayers().

◆ eEcalHF

float PHcalValidInfoLayer::eEcalHF
private

Definition at line 1366 of file PValidationFormats.h.

Referenced by eecalhf(), and fillHF().

◆ eHBHE

float PHcalValidInfoLayer::eHBHE
private

Definition at line 1365 of file PValidationFormats.h.

Referenced by ehbhe(), and fillLayers().

◆ eHcalHF

float PHcalValidInfoLayer::eHcalHF
private

Definition at line 1366 of file PValidationFormats.h.

Referenced by ehcalhf(), and fillHF().

◆ eHO

float PHcalValidInfoLayer::eHO
private

Definition at line 1365 of file PValidationFormats.h.

Referenced by eho(), and fillLayers().

◆ eLayer

std::vector<float> PHcalValidInfoLayer::eLayer
private

Definition at line 1367 of file PValidationFormats.h.

Referenced by elayer(), and fillLayers().

◆ elongHF

float PHcalValidInfoLayer::elongHF
private

Definition at line 1366 of file PValidationFormats.h.

Referenced by elonghf(), and fillHF().

◆ eshortHF

float PHcalValidInfoLayer::eshortHF
private

Definition at line 1366 of file PValidationFormats.h.

Referenced by eshorthf(), and fillHF().

◆ hitE

std::vector<float> PHcalValidInfoLayer::hitE
private

Definition at line 1374 of file PValidationFormats.h.

Referenced by eHit(), and fillHits().

◆ hitEta

std::vector<float> PHcalValidInfoLayer::hitEta
private

Definition at line 1372 of file PValidationFormats.h.

Referenced by etaHit(), and fillHits().

◆ hitId

std::vector<float> PHcalValidInfoLayer::hitId
private

Definition at line 1371 of file PValidationFormats.h.

Referenced by fillHits(), and idHit().

◆ hitLayer

std::vector<float> PHcalValidInfoLayer::hitLayer
private

Definition at line 1370 of file PValidationFormats.h.

Referenced by fillHits(), and layerHit().

◆ hitN

int PHcalValidInfoLayer::hitN
private

Definition at line 1364 of file PValidationFormats.h.

Referenced by fillHits(), and nHit().

◆ hitPhi

std::vector<float> PHcalValidInfoLayer::hitPhi
private

Definition at line 1373 of file PValidationFormats.h.

Referenced by fillHits(), and phiHit().

◆ hitTime

std::vector<float> PHcalValidInfoLayer::hitTime
private

Definition at line 1375 of file PValidationFormats.h.

Referenced by fillHits(), and tHit().