CMS 3D CMS Logo

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

#include <SimDataFormats/HcalTestBeam/interface/PHcalTB04Info.h>

Public Member Functions

void clear ()
 
int crystal () const
 
IntVector detectorHit () const
 
float digEcE () const
 
FloatVector digEEcal () const
 
FloatVector digEHcal () const
 
float digEtotal () const
 
float digHcE () const
 
FloatVector energyHit () const
 
float eta () const
 
IntVector etaIndexHit () const
 
int evNum () const
 
IntVector idsEcal () const
 
IntVector idsHcal () const
 
float initE () const
 
IntVector layerHit () const
 
int nHit () const
 
int partID () const
 
 PHcalTB04Info ()
 
float phi () const
 
IntVector phiIndexHit () const
 
int primary () const
 
void saveHit (int det, int lay, int eta, int phi, double e, double t)
 
void setEdep (double simtot, double sime, double simh, double digtot, double dige, double digh)
 
void setEdepEcal (const std::vector< double > &esim, const std::vector< double > &edig)
 
void setEdepHcal (const std::vector< double > &esim, const std::vector< double > &edig)
 
void setIDs (const std::vector< int > &, const std::vector< int > &)
 
void setLongProf (const std::vector< double > &es, const std::vector< double > &eq)
 
void setPrimary (int primary, int id, double energy, double eta, double phi)
 
void setTrnsProf (const std::vector< double > &es1, const std::vector< double > &eq1, const std::vector< double > &es2, const std::vector< double > &eq2)
 
void setVtxPrim (int evNum, int type, double x, double y, double z, double u, double v, double w, double px, double py, double pz)
 
void setVtxSec (int id, int pdg, double px, double py, double pz, double ek)
 
float simEcE () const
 
FloatVector simEEcal () const
 
FloatVector simEHcal () const
 
float simEtotal () const
 
float simHcE () const
 
FloatVector timeHit () const
 
int tower () const
 
IntVector vtxPartID () const
 
float vtxPrimPx () const
 
float vtxPrimPy () const
 
float vtxPrimPz () const
 
float vtxPrimR () const
 
float vtxPrimU () const
 
float vtxPrimV () const
 
float vtxPrimW () const
 
float vtxPrimX () const
 
float vtxPrimY () const
 
float vtxPrimZ () const
 
int vtxSec () const
 
FloatVector vtxSecEk () const
 
FloatVector vtxSecPx () const
 
FloatVector vtxSecPy () const
 
FloatVector vtxSecPz () const
 
IntVector vtxTrkID () const
 
int vtxType () const
 
virtual ~PHcalTB04Info ()
 

Private Types

typedef std::vector< float > FloatVector
 
typedef std::vector< int > IntVector
 

Private Attributes

IntVector detHit
 
float digEEc
 
float digEHc
 
float digEtot
 
float eBeam
 
FloatVector edige
 
FloatVector edigh
 
FloatVector eHit
 
FloatVector esime
 
FloatVector esimh
 
float etaBeam
 
IntVector etaHit
 
int hit
 
int idBeam
 
IntVector idEcal
 
IntVector idHcal
 
FloatVector latdigEta
 
FloatVector latdigPhi
 
FloatVector latsimEta
 
FloatVector latsimPhi
 
IntVector layHit
 
FloatVector longdig
 
FloatVector longsim
 
int nCrystal
 
int nPrimary
 
int nTower
 
float phiBeam
 
IntVector phiHit
 
float simEEc
 
float simEHc
 
float simEtot
 
FloatVector tHit
 
int v1EvNum
 
int v1Nsec
 
float v1Px
 
float v1Py
 
float v1Pz
 
float v1R
 
FloatVector v1secEk
 
IntVector v1secPartID
 
FloatVector v1secPx
 
FloatVector v1secPy
 
FloatVector v1secPz
 
IntVector v1secTrackID
 
int v1Type
 
float v1U
 
float v1V
 
float v1W
 
float v1X
 
float v1Y
 
float v1Z
 

Friends

class HcalTB04Analysis
 

Detailed Description

Description: Histogram handling class for analysis

Usage: Simulation information for test beam studies of 2004 Test Beam Contains beam information, hits and digitised results

Definition at line 33 of file PHcalTB04Info.h.

Member Typedef Documentation

◆ FloatVector

typedef std::vector<float> PHcalTB04Info::FloatVector
private

Definition at line 34 of file PHcalTB04Info.h.

◆ IntVector

typedef std::vector<int> PHcalTB04Info::IntVector
private

