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

#include <BesCrystalParameterisation.hh>

Inheritance diagram for BesCrystalParameterisation:

Public Member Functions

 BesCrystalParameterisation (const G4int, const G4int, const G4int, BesEmcGeometry *, const G4int)
virtual ~BesCrystalParameterisation ()
void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
G4Material * ComputeMaterial (const G4int, G4VPhysicalVolume *, const G4VTouchable *parentTouch=0)
G4VSolid * ComputeSolid (const G4int, G4VPhysicalVolume *)
void ComputeIDAndSide (const G4VPhysicalVolume *) const
void SetVerboseLevel (G4int val)
 BesCrystalParameterisation (const G4int, const G4int, const G4int, BesEmcGeometry *, const G4int)
virtual ~BesCrystalParameterisation ()
void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
G4Material * ComputeMaterial (const G4int, G4VPhysicalVolume *, const G4VTouchable *parentTouch=0)
G4VSolid * ComputeSolid (const G4int, G4VPhysicalVolume *)
void ComputeIDAndSide (const G4VPhysicalVolume *) const
void SetVerboseLevel (G4int val)
 BesCrystalParameterisation (const G4int, const G4int, const G4int, BesEmcGeometry *, const G4int)
virtual ~BesCrystalParameterisation ()
void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
G4Material * ComputeMaterial (const G4int, G4VPhysicalVolume *, const G4VTouchable *parentTouch=0)
G4VSolid * ComputeSolid (const G4int, G4VPhysicalVolume *)
void ComputeIDAndSide (const G4VPhysicalVolume *) const
void SetVerboseLevel (G4int val)

Detailed Description

Constructor & Destructor Documentation

◆ BesCrystalParameterisation() [1/3]

BesCrystalParameterisation::BesCrystalParameterisation ( const G4int startID,
const G4int endID,
const G4int thetaAllCrystals,
BesEmcGeometry * besEMCGeometry,
const G4int verboseLevel )

Definition at line 23 of file BesCrystalParameterisation.cc.

27 : fVerboseLevel( 0 ) {
28 // for debug
29 // G4Exception("BesCrystalParameterisation::BesCrystalParameterisation() starting........");
30 fBesEmcGeometry = besEMCGeometry;
31 fVerboseLevel = verboseLevel; // if need to debug this class,open it
32 fStartID = startID;
33 fAllCrystals = thetaAllCrystals;
34 fCrystalID = 0;
35 fFlagLeft = true;
36 if ( startID > endID || endID > thetaAllCrystals || startID < 1 )
37 {
38 G4cout << "BesCrystalParameterisation construction: ID of crystal>No avaible!" << G4endl;
39 exit( -1 );
40 }
41}

◆ ~BesCrystalParameterisation() [1/3]

BesCrystalParameterisation::~BesCrystalParameterisation ( )
virtual

Definition at line 45 of file BesCrystalParameterisation.cc.

45{}

◆ BesCrystalParameterisation() [2/3]

BesCrystalParameterisation::BesCrystalParameterisation ( const G4int ,
const G4int ,
const G4int ,
BesEmcGeometry * ,
const G4int  )

◆ ~BesCrystalParameterisation() [2/3]

virtual BesCrystalParameterisation::~BesCrystalParameterisation ( )
virtual

◆ BesCrystalParameterisation() [3/3]

BesCrystalParameterisation::BesCrystalParameterisation ( const G4int ,
const G4int ,
const G4int ,
BesEmcGeometry * ,
const G4int  )

◆ ~BesCrystalParameterisation() [3/3]

virtual BesCrystalParameterisation::~BesCrystalParameterisation ( )
virtual

Member Function Documentation

