BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecCrystal Class Reference

#include <EmcRecCrystal.h>

Public Member Functions

 EmcRecCrystal ()
 ~EmcRecCrystal ()
 EmcRecCrystal (const EmcRecCrystal &aCry)
EmcRecCrystaloperator= (const EmcRecCrystal &aCry)
int Type () const
int Type (int typ)
HepPoint3D Get (int index) const
HepPoint3D Center () const
HepPoint3D FrontCenter () const
void Set (int index, const HepPoint3D &aPoint)
void SetX (int index, double value)
void SetY (int index, double value)
void SetZ (int index, double value)
void BarrelCheckout () const
void EndCapCheckout () const
 EmcRecCrystal ()
 ~EmcRecCrystal ()
 EmcRecCrystal (const EmcRecCrystal &aCry)
EmcRecCrystaloperator= (const EmcRecCrystal &aCry)
int Type () const
int Type (int typ)
HepPoint3D Get (int index) const
HepPoint3D Center () const
HepPoint3D FrontCenter () const
void Set (int index, const HepPoint3D &aPoint)
void SetX (int index, double value)
void SetY (int index, double value)
void SetZ (int index, double value)
void BarrelCheckout () const
void EndCapCheckout () const
 EmcRecCrystal ()
 ~EmcRecCrystal ()
 EmcRecCrystal (const EmcRecCrystal &aCry)
EmcRecCrystaloperator= (const EmcRecCrystal &aCry)
int Type () const
int Type (int typ)
HepPoint3D Get (int index) const
HepPoint3D Center () const
HepPoint3D FrontCenter () const
void Set (int index, const HepPoint3D &aPoint)
void SetX (int index, double value)
void SetY (int index, double value)
void SetZ (int index, double value)
void BarrelCheckout () const
void EndCapCheckout () const

Static Public Member Functions

static int InvalidCrystal ()
static int SixPlane ()
static int SevenPlane ()
static int InvalidCrystal ()
static int SixPlane ()
static int SevenPlane ()
static int InvalidCrystal ()
static int SixPlane ()
static int SevenPlane ()

Detailed Description

Constructor & Destructor Documentation

◆ EmcRecCrystal() [1/6]

EmcRecCrystal::EmcRecCrystal ( )
inline

Definition at line 30 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

30 {
31 fType = INVALID_CRYSTAL;
32 HepPoint3D O( 0, 0, 0 );
33 for ( int i = 0; i < 10; i++ ) { fV[i] = O; }
34 }

Referenced by EmcRecCrystal(), and operator=().

◆ ~EmcRecCrystal() [1/3]

EmcRecCrystal::~EmcRecCrystal ( )
inline

◆ EmcRecCrystal() [2/6]

EmcRecCrystal::EmcRecCrystal ( const EmcRecCrystal & aCry)
inline

Definition at line 39 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

39 {
40 fType = aCry.Type();
41 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
42 }

◆ EmcRecCrystal() [3/6]

EmcRecCrystal::EmcRecCrystal ( )
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

30 {
31 fType = INVALID_CRYSTAL;
32 HepPoint3D O( 0, 0, 0 );
33 for ( int i = 0; i < 10; i++ ) { fV[i] = O; }
34 }

◆ ~EmcRecCrystal() [2/3]

EmcRecCrystal::~EmcRecCrystal ( )
inline

◆ EmcRecCrystal() [4/6]

EmcRecCrystal::EmcRecCrystal ( const EmcRecCrystal & aCry)
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

39 {
40 fType = aCry.Type();
41 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
42 }

◆ EmcRecCrystal() [5/6]

EmcRecCrystal::EmcRecCrystal ( )
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

30 {
31 fType = INVALID_CRYSTAL;
32 HepPoint3D O( 0, 0, 0 );
33 for ( int i = 0; i < 10; i++ ) { fV[i] = O; }
34 }

◆ ~EmcRecCrystal() [3/3]

EmcRecCrystal::~EmcRecCrystal ( )
inline

◆ EmcRecCrystal() [6/6]

EmcRecCrystal::EmcRecCrystal ( const EmcRecCrystal & aCry)
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

39 {
40 fType = aCry.Type();
41 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
42 }

Member Function Documentation

◆ BarrelCheckout() [1/3]