Definition at line 35 of file PHcalTB04Info.h.

Constructor & Destructor Documentation

◆ PHcalTB04Info()

PHcalTB04Info::PHcalTB04Info ( )

Definition at line 30 of file PHcalTB04Info.cc.

References clear().

30 { clear(); }

◆ ~PHcalTB04Info()

PHcalTB04Info::~PHcalTB04Info ( )
virtual

Definition at line 36 of file PHcalTB04Info.cc.

36 {}

Member Function Documentation

◆ clear()

void PHcalTB04Info::clear ( void  )

Definition at line 53 of file PHcalTB04Info.cc.

References digEEc, digEHc, digEtot, eBeam, etaBeam, idBeam, nCrystal, nPrimary, nTower, phiBeam, simEEc, simEHc, simEtot, v1EvNum, v1Nsec, v1Px, v1Py, v1Pz, v1Type, v1U, v1V, v1W, v1X, v1Y, and v1Z.

Referenced by PHcalTB04Info().

53  {
54  nPrimary = idBeam = 0;
55  eBeam = etaBeam = phiBeam = 0;
56 
57  simEtot = simEEc = simEHc = 0;
58  digEtot = digEEc = digEHc = 0;
59 
60  nCrystal = nTower = 0;
61 
62  hit = 0;
63 
64  v1EvNum = v1Type = v1Nsec = 0;
65  v1X = v1Y = v1Z = v1U = v1V = v1W = 0;
66  v1Px = v1Py = v1Pz = 0;
67 }

◆ crystal()

int PHcalTB04Info::crystal ( ) const
inline

Definition at line 48 of file PHcalTB04Info.h.

References nCrystal.

48 { return nCrystal; }

◆ detectorHit()

IntVector PHcalTB04Info::detectorHit ( ) const
inline

Definition at line 64 of file PHcalTB04Info.h.

References detHit.

64 { return detHit; }
IntVector detHit

◆ digEcE()

float PHcalTB04Info::digEcE ( ) const
inline

Definition at line 56 of file PHcalTB04Info.h.

References digEEc.

56 { return digEEc; }

◆ digEEcal()

FloatVector PHcalTB04Info::digEEcal ( ) const
inline

Definition at line 59 of file PHcalTB04Info.h.

References edige.

59 { return edige; }
FloatVector edige

◆ digEHcal()

FloatVector PHcalTB04Info::digEHcal ( ) const
inline

Definition at line 61 of file PHcalTB04Info.h.

References edigh.

61 { return edigh; }
FloatVector edigh

◆ digEtotal()

float PHcalTB04Info::digEtotal ( ) const
inline

Definition at line 55 of file PHcalTB04Info.h.

References digEtot.

55 { return digEtot; }

◆ digHcE()

float PHcalTB04Info::digHcE ( ) const
inline

Definition at line 57 of file PHcalTB04Info.h.

References digEHc.

57 { return digEHc; }

◆ energyHit()

FloatVector PHcalTB04Info::energyHit ( ) const
inline

Definition at line 68 of file PHcalTB04Info.h.

References eHit.

68 { return eHit; }
FloatVector eHit

◆ eta()

float PHcalTB04Info::eta ( void  ) const
inline

Definition at line 46 of file PHcalTB04Info.h.

References etaBeam.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and saveHit().

46 { return etaBeam; }

◆ etaIndexHit()

IntVector PHcalTB04Info::etaIndexHit ( ) const
inline

Definition at line 65 of file PHcalTB04Info.h.

References etaHit.

65 { return etaHit; }
IntVector etaHit

◆ evNum()

int PHcalTB04Info::evNum ( ) const
inline

Definition at line 71 of file PHcalTB04Info.h.

References v1EvNum.

Referenced by setVtxPrim().

71 { return v1EvNum; }

◆ idsEcal()

IntVector PHcalTB04Info::idsEcal ( ) const
inline

Definition at line 49 of file PHcalTB04Info.h.

References idEcal.

49 { return idEcal; }
IntVector idEcal

◆ idsHcal()

IntVector PHcalTB04Info::idsHcal ( ) const
inline

Definition at line 51 of file PHcalTB04Info.h.

References idHcal.

51 { return idHcal; }
IntVector idHcal

◆ initE()

float PHcalTB04Info::initE ( ) const
inline

Definition at line 45 of file PHcalTB04Info.h.

References eBeam.

45 { return eBeam; }

◆ layerHit()

IntVector PHcalTB04Info::layerHit ( ) const
inline

