CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
CastorShowerEvent Class Reference

#include <CastorShowerEvent.h>

Inheritance diagram for CastorShowerEvent:

Public Types

typedef math::XYZPoint Point
 point in the space More...
 

Public Member Functions

 CastorShowerEvent ()
 
void Clear (Option_t *option="") override
 
unsigned int getDetID (int i)
 
Point getHitPosition (int i)
 
unsigned int getNhit ()
 
float getNphotons (int i)
 
float getPrimE ()
 
float getPrimEta ()
 
float getPrimPhi () const
 
float getPrimX ()
 
float getPrimY ()
 
float getPrimZ ()
 
float getTime (int i)
 
void setDetID (unsigned int id)
 
void setHitPosition (const Point &p)
 
void setNhit (unsigned int i)
 
void setNphotons (float np)
 
void setPrimE (float e)
 
void setPrimEta (float eta)
 
void setPrimPhi (float phi)
 
void setPrimX (float x)
 
void setPrimY (float y)
 
void setPrimZ (float z)
 
void setTime (float t)
 
 ~CastorShowerEvent () override
 

Public Attributes

std::vector< unsigned int > detID
 
std::vector< PointhitPosition
 
unsigned int nhit
 
std::vector< float > nphotons
 
float primaryEnergy
 
float primEta
 
float primPhi
 
float primX
 
float primY
 
float primZ
 
std::vector< float > time
 

Detailed Description

Definition at line 15 of file CastorShowerEvent.h.

Member Typedef Documentation

◆ Point

point in the space

Definition at line 18 of file CastorShowerEvent.h.

Constructor & Destructor Documentation

◆ CastorShowerEvent()

CastorShowerEvent::CastorShowerEvent ( )

Definition at line 4 of file CastorShowerEvent.cc.

4  {
5  // Clear();
6  // std::cout << "\n *** CastorShowerEvent object created *** " << std::endl;
7 }

◆ ~CastorShowerEvent()

CastorShowerEvent::~CastorShowerEvent ( )
override

Definition at line 9 of file CastorShowerEvent.cc.

9 {}

Member Function Documentation

◆ Clear()

void CastorShowerEvent::Clear ( Option_t *  option = "")
override

Definition at line 11 of file CastorShowerEvent.cc.

11  {
12  nhit = 0;
13  detID.clear();
14  hitPosition.clear();
15  nphotons.clear();
16  time.clear();
17  primaryEnergy = 0.;
18  primEta = 0.;
19  primPhi = 0.;
20  primX = 0.;
21  primY = 0.;
22  primZ = 0.;
23 }

References detID, hitPosition, nhit, nphotons, primaryEnergy, primEta, primPhi, primX, primY, primZ, and time.

Referenced by CastorShowerLibraryMaker::update().

◆ getDetID()

unsigned int CastorShowerEvent::getDetID ( int  i)
inline

Definition at line 51 of file CastorShowerEvent.h.

51 { return detID[i]; };

References detID, and mps_fire::i.

◆ getHitPosition()

Point CastorShowerEvent::getHitPosition ( int  i)
inline

Definition at line 52 of file CastorShowerEvent.h.

52 { return hitPosition[i]; };

References hitPosition, and mps_fire::i.

◆ getNhit()

unsigned int CastorShowerEvent::getNhit ( )
inline

Definition at line 50 of file CastorShowerEvent.h.

50 { return nhit; };

References nhit.

Referenced by CastorShowerLibrary::getRecord(), and CastorShowerLibraryMaker::update().

◆ getNphotons()

float CastorShowerEvent::getNphotons ( int  i)
inline

Definition at line 53 of file CastorShowerEvent.h.

53 { return nphotons[i]; };

References mps_fire::i, and nphotons.

◆ getPrimE()

float CastorShowerEvent::getPrimE ( )
inline

Definition at line 55 of file CastorShowerEvent.h.

55 { return primaryEnergy; };

References primaryEnergy.

◆ getPrimEta()

float CastorShowerEvent::getPrimEta ( )
inline

Definition at line 56 of file CastorShowerEvent.h.

56 { return primEta; };

References primEta.

◆ getPrimPhi()

float CastorShowerEvent::getPrimPhi ( ) const
inline

Definition at line 57 of file CastorShowerEvent.h.

57 { return primPhi; };

References primPhi.

Referenced by CastorSD::rotateUnitID().

◆ getPrimX()

float CastorShowerEvent::getPrimX ( )
inline

Definition at line 58 of file CastorShowerEvent.h.

58 { return primX; };

References primX.

◆ getPrimY()

float CastorShowerEvent::getPrimY ( )
inline

Definition at line 59 of file CastorShowerEvent.h.

59 { return primY; };

References primY.

◆ getPrimZ()

float CastorShowerEvent::getPrimZ ( )
inline

Definition at line 60 of file CastorShowerEvent.h.

60 { return primZ; };

References primZ.

◆ getTime()

float CastorShowerEvent::getTime ( int  i)
inline

Definition at line 54 of file CastorShowerEvent.h.

54 { return time[i]; };

References mps_fire::i, and time.

◆ setDetID()

void CastorShowerEvent::setDetID ( unsigned int  id)
inline

Definition at line 38 of file CastorShowerEvent.h.

38 { detID.push_back(id); };

References detID.

Referenced by CastorShowerLibraryMaker::FillShowerEvent().

◆ setHitPosition()

void CastorShowerEvent::setHitPosition ( const Point p)
inline

Definition at line 39 of file CastorShowerEvent.h.

39 { hitPosition.push_back(p); };