void EmcRecCrystal::BarrelCheckout ( ) const
inline

Definition at line 104 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

104 {
105 HepPoint3D t1, t2;
106 cout << "H=" << fV[4].distance( fV[7] ) << endl;
107 cout << "h=" << fV[0].distance( fV[3] ) << endl;
108 t1 = fV[3] - fV[7];
109 t2 = fV[4] - fV[7];
110 cout << "t=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
111 cout << "B=" << fV[4].distance( fV[5] ) << endl;
112 cout << "b=" << fV[0].distance( fV[1] ) << endl;
113 cout << "A=" << fV[7].distance( fV[6] ) << endl;
114 cout << "a=" << fV[3].distance( fV[2] ) << endl;
115 cout << "L=" << fV[4].distance( fV[0] ) << endl;
116 }
double pi

◆ BarrelCheckout() [2/3]

void EmcRecCrystal::BarrelCheckout ( ) const
inline

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

104 {
105 HepPoint3D t1, t2;
106 cout << "H=" << fV[4].distance( fV[7] ) << endl;
107 cout << "h=" << fV[0].distance( fV[3] ) << endl;
108 t1 = fV[3] - fV[7];
109 t2 = fV[4] - fV[7];
110 cout << "t=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
111 cout << "B=" << fV[4].distance( fV[5] ) << endl;
112 cout << "b=" << fV[0].distance( fV[1] ) << endl;
113 cout << "A=" << fV[7].distance( fV[6] ) << endl;
114 cout << "a=" << fV[3].distance( fV[2] ) << endl;
115 cout << "L=" << fV[4].distance( fV[0] ) << endl;
116 }

◆ BarrelCheckout() [3/3]

void EmcRecCrystal::BarrelCheckout ( ) const
inline

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

104 {
105 HepPoint3D t1, t2;
106 cout << "H=" << fV[4].distance( fV[7] ) << endl;
107 cout << "h=" << fV[0].distance( fV[3] ) << endl;
108 t1 = fV[3] - fV[7];
109 t2 = fV[4] - fV[7];
110 cout << "t=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
111 cout << "B=" << fV[4].distance( fV[5] ) << endl;
112 cout << "b=" << fV[0].distance( fV[1] ) << endl;
113 cout << "A=" << fV[7].distance( fV[6] ) << endl;
114 cout << "a=" << fV[3].distance( fV[2] ) << endl;
115 cout << "L=" << fV[4].distance( fV[0] ) << endl;
116 }

◆ Center() [1/3]

HepPoint3D EmcRecCrystal::Center ( ) const
inline

Definition at line 74 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

74 {
75 if ( fType == SIX_PLANE )
76 { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] ) / 8; }
77 if ( fType == SEVEN_PLANE )
78 {
79 return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] + fV[8] +
80 fV[9] ) /
81 10;
82 }
83 HepPoint3D O( 0, 0, 0 );
84 return O;
85 }

Referenced by EmcRecROOTGeo::GetCCenter().

◆ Center() [2/3]

HepPoint3D EmcRecCrystal::Center ( ) const
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

74 {
75 if ( fType == SIX_PLANE )
76 { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] ) / 8; }
77 if ( fType == SEVEN_PLANE )
78 {
79 return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] + fV[8] +
80 fV[9] ) /
81 10;
82 }
83 HepPoint3D O( 0, 0, 0 );
84 return O;
85 }

◆ Center() [3/3]

HepPoint3D EmcRecCrystal::Center ( ) const
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

74 {
75 if ( fType == SIX_PLANE )
76 { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] ) / 8; }
77 if ( fType == SEVEN_PLANE )
78 {
79 return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] + fV[5] + fV[6] + fV[7] + fV[8] +
80 fV[9] ) /
81 10;
82 }
83 HepPoint3D O( 0, 0, 0 );
84 return O;
85 }

◆ EndCapCheckout() [1/3]

void EmcRecCrystal::EndCapCheckout ( ) const
inline

Definition at line 118 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

