CMS 3D CMS Logo

Public Member Functions | Private Types | Private Attributes

PEcalTBInfo Class Reference

#include <PEcalTBInfo.h>

List of all members.

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 19 of file PEcalTBInfo.h.


Member Typedef Documentation

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

Definition at line 21 of file PEcalTBInfo.h.

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

Definition at line 22 of file PEcalTBInfo.h.


Constructor & Destructor Documentation

PEcalTBInfo::PEcalTBInfo ( )

Definition at line 21 of file PEcalTBInfo.cc.

References clear().

                         {
  clear();
}
PEcalTBInfo::~PEcalTBInfo ( ) [virtual]

Definition at line 29 of file PEcalTBInfo.cc.

                          {
}

Member Function Documentation

void PEcalTBInfo::clear ( void  )

Definition at line 47 of file PEcalTBInfo.cc.

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

Referenced by PEcalTBInfo().

                        {
  nCrystal_ = 0;

  etaBeam_ = phiBeam_ = 0.;
  dXbeam_ = dYbeam_ = 0.;

  evXbeam_ = evYbeam_ = 0.;
  phaseShift_ = 1.;
}
double PEcalTBInfo::dXbeam ( ) const [inline]

Definition at line 33 of file PEcalTBInfo.h.

References dXbeam_.

Referenced by setBeamOffset().

{return dXbeam_; }
double PEcalTBInfo::dYbeam ( ) const [inline]

Definition at line 34 of file PEcalTBInfo.h.

References dYbeam_.

Referenced by setBeamOffset().

{return dYbeam_; }
double PEcalTBInfo::etaBeam ( ) const [inline]

Definition at line 31 of file PEcalTBInfo.h.

References etaBeam_.

Referenced by setBeamDirection().

{return etaBeam_; }
double PEcalTBInfo::evXbeam ( ) const [inline]

Definition at line 36 of file PEcalTBInfo.h.

References evXbeam_.

Referenced by setBeamPosition().

{return evXbeam_; }
double PEcalTBInfo::evYbeam ( ) const [inline]

Definition at line 37 of file PEcalTBInfo.h.

References evYbeam_.

Referenced by setBeamPosition().

{return evYbeam_; }
int PEcalTBInfo::nCrystal ( ) const [inline]

Definition at line 29 of file PEcalTBInfo.h.

References nCrystal_.

Referenced by FakeTBEventHeaderProducer::produce(), and setCrystal().

{return nCrystal_; }
double PEcalTBInfo::phaseShift ( ) const [inline]

Definition at line 39 of file PEcalTBInfo.h.

References phaseShift_.

Referenced by setPhaseShift().

{return phaseShift_;}
double PEcalTBInfo::phiBeam ( ) const [inline]

Definition at line 32 of file PEcalTBInfo.h.

References phiBeam_.

Referenced by setBeamDirection().

{return phiBeam_; }
void PEcalTBInfo::setBeamDirection ( double  etaBeam,
double  phiBeam 
)

Definition at line 61 of file PEcalTBInfo.cc.

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

void PEcalTBInfo::setBeamOffset ( double  dXbeam,
double  dYbeam 
)

Definition at line 66 of file PEcalTBInfo.cc.

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

void PEcalTBInfo::setBeamPosition ( double  evXbeam,
double  evYbeam 
)

Definition at line 71 of file PEcalTBInfo.cc.

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

void PEcalTBInfo::setCrystal ( int  nCrystal)

Definition at line 57 of file PEcalTBInfo.cc.

References nCrystal(), and nCrystal_.

void PEcalTBInfo::setPhaseShift ( double  phaseShift)

Definition at line 76 of file PEcalTBInfo.cc.

References phaseShift(), and phaseShift_.


Member Data Documentation

double PEcalTBInfo::dXbeam_ [private]

Definition at line 64 of file PEcalTBInfo.h.

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

double PEcalTBInfo::dYbeam_ [private]

Definition at line 64 of file PEcalTBInfo.h.

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

double PEcalTBInfo::etaBeam_ [private]

Definition at line 63 of file PEcalTBInfo.h.

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

double PEcalTBInfo::evXbeam_ [private]

Definition at line 68 of file PEcalTBInfo.h.

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

double PEcalTBInfo::evYbeam_ [private]

Definition at line 68 of file PEcalTBInfo.h.

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

int PEcalTBInfo::nCrystal_ [private]

Definition at line 61 of file PEcalTBInfo.h.

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

double PEcalTBInfo::phaseShift_ [private]

Definition at line 71 of file PEcalTBInfo.h.

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

double PEcalTBInfo::phiBeam_ [private]

Definition at line 63 of file PEcalTBInfo.h.

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