Definition at line 67 of file PHcalTB04Info.h.

References layHit.

67 { return layHit; }
IntVector layHit

◆ nHit()

int PHcalTB04Info::nHit ( ) const
inline

Definition at line 63 of file PHcalTB04Info.h.

References hit.

63 { return hit; }

◆ partID()

int PHcalTB04Info::partID ( ) const
inline

Definition at line 44 of file PHcalTB04Info.h.

References idBeam.

44 { return idBeam; }

◆ phi()

float PHcalTB04Info::phi ( void  ) const
inline

Definition at line 47 of file PHcalTB04Info.h.

References phiBeam.

Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and saveHit().

47 { return phiBeam; }

◆ phiIndexHit()

IntVector PHcalTB04Info::phiIndexHit ( ) const
inline

Definition at line 66 of file PHcalTB04Info.h.

References phiHit.

66 { return phiHit; }
IntVector phiHit

◆ primary()

int PHcalTB04Info::primary ( ) const
inline

Definition at line 43 of file PHcalTB04Info.h.

References nPrimary.

Referenced by setPrimary().

43 { return nPrimary; }

◆ saveHit()

void PHcalTB04Info::saveHit ( int  det,
int  lay,
int  eta,
int  phi,
double  e,
double  t 
)

Definition at line 185 of file PHcalTB04Info.cc.

References detHit, MillePedeFileConverter_cfg::e, eHit, eta(), etaHit, hit, layHit, LogDebug, cms::cuda::nh, phi(), phiHit, submitPVValidationJobs::t, and tHit.

Referenced by HcalTB04Analysis::fillEvent().

185  {
186  int nh = hit;
187  hit++;
188  detHit.push_back(det);
189  layHit.push_back(lay);
190  etaHit.push_back(eta);
191  phiHit.push_back(phi);
192  eHit.push_back((float)(e));
193  tHit.push_back((float)(t));
194  LogDebug("SimHCalData") << "PHcalTB04Info::saveHit " << hit << " Det " << detHit[nh] << " layer " << layHit[nh]
195  << " Eta " << etaHit[nh] << " Phi " << phiHit[nh] << " E " << eHit[nh] << " t " << tHit[nh];
196 }
FloatVector eHit
IntVector layHit
IntVector phiHit
float eta() const
Definition: PHcalTB04Info.h:46
uint32_t nh
IntVector etaHit
float phi() const
Definition: PHcalTB04Info.h:47
IntVector detHit
FloatVector tHit
#define LogDebug(id)

◆ setEdep()

void PHcalTB04Info::setEdep ( double  simtot,
double  sime,
double  simh,
double  digtot,
double  dige,
double  digh 
)

Definition at line 105 of file PHcalTB04Info.cc.

References digEEc, digEHc, digEtot, dqmMemoryStats::float, LogDebug, simEEc, simEHc, and simEtot.

Referenced by HcalTB04Analysis::fillEvent().

105  {
106  simEtot = (float)simtot;
107  simEEc = (float)sime;
108  simEHc = (float)simh;
109  digEtot = (float)digtot;
110  digEEc = (float)dige;
111  digEHc = (float)digh;
112 
113  LogDebug("SimHCalData") << "PHcalTB04Info::setEdep: simEtot " << simEtot << " simEEc " << simEEc << " simEHc "
114  << simEHc << " digEtot " << digEtot << " digEEc " << digEEc << " digEHc " << digEHc;
115 }
#define LogDebug(id)

◆ setEdepEcal()

void PHcalTB04Info::setEdepEcal ( const std::vector< double > &  esim,
const std::vector< double > &  edig 
)

Definition at line 117 of file PHcalTB04Info.cc.

References edige, esime, mps_fire::i, LogDebug, and nCrystal.

117  {
118  for (int i = 0; i < nCrystal; i++) {
119  float edep = 0;
120  if (i < int(esim.size()))
121  esime.push_back(esim[i]);
122  else
123  esime.push_back(edep);
124  if (i < int(eqie.size()))
125  edige.push_back(eqie[i]);
126  else
127  edige.push_back(edep);
128 
129  LogDebug("SimHCalData") << "PHcalTB04Info::setEdepEcal [" << i << "] Esim = " << esime[i] << " Edig = " << edige[i];
130  }
131 }
FloatVector edige
FloatVector esime
#define LogDebug(id)

◆ setEdepHcal()

void PHcalTB04Info::setEdepHcal ( const std::vector< double > &  esim,
const std::vector< double > &  edig 
)

