CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PEcalTBInfo.cc
Go to the documentation of this file.
1 //
2 //
3 
4 // system include files
5 
6 // user include files
8 
9 //
10 // constants, enums and typedefs
11 //
12 
13 //
14 // static data member definitions
15 //
16 
17 //
18 // constructors and destructor
19 //
21  clear();
22 }
23 
24 // PEcalTBInfo::PEcalTBInfo(const PEcalTBInfo& rhs) {
25 // // do actual copying here;
26 // }
27 
29 }
30 
31 //
32 // assignment operators
33 //
34 // const PEcalTBInfo& PEcalTBInfo::operator=(const PEcalTBInfo& rhs) {
35 // //An exception safe implementation is
36 // PEcalTBInfo temp(rhs);
37 // swap(rhs);
38 //
39 // return *this;
40 // }
41 
42 //
43 // member functions
44 //
45 
47  nCrystal_ = 0;
48 
49  etaBeam_ = phiBeam_ = 0.;
50  dXbeam_ = dYbeam_ = 0.;
51 
52  evXbeam_ = evYbeam_ = 0.;
53  phaseShift_ = 1.;
54 }
55 
56 void PEcalTBInfo::setCrystal(int nCrystal) {
58 }
59 
60 void PEcalTBInfo::setBeamDirection(double etaBeam, double phiBeam) {
61  etaBeam_ = etaBeam;
62  phiBeam_ = phiBeam;
63 }
64 
65 void PEcalTBInfo::setBeamOffset(double dXbeam, double dYbeam) {
66  dXbeam_ = dXbeam;
67  dYbeam_ = dYbeam;
68 }
69 
70 void PEcalTBInfo::setBeamPosition(double evXbeam, double evYbeam) {
71  evXbeam_ = evXbeam;
72  evYbeam_ = evYbeam;
73 }
74 
75 void PEcalTBInfo::setPhaseShift(double phaseShift) {
77 }
void setCrystal(int nCrystal)
Definition: PEcalTBInfo.cc:56
double evYbeam_
Definition: PEcalTBInfo.h:67
void setBeamPosition(double evXbeam, double evYbeam)
Definition: PEcalTBInfo.cc:70
void setPhaseShift(double phaseShift)
Definition: PEcalTBInfo.cc:75
double phiBeam_
Definition: PEcalTBInfo.h:62
double etaBeam() const
Definition: PEcalTBInfo.h:30
void clear()
Definition: PEcalTBInfo.cc:46
void setBeamDirection(double etaBeam, double phiBeam)
Definition: PEcalTBInfo.cc:60
void setBeamOffset(double dXbeam, double dYbeam)
Definition: PEcalTBInfo.cc:65
virtual ~PEcalTBInfo()
Definition: PEcalTBInfo.cc:28
int nCrystal() const
Definition: PEcalTBInfo.h:28
double dXbeam() const
Definition: PEcalTBInfo.h:32
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 evXbeam() const
Definition: PEcalTBInfo.h:35
double evYbeam() const
Definition: PEcalTBInfo.h:36
double phaseShift() const
Definition: PEcalTBInfo.h:38
double phiBeam() const
Definition: PEcalTBInfo.h:31
double dYbeam() const
Definition: PEcalTBInfo.h:33
double phaseShift_
Definition: PEcalTBInfo.h:70