CMS 3D CMS Logo

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

#include <PEcalTBInfo.h>

Public Member Functions

void clear ()
 
double dXbeam () const
 
double dYbeam () const
 
double etaBeam () const
 
double evXbeam () const
 
double evYbeam () const
 
int nCrystal () const
 
 PEcalTBInfo ()
 
double phaseShift () const
 
double phiBeam () const
 
void setBeamDirection (double etaBeam, double phiBeam)
 
void setBeamOffset (double dXbeam, double dYbeam)
 
void setBeamPosition (double evXbeam, double evYbeam)
 
void setCrystal (int nCrystal)
 
void setPhaseShift (double phaseShift)
 
virtual ~PEcalTBInfo ()
 

Private Types

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

Private Attributes

double dXbeam_
 
double dYbeam_
 
double etaBeam_
 
double evXbeam_
 
double evYbeam_
 
int nCrystal_
 
double phaseShift_
 
double phiBeam_
 

Detailed Description

Definition at line 18 of file PEcalTBInfo.h.

Member Typedef Documentation

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

Definition at line 20 of file PEcalTBInfo.h.

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

Definition at line 21 of file PEcalTBInfo.h.

Constructor & Destructor Documentation

PEcalTBInfo::PEcalTBInfo ( )

Definition at line 20 of file PEcalTBInfo.cc.

References clear().

20  {
21  clear();
22 }
void clear()
Definition: PEcalTBInfo.cc:46
PEcalTBInfo::~PEcalTBInfo ( )
virtual

Definition at line 28 of file PEcalTBInfo.cc.

28  {
29 }

Member Function Documentation

void PEcalTBInfo::clear ( void  )

Definition at line 46 of file PEcalTBInfo.cc.

References dXbeam_, dYbeam_, etaBeam_, evXbeam_, evYbeam_, nCrystal_, phaseShift_, and phiBeam_.

Referenced by PEcalTBInfo(), and phaseShift().

46  {
47  nCrystal_ = 0;
48 
49  etaBeam_ = phiBeam_ = 0.;
50  dXbeam_ = dYbeam_ = 0.;
51 
52  evXbeam_ = evYbeam_ = 0.;
53  phaseShift_ = 1.;
54 }
double evYbeam_
Definition: PEcalTBInfo.h:67
double phiBeam_
Definition: PEcalTBInfo.h:62
double dYbeam_
Definition: PEcalTBInfo.h:63
double etaBeam_
Definition: PEcalTBInfo.h:62
double evXbeam_
Definition: PEcalTBInfo.h:67
double dXbeam_
Definition: PEcalTBInfo.h:63
double phaseShift_
Definition: PEcalTBInfo.h:70
double PEcalTBInfo::dXbeam ( ) const
inline

Definition at line 32 of file PEcalTBInfo.h.

References dXbeam_.

Referenced by phaseShift(), and setBeamOffset().

32 {return dXbeam_; }
double dXbeam_
Definition: PEcalTBInfo.h:63
double PEcalTBInfo::dYbeam ( ) const
inline

Definition at line 33 of file PEcalTBInfo.h.

References dYbeam_.

Referenced by phaseShift(), and setBeamOffset().

33 {return dYbeam_; }
double dYbeam_
Definition: PEcalTBInfo.h:63
double PEcalTBInfo::etaBeam ( ) const
inline

Definition at line 30 of file PEcalTBInfo.h.

References etaBeam_.

Referenced by phaseShift(), and setBeamDirection().

30 {return etaBeam_; }
double etaBeam_
Definition: PEcalTBInfo.h:62
double PEcalTBInfo::evXbeam ( ) const
inline

Definition at line 35 of file PEcalTBInfo.h.

References evXbeam_.

Referenced by phaseShift(), FakeTBHodoscopeRawInfoProducer::produce(), and setBeamPosition().

35 {return evXbeam_; }
double evXbeam_
Definition: PEcalTBInfo.h:67
double PEcalTBInfo::evYbeam ( ) const
inline

Definition at line 36 of file PEcalTBInfo.h.

References evYbeam_.

Referenced by phaseShift(), FakeTBHodoscopeRawInfoProducer::produce(), and setBeamPosition().

36 {return evYbeam_; }
double evYbeam_
Definition: PEcalTBInfo.h:67
int PEcalTBInfo::nCrystal ( ) const
inline

Definition at line 28 of file PEcalTBInfo.h.

References nCrystal_.