References hitPosition, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by CastorShowerLibraryMaker::FillShowerEvent().

◆ setNhit()

void CastorShowerEvent::setNhit ( unsigned int  i)
inline

Definition at line 37 of file CastorShowerEvent.h.

37 { nhit = i; };

References mps_fire::i, and nhit.

Referenced by CastorShowerLibraryMaker::FillShowerEvent().

◆ setNphotons()

void CastorShowerEvent::setNphotons ( float  np)
inline

Definition at line 40 of file CastorShowerEvent.h.

40 { nphotons.push_back(np); };

References np, and nphotons.

Referenced by CastorShowerLibraryMaker::FillShowerEvent().

◆ setPrimE()

void CastorShowerEvent::setPrimE ( float  e)
inline

Definition at line 42 of file CastorShowerEvent.h.

42 { primaryEnergy = e; };

References MillePedeFileConverter_cfg::e, and primaryEnergy.

Referenced by CastorShowerLibraryMaker::update().

◆ setPrimEta()

void CastorShowerEvent::setPrimEta ( float  eta)
inline

Definition at line 43 of file CastorShowerEvent.h.

43 { primEta = eta; };

References PVValHelper::eta, and primEta.

Referenced by CastorShowerLibraryMaker::update().

◆ setPrimPhi()

void CastorShowerEvent::setPrimPhi ( float  phi)
inline

Definition at line 44 of file CastorShowerEvent.h.

44 { primPhi = phi; };

References phi, and primPhi.

Referenced by CastorShowerLibraryMaker::update().

◆ setPrimX()

void CastorShowerEvent::setPrimX ( float  x)
inline

Definition at line 45 of file CastorShowerEvent.h.

45 { primX = x; };

References primX, and x.

Referenced by CastorShowerLibraryMaker::update().

◆ setPrimY()

void CastorShowerEvent::setPrimY ( float  y)
inline

Definition at line 46 of file CastorShowerEvent.h.

46 { primY = y; };

References primY, and y.

Referenced by CastorShowerLibraryMaker::update().

◆ setPrimZ()

void CastorShowerEvent::setPrimZ ( float  z)
inline

Definition at line 47 of file CastorShowerEvent.h.

47 { primZ = z; };

References primZ, and z.

Referenced by CastorShowerLibraryMaker::update().

◆ setTime()

void CastorShowerEvent::setTime ( float  t)
inline

Definition at line 41 of file CastorShowerEvent.h.

41 { time.push_back(t); };

References submitPVValidationJobs::t, and time.

Referenced by CastorShowerLibraryMaker::FillShowerEvent().

Member Data Documentation

◆ detID

std::vector<unsigned int> CastorShowerEvent::detID

Definition at line 28 of file CastorShowerEvent.h.

Referenced by Clear(), getDetID(), and setDetID().

◆ hitPosition

std::vector<Point> CastorShowerEvent::hitPosition

Definition at line 29 of file CastorShowerEvent.h.

Referenced by Clear(), getHitPosition(), and setHitPosition().

◆ nhit

unsigned int CastorShowerEvent::nhit

Definition at line 27 of file CastorShowerEvent.h.

Referenced by Clear(), getNhit(), and setNhit().

◆ nphotons

std::vector<float> CastorShowerEvent::nphotons

Definition at line 30 of file CastorShowerEvent.h.

Referenced by Clear(), getNphotons(), and setNphotons().

◆ primaryEnergy

float CastorShowerEvent::primaryEnergy

Definition at line 32 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimE(), and setPrimE().

◆ primEta

float CastorShowerEvent::primEta

Definition at line 33 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimEta(), and setPrimEta().

◆ primPhi

float CastorShowerEvent::primPhi

Definition at line 33 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimPhi(), and setPrimPhi().

◆ primX

float CastorShowerEvent::primX

Definition at line 34 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimX(), and setPrimX().

◆ primY

float CastorShowerEvent::primY

Definition at line 34 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimY(), and setPrimY().

◆ primZ

float CastorShowerEvent::primZ

Definition at line 34 of file CastorShowerEvent.h.

Referenced by Clear(), getPrimZ(), and setPrimZ().

◆ time

std::vector<float> CastorShowerEvent::time

Definition at line 31 of file CastorShowerEvent.h.

Referenced by Clear(), getTime(), and setTime().

DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
CastorShowerEvent::primY
float primY
Definition: CastorShowerEvent.h:34
CastorShowerEvent::primPhi
float primPhi
Definition: CastorShowerEvent.h:33
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
np
int np
Definition: AMPTWrapper.h:43
DDAxes::x
CastorShowerEvent::primEta
float primEta
Definition: CastorShowerEvent.h:33
CastorShowerEvent::detID
std::vector< unsigned int > detID
Definition: CastorShowerEvent.h:28
CastorShowerEvent::primaryEnergy
float primaryEnergy
Definition: CastorShowerEvent.h:32
CastorShowerEvent::hitPosition
std::vector< Point > hitPosition
Definition: CastorShowerEvent.h:29
PVValHelper::eta
Definition: PVValidationHelpers.h:70
DDAxes::z
CastorShowerEvent::primZ
float primZ
Definition: CastorShowerEvent.h:34
CastorShowerEvent::nphotons
std::vector< float > nphotons
Definition: CastorShowerEvent.h:30
CastorShowerEvent::primX
float primX
Definition: CastorShowerEvent.h:34
CastorShowerEvent::time
std::vector< float > time
Definition: CastorShowerEvent.h:31
DDAxes::phi
CastorShowerEvent::nhit
unsigned int nhit
Definition: CastorShowerEvent.h:27
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37