Definition at line 133 of file PHcalTB04Info.cc.

References edigh, esimh, mps_fire::i, LogDebug, and nTower.

Referenced by HcalTB04Analysis::fillEvent().

133  {
134  for (int i = 0; i < nTower; i++) {
135  float edep = 0;
136  if (i < int(esim.size()))
137  esimh.push_back(esim[i]);
138  else
139  esimh.push_back(edep);
140  if (i < int(eqie.size()))
141  edigh.push_back(eqie[i]);
142  else
143  edigh.push_back(edep);
144 
145  LogDebug("SimHCalData") << "PHcalTB04Info::setEdepHcal [" << i << "] Esim = " << esimh[i] << " Edig = " << edigh[i];
146  }
147 }
FloatVector edigh
FloatVector esimh
#define LogDebug(id)

◆ setIDs()

void PHcalTB04Info::setIDs ( const std::vector< int > &  ide,
const std::vector< int > &  idh 
)

Definition at line 69 of file PHcalTB04Info.cc.

References TauDecayModes::dec, edige, edigh, esime, esimh, mps_fire::i, idEcal, idHcal, LogDebug, nCrystal, and nTower.

Referenced by HcalTB04Analysis::fillEvent().

69  {
70  nCrystal = ide.size();
71  if (nCrystal > 0) {
72  idEcal.reserve(nCrystal);
73  esime.reserve(nCrystal);
74  edige.reserve(nCrystal);
75  }
76  LogDebug("SimHCalData") << "PHcalTB04Info:: Called with " << nCrystal << " crystals";
77  for (int i = 0; i < nCrystal; i++) {
78  idEcal.push_back(ide[i]);
79  LogDebug("SimHCalData") << "\tIndex for " << i << " = 0x" << std::hex << idEcal[i] << std::dec;
80  }
81 
82  nTower = idh.size();
83  if (nTower > 0) {
84  idHcal.reserve(nTower);
85  esimh.reserve(nTower);
86  edigh.reserve(nTower);
87  }
88  LogDebug("SimHCalData") << "PHcalTB04Info:: Called with " << nTower << " HCal towers";
89  for (int i = 0; i < nTower; i++) {
90  idHcal.push_back(idh[i]);
91  LogDebug("SimHCalData") << "\tIndex for " << i << " = 0x" << std::hex << idHcal[i] << std::dec;
92  }
93 }
FloatVector edigh
FloatVector edige
FloatVector esime
IntVector idEcal
IntVector idHcal
FloatVector esimh
#define LogDebug(id)

◆ setLongProf()

void PHcalTB04Info::setLongProf ( const std::vector< double > &  es,
const std::vector< double > &  eq 
)

Definition at line 171 of file PHcalTB04Info.cc.

References mps_fire::i, createfilelist::int, LogDebug, longdig, and longsim.

Referenced by HcalTB04Analysis::fillEvent().

171  {
172  int siz = (int)(es.size());
173  if (siz > 0) {
174  longsim.reserve(siz);
175  longdig.reserve(siz);
176  for (int i = 0; i < siz; i++) {
177  longsim.push_back((float)(es[i]));
178  longdig.push_back((float)(eq[i]));
179  LogDebug("SimHCalData") << "PHcalTB04Info::setLongProf [" << i << "] longsim = " << longsim[i]
180  << " longdig = " << longdig[i];
181  }
182  }
183 }
FloatVector longdig
FloatVector longsim
#define LogDebug(id)

◆ setPrimary()

void PHcalTB04Info::setPrimary ( int  primary,
int  id,
double  energy,
double  eta,
double  phi 
)

Definition at line 95 of file PHcalTB04Info.cc.

References eBeam, HCALHighEnergyHPDFilter_cfi::energy, etaBeam, dqmMemoryStats::float, triggerObjects_cff::id, idBeam, LogDebug, nPrimary, phiBeam, and primary().

Referenced by HcalTB04Analysis::fillEvent().

95  {
96  nPrimary = primary;
97  idBeam = id;
98  eBeam = (float)(energy);
99  etaBeam = (float)(etav);
100  phiBeam = (float)(phiv);
101  LogDebug("SimHCalData") << "PHcalTB04Info::setPrimary: nPrimary " << nPrimary << " partID " << idBeam << " initE "
102  << eBeam << " eta " << etaBeam << " phi " << phiBeam;
103 }
int primary() const
Definition: PHcalTB04Info.h:43
#define LogDebug(id)

◆ setTrnsProf()