118 {
119 if ( fType == SIX_PLANE )
120 {
121 cout << "A=" << fV[5].distance( fV[6] ) << endl;
122 cout << "a=" << fV[1].distance( fV[2] ) << endl;
123 cout << "B=" << fV[7].distance( fV[4] ) << endl;
124 cout << "b=" << fV[0].distance( fV[3] ) << endl;
125 cout << "C=" << fV[7].distance( fV[6] ) << endl;
126 cout << "c=" << fV[3].distance( fV[2] ) << endl;
127 cout << "D=" << fV[4].distance( fV[5] ) << endl;
128 cout << "d=" << fV[1].distance( fV[0] ) << endl;
129 HepPoint3D t1, t2;
130 double t;
131 t1 = fV[0] - fV[3];
132 t2 = fV[2] - fV[3];
133 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
134 t1 = fV[3] - fV[2];
135 t2 = fV[1] - fV[2];
136 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
137 t1 = fV[2] - fV[1];
138 t2 = fV[0] - fV[1];
139 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
140 t1 = fV[3] - fV[0];
141 t2 = fV[1] - fV[0];
142 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
143 t1 = fV[3] - fV[7];
144 t2 = fV[4] - fV[7];
145 t = t1 * t2 / ( t1.mag() * t2.mag() );
146 t = sqrt( 1 - t * t );
147 cout << "L=" << t1.mag() * t << endl;
148 }
149 else
150 {
151 cout << "A=" << fV[5].distance( fV[9] ) << endl;
152 cout << "a=" << fV[0].distance( fV[4] ) << endl;
153 cout << "B=" << fV[9].distance( fV[8] ) << endl;
154 cout << "b=" << fV[4].distance( fV[3] ) << endl;
155 cout << "C=" << fV[8].distance( fV[7] ) << endl;
156 cout << "c=" << fV[3].distance( fV[2] ) << endl;
157 cout << "D=" << fV[7].distance( fV[6] ) << endl;
158 cout << "d=" << fV[2].distance( fV[1] ) << endl;
159 cout << "E=" << fV[6].distance( fV[5] ) << endl;
160 cout << "e=" << fV[1].distance( fV[0] ) << endl;
161 HepPoint3D t1, t2;
162 double t;
163 t1 = fV[1] - fV[0];
164 t2 = fV[4] - fV[0];
165 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
166 t1 = fV[3] - fV[4];
167 t2 = fV[0] - fV[4];
168 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
169 t1 = fV[2] - fV[3];
170 t2 = fV[4] - fV[3];
171 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
172 t1 = fV[3] - fV[2];
173 t2 = fV[1] - fV[2];
174 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
175 t1 = fV[0] - fV[1];
176 t2 = fV[2] - fV[1];
177 cout << "alpha5=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
178 t1 = fV[0] - fV[6];
179 t2 = fV[5] - fV[6];
180 t = t1 * t2 / ( t1.mag() * t2.mag() );
181 t = sqrt( 1 - t * t );
182 cout << "L=" << t1.mag() * t << endl;
183 }
184 }
int t()
Definition t.c:1

◆ EndCapCheckout() [2/3]

void EmcRecCrystal::EndCapCheckout ( ) const
inline

Definition at line 118 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