Referenced by EcalTBReadout::performReadout(), phaseShift(), FakeTBEventHeaderProducer::produce(), and setCrystal().

28 {return nCrystal_; }
double PEcalTBInfo::phaseShift ( ) const
inline
double PEcalTBInfo::phiBeam ( ) const
inline

Definition at line 31 of file PEcalTBInfo.h.

References phiBeam_.

Referenced by phaseShift(), and setBeamDirection().

31 {return phiBeam_; }
double phiBeam_
Definition: PEcalTBInfo.h:62
void PEcalTBInfo::setBeamDirection ( double  etaBeam,
double  phiBeam 
)

Definition at line 60 of file PEcalTBInfo.cc.

References etaBeam(), etaBeam_, phiBeam(), and phiBeam_.

Referenced by phaseShift().

60  {
61  etaBeam_ = etaBeam;
62  phiBeam_ = phiBeam;
63 }
double phiBeam_
Definition: PEcalTBInfo.h:62
double etaBeam() const
Definition: PEcalTBInfo.h:30
double etaBeam_
Definition: PEcalTBInfo.h:62
double phiBeam() const
Definition: PEcalTBInfo.h:31
void PEcalTBInfo::setBeamOffset ( double  dXbeam,
double  dYbeam 
)

Definition at line 65 of file PEcalTBInfo.cc.

References dXbeam(), dXbeam_, dYbeam(), and dYbeam_.

Referenced by phaseShift().

65  {
66  dXbeam_ = dXbeam;
67  dYbeam_ = dYbeam;
68 }
double dXbeam() const
Definition: PEcalTBInfo.h:32
double dYbeam_
Definition: PEcalTBInfo.h:63
double dXbeam_
Definition: PEcalTBInfo.h:63
double dYbeam() const
Definition: PEcalTBInfo.h:33
void PEcalTBInfo::setBeamPosition ( double  evXbeam,
double  evYbeam 
)

Definition at line 70 of file PEcalTBInfo.cc.

References evXbeam(), evXbeam_, evYbeam(), and evYbeam_.

Referenced by phaseShift().

70  {
71  evXbeam_ = evXbeam;
72  evYbeam_ = evYbeam;
73 }
double evYbeam_
Definition: PEcalTBInfo.h:67
double evXbeam_
Definition: PEcalTBInfo.h:67
double evXbeam() const
Definition: PEcalTBInfo.h:35
double evYbeam() const
Definition: PEcalTBInfo.h:36
void PEcalTBInfo::setCrystal ( int  nCrystal)

Definition at line 56 of file PEcalTBInfo.cc.

References nCrystal(), and nCrystal_.

Referenced by phaseShift().

56  {
58 }
int nCrystal() const
Definition: PEcalTBInfo.h:28
void PEcalTBInfo::setPhaseShift ( double  phaseShift)

Definition at line 75 of file PEcalTBInfo.cc.

References phaseShift(), and phaseShift_.

Referenced by phaseShift().

75  {
77 }
double phaseShift() const
Definition: PEcalTBInfo.h:38
double phaseShift_
Definition: PEcalTBInfo.h:70

Member Data Documentation

double PEcalTBInfo::dXbeam_
private

Definition at line 63 of file PEcalTBInfo.h.

Referenced by clear(), dXbeam(), and setBeamOffset().

double PEcalTBInfo::dYbeam_
private

Definition at line 63 of file PEcalTBInfo.h.

Referenced by clear(), dYbeam(), and setBeamOffset().

double PEcalTBInfo::etaBeam_
private

Definition at line 62 of file PEcalTBInfo.h.

Referenced by clear(), etaBeam(), and setBeamDirection().

double PEcalTBInfo::evXbeam_
private

Definition at line 67 of file PEcalTBInfo.h.

Referenced by clear(), evXbeam(), and setBeamPosition().

double PEcalTBInfo::evYbeam_
private

Definition at line 67 of file PEcalTBInfo.h.

Referenced by clear(), evYbeam(), and setBeamPosition().

int PEcalTBInfo::nCrystal_
private

Definition at line 60 of file PEcalTBInfo.h.

Referenced by clear(), nCrystal(), and setCrystal().

double PEcalTBInfo::phaseShift_
private

Definition at line 70 of file PEcalTBInfo.h.

Referenced by clear(), phaseShift(), and setPhaseShift().

double PEcalTBInfo::phiBeam_
private

Definition at line 62 of file PEcalTBInfo.h.

Referenced by clear(), phiBeam(), and setBeamDirection().