void PHcalTB04Info::setTrnsProf ( const std::vector< double > &  es1,
const std::vector< double > &  eq1,
const std::vector< double > &  es2,
const std::vector< double > &  eq2 
)

Definition at line 149 of file PHcalTB04Info.cc.

References mps_fire::i, createfilelist::int, latdigEta, latdigPhi, latsimEta, latsimPhi, and LogDebug.

Referenced by HcalTB04Analysis::fillEvent().

152  {
153  int siz = (int)(es1.size());
154  if (siz > 0) {
155  latsimEta.reserve(siz);
156  latdigEta.reserve(siz);
157  latsimPhi.reserve(siz);
158  latdigPhi.reserve(siz);
159  for (int i = 0; i < siz; i++) {
160  latsimEta.push_back((float)(es1[i]));
161  latdigEta.push_back((float)(eq1[i]));
162  latsimPhi.push_back((float)(es2[i]));
163  latdigPhi.push_back((float)(eq2[i]));
164  LogDebug("SimHCalData") << "PHcalTB04Info::setTrnsProf [" << i << "] latsimEta = " << latsimEta[i]
165  << " latdigEta = " << latdigEta[i] << " latsimPhi = " << latsimPhi[i]
166  << " latdigPhi = " << latdigPhi[i];
167  }
168  }
169 }
FloatVector latsimEta
FloatVector latdigPhi
FloatVector latsimPhi
FloatVector latdigEta
#define LogDebug(id)

◆ setVtxPrim()

void PHcalTB04Info::setVtxPrim ( int  evNum,
int  type,
double  x,
double  y,
double  z,
double  u,
double  v,
double  w,
double  px,
double  py,
double  pz 
)

Definition at line 198 of file PHcalTB04Info.cc.

References evNum(), dqmMemoryStats::float, LogDebug, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, alignCSCRings::r, mathSSE::sqrt(), findQualityFiles::v, v1EvNum, v1Px, v1Py, v1Pz, v1R, v1Type, v1U, v1V, v1W, v1X, v1Y, v1Z, w(), x, y, and z.

Referenced by HcalTB04Analysis::fillEvent().

199  {
200  v1EvNum = evNum;
201  v1Type = type;
202  double r = sqrt(x * x + y * y + z * z);
203  v1X = (float)(x);
204  v1Y = (float)(y);
205  v1Z = (float)(z);
206  v1R = (float)(r);
207  v1Px = (float)(px);
208  v1Py = (float)(py);
209  v1Pz = (float)(pz);
210  v1U = (float)(u);
211  v1V = (float)(v);
212  v1W = (float)(w);
213  LogDebug("SimHCalData") << "PHcalTB04Info::setVtxPrim: EvNum " << v1EvNum << " Type " << v1Type << " X/Y/Z/R " << v1X
214  << "/" << v1Y << "/" << v1Z << "/" << v1R << " Px/Py/Pz " << v1Px << "/" << v1Py << "/"
215  << v1Pz << " U/V/W " << v1U << "/" << v1V << "/" << v1W;
216 }
T w() const
T sqrt(T t)
Definition: SSEVec.h:19
int evNum() const
Definition: PHcalTB04Info.h:71
#define LogDebug(id)

◆ setVtxSec()

void PHcalTB04Info::setVtxSec ( int  id,
int  pdg,
double  px,
double  py,
double  pz,
double  ek 
)

Definition at line 218 of file PHcalTB04Info.cc.

References LogDebug, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, v1Nsec, v1secEk, v1secPartID, v1secPx, v1secPy, v1secPz, and v1secTrackID.

Referenced by HcalTB04Analysis::fillEvent().

218  {
219  int ns = v1Nsec;
220  v1Nsec++;
221  v1secTrackID.push_back(id);
222  v1secPartID.push_back(pdg);
223  v1secPx.push_back((float)(px));
224  v1secPy.push_back((float)(py));
225  v1secPz.push_back((float)(pz));
226  v1secEk.push_back((float)(ek));
227  LogDebug("SimHCalData") << "PHcalTB04Info::setVtxSec " << v1Nsec << " ID " << v1secTrackID[ns] << " PDG Code "
228  << v1secPartID[ns] << " Px/Py/Pz/Ek " << v1secPx[ns] << "/" << v1secPy[ns] << "/"
229  << v1secPz[ns] << "/" << v1secEk[ns];
230 }
FloatVector v1secPy
FloatVector v1secPx
IntVector v1secPartID
FloatVector v1secPz
IntVector v1secTrackID
FloatVector v1secEk
#define LogDebug(id)

◆ simEcE()

float PHcalTB04Info::simEcE ( ) const
inline

Definition at line 53 of file PHcalTB04Info.h.

References simEEc.

53 { return simEEc; }

◆ simEEcal()

FloatVector PHcalTB04Info::simEEcal ( ) const
inline

Definition at line 58 of file PHcalTB04Info.h.

References esime.

58 { return esime; }
FloatVector esime

◆ simEHcal()

FloatVector PHcalTB04Info::simEHcal ( ) const
inline

Definition at line 60 of file PHcalTB04Info.h.

References esimh.

60 { return esimh; }
FloatVector esimh

◆ simEtotal()

float PHcalTB04Info::simEtotal ( ) const
inline

Definition at line 52 of file PHcalTB04Info.h.

References simEtot.

52 { return simEtot; }

◆ simHcE()

float PHcalTB04Info::simHcE ( ) const
inline

Definition at line 54 of file PHcalTB04Info.h.

References simEHc.

54 { return simEHc; }

◆ timeHit()

FloatVector PHcalTB04Info::timeHit ( ) const
inline

Definition at line 69 of file PHcalTB04Info.h.

References tHit.

69 { return tHit; }
FloatVector tHit

◆ tower()

int PHcalTB04Info::tower ( ) const
inline

Definition at line 50 of file PHcalTB04Info.h.

References nTower.

50 { return nTower; }

◆ vtxPartID()

IntVector PHcalTB04Info::vtxPartID ( ) const
inline

Definition at line 75 of file PHcalTB04Info.h.

References v1secPartID.

75 { return v1secPartID; }
IntVector v1secPartID

◆ vtxPrimPx()

float PHcalTB04Info::vtxPrimPx ( ) const
inline

Definition at line 83 of file PHcalTB04Info.h.

References v1Px.

83 { return v1Px; }

◆ vtxPrimPy()

float PHcalTB04Info::vtxPrimPy ( ) const
inline

Definition at line 84 of file PHcalTB04Info.h.

References v1Py.

84 { return v1Py; }

◆ vtxPrimPz()

float PHcalTB04Info::vtxPrimPz ( ) const
inline

Definition at line 85 of file PHcalTB04Info.h.

References v1Pz.

85 { return v1Pz; }

◆ vtxPrimR()

float PHcalTB04Info::vtxPrimR ( ) const
inline

Definition at line 79 of file PHcalTB04Info.h.

References v1R.

79 { return v1R; }

◆ vtxPrimU()

float PHcalTB04Info::vtxPrimU ( ) const
inline

Definition at line 80 of file PHcalTB04Info.h.

References v1U.

80 { return v1U; }

◆ vtxPrimV()

float PHcalTB04Info::vtxPrimV ( ) const
inline

Definition at line 81 of file PHcalTB04Info.h.

References v1V.

81 { return v1V; }

◆ vtxPrimW()

float PHcalTB04Info::vtxPrimW ( ) const
inline

Definition at line 82 of file PHcalTB04Info.h.

References v1W.

82 { return v1W; }

◆ vtxPrimX()

float PHcalTB04Info::vtxPrimX ( ) const
inline

Definition at line 76 of file PHcalTB04Info.h.

References v1X.

76 { return v1X; }

◆ vtxPrimY()

float PHcalTB04Info::vtxPrimY ( ) const
inline

Definition at line 77 of file PHcalTB04Info.h.

References v1Y.

77 { return v1Y; }

◆ vtxPrimZ()

float PHcalTB04Info::vtxPrimZ ( ) const
inline

Definition at line 78 of file PHcalTB04Info.h.

References v1Z.

78 { return v1Z; }

◆ vtxSec()

int PHcalTB04Info::vtxSec ( ) const
inline

Definition at line 73 of file PHcalTB04Info.h.

References v1Nsec.

73 { return v1Nsec; }

◆ vtxSecEk()

FloatVector PHcalTB04Info::vtxSecEk ( ) const
inline

Definition at line 89 of file PHcalTB04Info.h.

References v1secEk.

89 { return v1secEk; }
FloatVector v1secEk

◆ vtxSecPx()

FloatVector PHcalTB04Info::vtxSecPx ( ) const
inline

Definition at line 86 of file PHcalTB04Info.h.

References v1secPx.

86 { return v1secPx; }
FloatVector v1secPx

◆ vtxSecPy()

FloatVector PHcalTB04Info::vtxSecPy ( ) const
inline