118 {
119 if ( fType == SIX_PLANE )
120 {
121 cout << "A=" << fV[5].distance( fV[6] ) << endl;
122 cout << "a=" << fV[1].distance( fV[2] ) << endl;
123 cout << "B=" << fV[7].distance( fV[4] ) << endl;
124 cout << "b=" << fV[0].distance( fV[3] ) << endl;
125 cout << "C=" << fV[7].distance( fV[6] ) << endl;
126 cout << "c=" << fV[3].distance( fV[2] ) << endl;
127 cout << "D=" << fV[4].distance( fV[5] ) << endl;
128 cout << "d=" << fV[1].distance( fV[0] ) << endl;
129 HepPoint3D t1, t2;
130 double t;
131 t1 = fV[0] - fV[3];
132 t2 = fV[2] - fV[3];
133 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
134 t1 = fV[3] - fV[2];
135 t2 = fV[1] - fV[2];
136 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
137 t1 = fV[2] - fV[1];
138 t2 = fV[0] - fV[1];
139 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
140 t1 = fV[3] - fV[0];
141 t2 = fV[1] - fV[0];
142 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
143 t1 = fV[3] - fV[7];
144 t2 = fV[4] - fV[7];
145 t = t1 * t2 / ( t1.mag() * t2.mag() );
146 t = sqrt( 1 - t * t );
147 cout << "L=" << t1.mag() * t << endl;
148 }
149 else
150 {
151 cout << "A=" << fV[5].distance( fV[9] ) << endl;
152 cout << "a=" << fV[0].distance( fV[4] ) << endl;
153 cout << "B=" << fV[9].distance( fV[8] ) << endl;
154 cout << "b=" << fV[4].distance( fV[3] ) << endl;
155 cout << "C=" << fV[8].distance( fV[7] ) << endl;
156 cout << "c=" << fV[3].distance( fV[2] ) << endl;
157 cout << "D=" << fV[7].distance( fV[6] ) << endl;
158 cout << "d=" << fV[2].distance( fV[1] ) << endl;
159 cout << "E=" << fV[6].distance( fV[5] ) << endl;
160 cout << "e=" << fV[1].distance( fV[0] ) << endl;
161 HepPoint3D t1, t2;
162 double t;
163 t1 = fV[1] - fV[0];
164 t2 = fV[4] - fV[0];
165 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
166 t1 = fV[3] - fV[4];
167 t2 = fV[0] - fV[4];
168 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
169 t1 = fV[2] - fV[3];
170 t2 = fV[4] - fV[3];
171 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
172 t1 = fV[3] - fV[2];
173 t2 = fV[1] - fV[2];
174 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
175 t1 = fV[0] - fV[1];
176 t2 = fV[2] - fV[1];
177 cout << "alpha5=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
178 t1 = fV[0] - fV[6];
179 t2 = fV[5] - fV[6];
180 t = t1 * t2 / ( t1.mag() * t2.mag() );
181 t = sqrt( 1 - t * t );
182 cout << "L=" << t1.mag() * t << endl;
183 }
184 }

◆ EndCapCheckout() [3/3]

void EmcRecCrystal::EndCapCheckout ( ) const
inline

Definition at line 118 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

118 {
119 if ( fType == SIX_PLANE )
120 {
121 cout << "A=" << fV[5].distance( fV[6] ) << endl;
122 cout << "a=" << fV[1].distance( fV[2] ) << endl;
123 cout << "B=" << fV[7].distance( fV[4] ) << endl;
124 cout << "b=" << fV[0].distance( fV[3] ) << endl;
125 cout << "C=" << fV[7].distance( fV[6] ) << endl;
126 cout << "c=" << fV[3].distance( fV[2] ) << endl;
127 cout << "D=" << fV[4].distance( fV[5] ) << endl;
128 cout << "d=" << fV[1].distance( fV[0] ) << endl;
129 HepPoint3D t1, t2;
130 double t;
131 t1 = fV[0] - fV[3];
132 t2 = fV[2] - fV[3];
133 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
134 t1 = fV[3] - fV[2];
135 t2 = fV[1] - fV[2];
136 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
137 t1 = fV[2] - fV[1];
138 t2 = fV[0] - fV[1];
139 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
140 t1 = fV[3] - fV[0];
141 t2 = fV[1] - fV[0];
142 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
143 t1 = fV[3] - fV[7];
144 t2 = fV[4] - fV[7];
145 t = t1 * t2 / ( t1.mag() * t2.mag() );
146 t = sqrt( 1 - t * t );
147 cout << "L=" << t1.mag() * t << endl;
148 }
149 else
150 {
151 cout << "A=" << fV[5].distance( fV[9] ) << endl;
152 cout << "a=" << fV[0].distance( fV[4] ) << endl;
153 cout << "B=" << fV[9].distance( fV[8] ) << endl;
154 cout << "b=" << fV[4].distance( fV[3] ) << endl;
155 cout << "C=" << fV[8].distance( fV[7] ) << endl;
156 cout << "c=" << fV[3].distance( fV[2] ) << endl;
157 cout << "D=" << fV[7].distance( fV[6] ) << endl;
158 cout << "d=" << fV[2].distance( fV[1] ) << endl;
159 cout << "E=" << fV[6].distance( fV[5] ) << endl;
160 cout << "e=" << fV[1].distance( fV[0] ) << endl;
161 HepPoint3D t1, t2;
162 double t;
163 t1 = fV[1] - fV[0];
164 t2 = fV[4] - fV[0];
165 cout << "alpha1=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
166 t1 = fV[3] - fV[4];
167 t2 = fV[0] - fV[4];
168 cout << "alpha2=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
169 t1 = fV[2] - fV[3];
170 t2 = fV[4] - fV[3];
171 cout << "alpha3=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
172 t1 = fV[3] - fV[2];
173 t2 = fV[1] - fV[2];
174 cout << "alpha4=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
175 t1 = fV[0] - fV[1];
176 t2 = fV[2] - fV[1];
177 cout << "alpha5=" << acos( t1 * t2 / ( t1.mag() * t2.mag() ) ) * 180 / pi << endl;
178 t1 = fV[0] - fV[6];
179 t2 = fV[5] - fV[6];
180 t = t1 * t2 / ( t1.mag() * t2.mag() );
181 t = sqrt( 1 - t * t );
182 cout << "L=" << t1.mag() * t << endl;
183 }
184 }