◆ ComputeDimensions() [1/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Box & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [2/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Box & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [3/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Box & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [4/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Cons & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [5/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Cons & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [6/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Cons & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [7/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Hype & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [8/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Hype & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [9/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Hype & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [10/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Orb & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [11/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Orb & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [12/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Orb & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [13/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Para & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [14/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Para & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [15/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Para & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [16/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polycone & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [17/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polycone & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [18/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polycone & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [19/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polyhedra & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [20/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polyhedra & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [21/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Polyhedra & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [22/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Sphere & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [23/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Sphere & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [24/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Sphere & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [25/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Torus & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [26/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Torus & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [27/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Torus & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [28/36]

void BesCrystalParameterisation::ComputeDimensions ( G4Trap & trackerChamber,
const G4int copyNo,
const G4VPhysicalVolume * physVol ) const
virtual

Definition at line 103 of file BesCrystalParameterisation.cc.

104 {
105 // for debug
106 // G4Exception("BesCrystalParameterisation::ComputeDimensions() starting........");
107 ComputeIDAndSide( physVol );
108
109 G4double zHalfLength = fBesEmcGeometry->GetZHalfLength( fCrystalID );
110 G4double thetaAxis = fBesEmcGeometry->GetThetaAxis( fCrystalID );
111 G4double phiAxis = fBesEmcGeometry->GetPhiAxis( fCrystalID );
112 G4double yHalfLength1 = fBesEmcGeometry->GetYHalfLength1( fCrystalID );
113 G4double xHalfLength1 = fBesEmcGeometry->GetXHalfLength1( fCrystalID );
114 G4double xHalfLength2 = fBesEmcGeometry->GetXHalfLength2( fCrystalID );
115 G4double tanAlpha1 = fBesEmcGeometry->GetTanAlpha1( fCrystalID );
116 G4double yHalfLength2 = fBesEmcGeometry->GetYHalfLength2( fCrystalID );
117 G4double xHalfLength3 = fBesEmcGeometry->GetXHalfLength3( fCrystalID );
118 G4double xHalfLength4 = fBesEmcGeometry->GetXHalfLength4( fCrystalID );
119 G4double tanAlpha2 = fBesEmcGeometry->GetTanAlpha2( fCrystalID );
120
121 if ( !fFlagLeft )
122 {
123 phiAxis = -phiAxis;
124 tanAlpha1 = -tanAlpha1;
125 tanAlpha2 = -tanAlpha2;
126 G4double tmp;
127 tmp = xHalfLength1;
128 xHalfLength1 = xHalfLength2;
129 xHalfLength2 = tmp;
130 tmp = xHalfLength3;
131 xHalfLength3 = xHalfLength4;
132 xHalfLength4 = tmp;
133 }
134 if ( fVerboseLevel > 5 )
135 G4cout << "The size of No." << copyNo << " crystal(placed) are:" << G4endl
136 << "zHalfLength =" << zHalfLength / cm << "(cm), " << G4endl
137 << "thetaAxis =" << thetaAxis / deg << "(degree), " << G4endl
138 << "phiAxis =" << phiAxis / deg << "(degree), " << G4endl
139 << "yHalfLength1=" << yHalfLength1 / cm << "(cm), " << G4endl
140 << "xHalfLength1=" << xHalfLength1 / cm << "(cm), " << G4endl
141 << "xHalfLength2=" << xHalfLength2 / cm << "(cm), " << G4endl
142 << "tanAlpha1 =" << tanAlpha1 << "(), " << G4endl
143 << "yHalfLength2=" << yHalfLength2 / cm << "(cm), " << G4endl
144 << "xHalfLength3=" << xHalfLength3 / cm << "(cm), " << G4endl
145 << "xHalfLength4=" << xHalfLength4 / cm << "(cm)." << G4endl
146 << "tanAlpha2 =" << tanAlpha2 << "(), " << G4endl << "(x4-x3)*y1/(x2-x1)/y2="
147 << ( xHalfLength4 - xHalfLength3 ) * yHalfLength1 /
148 ( xHalfLength2 - xHalfLength1 ) / yHalfLength2
149 << G4endl << "tanAlpha2/tanAlpha1=" << tanAlpha2 / tanAlpha1 << G4endl;
150 // G4cout << fStartID << "-->This is an output sentence for debug." << G4endl;
151
152 trackerChamber.SetAllParameters( zHalfLength, thetaAxis, phiAxis, yHalfLength1, xHalfLength1,
153 xHalfLength2, tanAlpha1, yHalfLength2, xHalfLength3,
154 xHalfLength4, tanAlpha2 );
155}
void ComputeIDAndSide(const G4VPhysicalVolume *) const

◆ ComputeDimensions() [29/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Trap & ,
const G4int ,
const G4VPhysicalVolume *  ) const
virtual

◆ ComputeDimensions() [30/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Trap & ,
const G4int ,
const G4VPhysicalVolume *  ) const
virtual

◆ ComputeDimensions() [31/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Trd & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [32/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Trd & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [33/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Trd & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [34/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Tubs & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [35/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Tubs & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeDimensions() [36/36]

virtual void BesCrystalParameterisation::ComputeDimensions ( G4Tubs & ,
const G4int ,
const G4VPhysicalVolume *  ) const
inlinevirtual

◆ ComputeIDAndSide() [1/3]

void BesCrystalParameterisation::ComputeIDAndSide ( const G4VPhysicalVolume * pPhyVol) const

Definition at line 181 of file BesCrystalParameterisation.cc.

181 {
182 // for debug
183 // G4Exception("BesCrystalParameterisation::ComputeIDAndSide() starting......");
184 G4int* pCrystalID = const_cast<G4int*>( &fCrystalID );
185 G4bool* pFlagLeft = const_cast<G4bool*>( &fFlagLeft );
186 G4int* pVerboseLevel = const_cast<G4int*>( &fVerboseLevel );
187
189
190 //*pCrystalID=pPhyVol->GetMotherPhysical()->GetCopyNo();
191 *pCrystalID = -1;
192 for ( G4int i = fStartID; i <= fAllCrystals; i++ )
193 {
194 // G4cout << fBesEmcGeometry->GetPhysiBSCCrystal(i) << ".vs."
195 // << pPhyVol << G4endl;
196 if ( fBesEmcGeometry->GetPhysiBSCCrystal( i ) == pPhyVol ) { *pCrystalID = i; }
197 }
198 if ( *pCrystalID == -1 )
199 {
200 G4cout << "The point of PhysicCrystal error!!!!!!!!!!!" << G4endl;
201 exit( -1 );
202 }
203 //*pCrystalID=pPhyVol->GetCopyNo();
204 // if(fVerboseLevel>6)
205 // G4cout<<"******BesCrystalParameterisation::ComputeIDAndSide******"<<G4endl
206 // <<"point of pPhyVol =" << pPhyVol << G4endl
207 // <<"point of mother =" << pPhyVol->GetMother() << G4endl
208 // <<"CopyNo of pPhyVol=" << pPhyVol->GetCopyNo() << G4endl
209 // <<"CopyNo of mother =" << pPhyVol->GetMother()->GetCopyNo() << G4endl
210 // <<"********************************************************"<<G4endl;
211
212 if ( fCrystalID > fAllCrystals / 2 )
213 {
214 *pFlagLeft = false;
215 *pCrystalID = fCrystalID - fAllCrystals / 2;
216 }
217 else
218 {
219 *pFlagLeft = true;
220 *pCrystalID = fAllCrystals / 2 - fCrystalID + 1;
221 }
222 *pCrystalID = *pCrystalID - 1;
223}
static BesEmcConstruction * GetBesEmcConstruction()

Referenced by ComputeDimensions(), ComputeMaterial(), ComputeSolid(), and ComputeTransformation().

◆ ComputeIDAndSide() [2/3]

void BesCrystalParameterisation::ComputeIDAndSide ( const G4VPhysicalVolume * ) const

◆ ComputeIDAndSide() [3/3]

void BesCrystalParameterisation::ComputeIDAndSide ( const G4VPhysicalVolume * ) const

◆ ComputeMaterial() [1/3]

G4Material * BesCrystalParameterisation::ComputeMaterial ( const G4int copyNo,
G4VPhysicalVolume * pPhysicalVol,
const G4VTouchable * parentTouch = 0 )

Definition at line 165 of file BesCrystalParameterisation.cc.

167 {
168 if ( 0 ) G4cout << copyNo << parentTouch << G4endl;
169 ComputeIDAndSide( pPhysicalVol );
170 G4int nBSCTheta = fBesEmcGeometry->GetBSCNbTheta();
171 // if(fVerboseLevel>5)
172 // G4cout <<"******BesCrystalParameterisation::ComputeMaterial******"<<G4endl
173 // <<"Number of all crystals=" << nBSCTheta << G4endl
174 // <<"No of current crystal =" << pPhysicalVol->GetCopyNo() << G4endl
175 // <<"*******************************************************"<<G4endl;
176 if ( pPhysicalVol->GetCopyNo() > 2 * nBSCTheta )
179}

◆ ComputeMaterial() [2/3]

G4Material * BesCrystalParameterisation::ComputeMaterial ( const G4int ,
G4VPhysicalVolume * ,
const G4VTouchable * parentTouch = 0 )

◆ ComputeMaterial() [3/3]

G4Material * BesCrystalParameterisation::ComputeMaterial ( const G4int ,
G4VPhysicalVolume * ,
const G4VTouchable * parentTouch = 0 )

◆ ComputeSolid() [1/3]

G4VSolid * BesCrystalParameterisation::ComputeSolid ( const G4int copyNo,
G4VPhysicalVolume * pPhysicalVol )

Definition at line 158 of file BesCrystalParameterisation.cc.

159 {
160 if ( 0 ) G4cout << copyNo << G4endl;
161 ComputeIDAndSide( pPhysicalVol );
162 return pPhysicalVol->GetLogicalVolume()->GetSolid();
163}

◆ ComputeSolid() [2/3]

G4VSolid * BesCrystalParameterisation::ComputeSolid ( const G4int ,
G4VPhysicalVolume *  )

◆ ComputeSolid() [3/3]

G4VSolid * BesCrystalParameterisation::ComputeSolid ( const G4int ,
G4VPhysicalVolume *  )

◆ ComputeTransformation() [1/3]

void BesCrystalParameterisation::ComputeTransformation ( const G4int copyNo,
G4VPhysicalVolume * physVol ) const

Definition at line 49 of file BesCrystalParameterisation.cc.

50 {
51 // for debug
52 // G4Exception("BesCrystalParameterisation::ComputeTransformation() starting........");
53 ComputeIDAndSide( physVol );
54
55 if ( fVerboseLevel > 3 )
56 {
57 G4cout << "*BesCrystalParameterisation::ComputeTransformation()*" << G4endl;
58 G4cout << "copyNo(transfered)=" << copyNo << G4endl
59 << "copyNo(gotten) =" << physVol->GetCopyNo() << G4endl
60 << "fStartID =" << fStartID << G4endl
61 << "fCrystalID =" << fCrystalID << G4endl;
62 G4cout << "point of fBesEmcGeometry=" << fBesEmcGeometry << G4endl;
63 }
64
65 G4double xPosition = fBesEmcGeometry->GetXPosition( fCrystalID );
66 G4double yPosition = fBesEmcGeometry->GetYPosition( fCrystalID );
67 G4double zPosition = fBesEmcGeometry->GetZPosition( fCrystalID );
68 // G4Exception("BesCrystalParameterisation::ComputeTransformation() running........");
69 // G4double xPosition=0,yPosition=0,zPosition=0;
70 if ( fFlagLeft ) zPosition = -zPosition;
71 G4ThreeVector origin( xPosition, yPosition, zPosition );
72 physVol->SetTranslation( origin );
73
74 // G4double thetaPosition=fBesEmcGeometry->GetThetaPosition(fCrystalID);
75 // G4RotationMatrix *rotateMatrix;
76 // rotateMatrix = new G4RotationMatrix();
77 // if(fFlagLeft)
78 // {
79 // rotateMatrix->rotateZ(-90*deg);
80 // rotateMatrix->rotateX(-180*deg+thetaPosition);
81 // }
82 // else
83 // {
84 // rotateMatrix->rotateZ(-90*deg);
85 // rotateMatrix->rotateX(-thetaPosition);
86 // }
87 // G4double delta = 0*deg;
88 // G4ThreeVector axis = G4ThreeVector(0,0,0);
89 // rotateMatrix->getAngleAxis(delta, axis);
90 if ( fVerboseLevel > 5 )
91 {
92 G4cout << "The crystals are at the position:" << G4endl << origin / cm << "(cm)" << G4endl;
93 // G4cout << thetaPosition/deg <<"(deg)." << G4endl
94 //<< "The axis of crystals in the world system is: " << G4endl
95 //<< delta/deg << "(deg)(delta) " << G4endl
96 //<< axis << "(Z axis)" << G4endl;
97 }
98 // physVol->SetRotation(rotateMatrix);
99}
const DifPoint origin

◆ ComputeTransformation() [2/3]

void BesCrystalParameterisation::ComputeTransformation ( const G4int ,
G4VPhysicalVolume *  ) const

◆ ComputeTransformation() [3/3]

void BesCrystalParameterisation::ComputeTransformation ( const G4int ,
G4VPhysicalVolume *  ) const

◆ SetVerboseLevel() [1/3]

void BesCrystalParameterisation::SetVerboseLevel ( G4int val)
inline

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcSim/BesCrystalParameterisation.hh.

59{ fVerboseLevel = val; };

◆ SetVerboseLevel() [2/3]

void BesCrystalParameterisation::SetVerboseLevel ( G4int val)
inline

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesCrystalParameterisation.hh.

59{ fVerboseLevel = val; };

◆ SetVerboseLevel() [3/3]

void BesCrystalParameterisation::SetVerboseLevel ( G4int val)
inline

Definition at line 59 of file Simulation/BOOST/EmcSim/include/EmcSim/BesCrystalParameterisation.hh.

59{ fVerboseLevel = val; };

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