Definition at line 87 of file PHcalTB04Info.h.

References v1secPy.

87 { return v1secPy; }
FloatVector v1secPy

◆ vtxSecPz()

FloatVector PHcalTB04Info::vtxSecPz ( ) const
inline

Definition at line 88 of file PHcalTB04Info.h.

References v1secPz.

88 { return v1secPz; }
FloatVector v1secPz

◆ vtxTrkID()

IntVector PHcalTB04Info::vtxTrkID ( ) const
inline

Definition at line 74 of file PHcalTB04Info.h.

References v1secTrackID.

74 { return v1secTrackID; }
IntVector v1secTrackID

◆ vtxType()

int PHcalTB04Info::vtxType ( ) const
inline

Definition at line 72 of file PHcalTB04Info.h.

References v1Type.

72 { return v1Type; }

Friends And Related Function Documentation

◆ HcalTB04Analysis

friend class HcalTB04Analysis
friend

Definition at line 36 of file PHcalTB04Info.h.

Member Data Documentation

◆ detHit

IntVector PHcalTB04Info::detHit
private

Definition at line 140 of file PHcalTB04Info.h.

Referenced by detectorHit(), and saveHit().

◆ digEEc

float PHcalTB04Info::digEEc
private

Definition at line 125 of file PHcalTB04Info.h.

Referenced by clear(), digEcE(), and setEdep().

◆ digEHc

float PHcalTB04Info::digEHc
private

Definition at line 125 of file PHcalTB04Info.h.

Referenced by clear(), digHcE(), and setEdep().

◆ digEtot

float PHcalTB04Info::digEtot
private

Definition at line 125 of file PHcalTB04Info.h.

Referenced by clear(), digEtotal(), and setEdep().

◆ eBeam

float PHcalTB04Info::eBeam
private

Definition at line 121 of file PHcalTB04Info.h.

Referenced by clear(), initE(), and setPrimary().

◆ edige

FloatVector PHcalTB04Info::edige
private

Definition at line 126 of file PHcalTB04Info.h.

Referenced by digEEcal(), setEdepEcal(), and setIDs().

◆ edigh

FloatVector PHcalTB04Info::edigh
private

Definition at line 127 of file PHcalTB04Info.h.

Referenced by digEHcal(), setEdepHcal(), and setIDs().

◆ eHit

FloatVector PHcalTB04Info::eHit
private

Definition at line 141 of file PHcalTB04Info.h.

Referenced by energyHit(), and saveHit().

◆ esime

FloatVector PHcalTB04Info::esime
private

Definition at line 126 of file PHcalTB04Info.h.

Referenced by setEdepEcal(), setIDs(), and simEEcal().

◆ esimh

FloatVector PHcalTB04Info::esimh
private

Definition at line 127 of file PHcalTB04Info.h.

Referenced by setEdepHcal(), setIDs(), and simEHcal().

◆ etaBeam

float PHcalTB04Info::etaBeam
private

Definition at line 121 of file PHcalTB04Info.h.

Referenced by clear(), eta(), and setPrimary().

◆ etaHit

IntVector PHcalTB04Info::etaHit
private

Definition at line 140 of file PHcalTB04Info.h.

Referenced by etaIndexHit(), and saveHit().

◆ hit

int PHcalTB04Info::hit
private

Definition at line 139 of file PHcalTB04Info.h.

Referenced by nHit(), and saveHit().

◆ idBeam

int PHcalTB04Info::idBeam
private

Definition at line 120 of file PHcalTB04Info.h.

Referenced by clear(), partID(), and setPrimary().

◆ idEcal

IntVector PHcalTB04Info::idEcal
private

Definition at line 134 of file PHcalTB04Info.h.

Referenced by idsEcal(), and setIDs().

◆ idHcal

IntVector PHcalTB04Info::idHcal
private

Definition at line 136 of file PHcalTB04Info.h.

Referenced by idsHcal(), and setIDs().

◆ latdigEta

FloatVector PHcalTB04Info::latdigEta
private

Definition at line 128 of file PHcalTB04Info.h.

Referenced by setTrnsProf().

◆ latdigPhi

FloatVector PHcalTB04Info::latdigPhi
private

Definition at line 129 of file PHcalTB04Info.h.

Referenced by setTrnsProf().

◆ latsimEta

FloatVector PHcalTB04Info::latsimEta
private

Definition at line 128 of file PHcalTB04Info.h.

Referenced by setTrnsProf().

◆ latsimPhi

FloatVector PHcalTB04Info::latsimPhi
private