◆ FrontCenter() [1/3]

HepPoint3D EmcRecCrystal::FrontCenter ( ) const
inline

Definition at line 88 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

88 {
89 if ( fType == SIX_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] ) / 4; }
90 if ( fType == SEVEN_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] ) / 5; }
91 HepPoint3D O( 0, 0, 0 );
92 return O;
93 }

Referenced by EmcRecROOTGeo::GetCFrontCenter().

◆ FrontCenter() [2/3]

HepPoint3D EmcRecCrystal::FrontCenter ( ) const
inline

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

88 {
89 if ( fType == SIX_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] ) / 4; }
90 if ( fType == SEVEN_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] ) / 5; }
91 HepPoint3D O( 0, 0, 0 );
92 return O;
93 }

◆ FrontCenter() [3/3]

HepPoint3D EmcRecCrystal::FrontCenter ( ) const
inline

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

88 {
89 if ( fType == SIX_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] ) / 4; }
90 if ( fType == SEVEN_PLANE ) { return ( fV[0] + fV[1] + fV[2] + fV[3] + fV[4] ) / 5; }
91 HepPoint3D O( 0, 0, 0 );
92 return O;
93 }

◆ Get() [1/3]

◆ Get() [2/3]

HepPoint3D EmcRecCrystal::Get ( int index) const
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

71{ return fV[index]; }

◆ Get() [3/3]

HepPoint3D EmcRecCrystal::Get ( int index) const
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

71{ return fV[index]; }

◆ InvalidCrystal() [1/3]

int EmcRecCrystal::InvalidCrystal ( )
inlinestatic

Definition at line 55 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

55{ return INVALID_CRYSTAL; }

◆ InvalidCrystal() [2/3]

int EmcRecCrystal::InvalidCrystal ( )
inlinestatic

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

55{ return INVALID_CRYSTAL; }

◆ InvalidCrystal() [3/3]

int EmcRecCrystal::InvalidCrystal ( )
inlinestatic

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

55{ return INVALID_CRYSTAL; }

◆ operator=() [1/3]

EmcRecCrystal & EmcRecCrystal::operator= ( const EmcRecCrystal & aCry)
inline

Definition at line 44 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

44 {
45 if ( this != &aCry )
46 {
47 fType = aCry.Type();
48 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
49 }
50 return *this;
51 }

◆ operator=() [2/3]

EmcRecCrystal & EmcRecCrystal::operator= ( const EmcRecCrystal & aCry)
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

44 {
45 if ( this != &aCry )
46 {
47 fType = aCry.Type();
48 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
49 }
50 return *this;
51 }

◆ operator=() [3/3]

EmcRecCrystal & EmcRecCrystal::operator= ( const EmcRecCrystal & aCry)
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

44 {
45 if ( this != &aCry )
46 {
47 fType = aCry.Type();
48 for ( int i = 0; i < 10; i++ ) { fV[i] = aCry.Get( i ); }
49 }
50 return *this;
51 }

◆ Set() [1/3]

void EmcRecCrystal::Set ( int index,
const HepPoint3D & aPoint )
inline

◆ Set() [2/3]

void EmcRecCrystal::Set ( int index,
const HepPoint3D & aPoint )
inline

Definition at line 96 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

96{ fV[index] = aPoint; }

◆ Set() [3/3]

void EmcRecCrystal::Set ( int index,
const HepPoint3D & aPoint )
inline

Definition at line 96 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

