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