Definition at line 129 of file PHcalTB04Info.h.

Referenced by setTrnsProf().

◆ layHit

IntVector PHcalTB04Info::layHit
private

Definition at line 140 of file PHcalTB04Info.h.

Referenced by layerHit(), and saveHit().

◆ longdig

FloatVector PHcalTB04Info::longdig
private

Definition at line 130 of file PHcalTB04Info.h.

Referenced by setLongProf().

◆ longsim

FloatVector PHcalTB04Info::longsim
private

Definition at line 130 of file PHcalTB04Info.h.

Referenced by setLongProf().

◆ nCrystal

int PHcalTB04Info::nCrystal
private

Definition at line 133 of file PHcalTB04Info.h.

Referenced by clear(), crystal(), setEdepEcal(), and setIDs().

◆ nPrimary

int PHcalTB04Info::nPrimary
private

Definition at line 120 of file PHcalTB04Info.h.

Referenced by clear(), primary(), and setPrimary().

◆ nTower

int PHcalTB04Info::nTower
private

Definition at line 135 of file PHcalTB04Info.h.

Referenced by clear(), setEdepHcal(), setIDs(), and tower().

◆ phiBeam

float PHcalTB04Info::phiBeam
private

Definition at line 121 of file PHcalTB04Info.h.

Referenced by clear(), phi(), and setPrimary().

◆ phiHit

IntVector PHcalTB04Info::phiHit
private

Definition at line 140 of file PHcalTB04Info.h.

Referenced by phiIndexHit(), and saveHit().

◆ simEEc

float PHcalTB04Info::simEEc
private

Definition at line 124 of file PHcalTB04Info.h.

Referenced by clear(), setEdep(), and simEcE().

◆ simEHc

float PHcalTB04Info::simEHc
private

Definition at line 124 of file PHcalTB04Info.h.

Referenced by clear(), setEdep(), and simHcE().

◆ simEtot

float PHcalTB04Info::simEtot
private

Definition at line 124 of file PHcalTB04Info.h.

Referenced by clear(), setEdep(), and simEtotal().

◆ tHit

FloatVector PHcalTB04Info::tHit
private

Definition at line 141 of file PHcalTB04Info.h.

Referenced by saveHit(), and timeHit().

◆ v1EvNum

int PHcalTB04Info::v1EvNum
private

Definition at line 144 of file PHcalTB04Info.h.

Referenced by clear(), evNum(), and setVtxPrim().

◆ v1Nsec

int PHcalTB04Info::v1Nsec
private

Definition at line 144 of file PHcalTB04Info.h.

Referenced by clear(), setVtxSec(), and vtxSec().

◆ v1Px

float PHcalTB04Info::v1Px
private

Definition at line 147 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimPx().

◆ v1Py

float PHcalTB04Info::v1Py
private

Definition at line 147 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimPy().

◆ v1Pz

float PHcalTB04Info::v1Pz
private

Definition at line 147 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimPz().

◆ v1R

float PHcalTB04Info::v1R
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by setVtxPrim(), and vtxPrimR().

◆ v1secEk

FloatVector PHcalTB04Info::v1secEk
private

Definition at line 148 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxSecEk().

◆ v1secPartID

IntVector PHcalTB04Info::v1secPartID
private

Definition at line 145 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxPartID().

◆ v1secPx

FloatVector PHcalTB04Info::v1secPx
private

Definition at line 148 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxSecPx().

◆ v1secPy

FloatVector PHcalTB04Info::v1secPy
private

Definition at line 148 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxSecPy().

◆ v1secPz

FloatVector PHcalTB04Info::v1secPz
private

Definition at line 148 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxSecPz().

◆ v1secTrackID

IntVector PHcalTB04Info::v1secTrackID
private

Definition at line 145 of file PHcalTB04Info.h.

Referenced by setVtxSec(), and vtxTrkID().

◆ v1Type

int PHcalTB04Info::v1Type
private

Definition at line 144 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxType().

◆ v1U

float PHcalTB04Info::v1U
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimU().

◆ v1V

float PHcalTB04Info::v1V
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimV().

◆ v1W

float PHcalTB04Info::v1W
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimW().

◆ v1X

float PHcalTB04Info::v1X
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimX().

◆ v1Y

float PHcalTB04Info::v1Y
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimY().

◆ v1Z

float PHcalTB04Info::v1Z
private

Definition at line 146 of file PHcalTB04Info.h.

Referenced by clear(), setVtxPrim(), and vtxPrimZ().