96{ fV[index] = aPoint; }

◆ SetX() [1/3]

void EmcRecCrystal::SetX ( int index,
double value )
inline

Definition at line 98 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

98{ fV[index].setX( value ); }

Referenced by EmcRecEndCapGeo::GetCrystal().

◆ SetX() [2/3]

void EmcRecCrystal::SetX ( int index,
double value )
inline

Definition at line 98 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

98{ fV[index].setX( value ); }

◆ SetX() [3/3]

void EmcRecCrystal::SetX ( int index,
double value )
inline

Definition at line 98 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

98{ fV[index].setX( value ); }

◆ SetY() [1/3]

void EmcRecCrystal::SetY ( int index,
double value )
inline

Definition at line 100 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

100{ fV[index].setY( value ); }

Referenced by EmcRecEndCapGeo::GetCrystal().

◆ SetY() [2/3]

void EmcRecCrystal::SetY ( int index,
double value )
inline

Definition at line 100 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

100{ fV[index].setY( value ); }

◆ SetY() [3/3]

void EmcRecCrystal::SetY ( int index,
double value )
inline

Definition at line 100 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

100{ fV[index].setY( value ); }

◆ SetZ() [1/3]

void EmcRecCrystal::SetZ ( int index,
double value )
inline

Definition at line 102 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

102{ fV[index].setZ( value ); }

Referenced by EmcRecBarrelGeo::GetCrystal(), and EmcRecEndCapGeo::GetCrystal().

◆ SetZ() [2/3]

void EmcRecCrystal::SetZ ( int index,
double value )
inline

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

102{ fV[index].setZ( value ); }

◆ SetZ() [3/3]

void EmcRecCrystal::SetZ ( int index,
double value )
inline

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

102{ fV[index].setZ( value ); }

◆ SevenPlane() [1/3]

int EmcRecCrystal::SevenPlane ( )
inlinestatic

Definition at line 59 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

59{ return SEVEN_PLANE; }

Referenced by EmcRecROOTGeo::InitFromXML(), and operator<<().

◆ SevenPlane() [2/3]

int EmcRecCrystal::SevenPlane ( )
inlinestatic

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

59{ return SEVEN_PLANE; }

◆ SevenPlane() [3/3]

int EmcRecCrystal::SevenPlane ( )
inlinestatic

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

59{ return SEVEN_PLANE; }

◆ SixPlane() [1/3]

int EmcRecCrystal::SixPlane ( )
inlinestatic

Definition at line 57 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

57{ return SIX_PLANE; }

Referenced by EmcRecROOTGeo::InitFromXML(), and operator<<().

◆ SixPlane() [2/3]

int EmcRecCrystal::SixPlane ( )
inlinestatic

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

57{ return SIX_PLANE; }

◆ SixPlane() [3/3]

int EmcRecCrystal::SixPlane ( )
inlinestatic

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

57{ return SIX_PLANE; }

◆ Type() [1/6]

int EmcRecCrystal::Type ( ) const
inline

◆ Type() [2/6]

int EmcRecCrystal::Type ( ) const
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

62{ return fType; }

◆ Type() [3/6]

int EmcRecCrystal::Type ( ) const
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

62{ return fType; }

◆ Type() [4/6]

int EmcRecCrystal::Type ( int typ)
inline

Definition at line 64 of file Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/EmcRecCrystal.h.

64 {
65 fType = typ;
66 if ( ( fType != SIX_PLANE ) && ( fType != SEVEN_PLANE ) ) { fType = INVALID_CRYSTAL; }
67 return fType;
68 }

◆ Type() [5/6]

int EmcRecCrystal::Type ( int typ)
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecGeoSvc/EmcRecCrystal.h.

64 {
65 fType = typ;
66 if ( ( fType != SIX_PLANE ) && ( fType != SEVEN_PLANE ) ) { fType = INVALID_CRYSTAL; }
67 return fType;
68 }

◆ Type() [6/6]

int EmcRecCrystal::Type ( int typ)
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecGeoSvc/EmcRecCrystal.h.

64 {
65 fType = typ;
66 if ( ( fType != SIX_PLANE ) && ( fType != SEVEN_PLANE ) ) { fType = INVALID_CRYSTAL; }
67 return fType;
68 }

The documentation for this class was generated from the following files: