BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EmcSim/EmcSim/BesCrystalParameterisation.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oreiented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Descpirtion: EMC detector
5//Author: Fu Chengdong
6//Created: Sep 4, 2003
7//Comment:
8//---------------------------------------------------------------------------//
9//
10#ifndef BesCrystalParameterisation_H
11#define BesCrystalParameterisation_H 1
12
13#include "globals.hh"
14#include "G4VPVParameterisation.hh"
15
16//class G4VphysicalVolume;
17//class G4Trap;
18//class G4VSolid;
19
20//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
21class BesEmcGeometry;
22
23class BesCrystalParameterisation : public G4VPVParameterisation
24{
25public:
27 const G4int ,
28 const G4int ,
29 const G4int ,
31 const G4int);
34 const G4int ,
35 G4VPhysicalVolume* )const;
36
37 virtual void ComputeDimensions(G4Box &,
38 const G4int,
39 const G4VPhysicalVolume *) const {}
40
41 virtual void ComputeDimensions(G4Tubs &,
42 const G4int,
43 const G4VPhysicalVolume *) const {}
44
45 virtual void ComputeDimensions(G4Trd &,
46 const G4int,
47 const G4VPhysicalVolume *) const {}
48
49 virtual void ComputeDimensions(G4Trap &,
50 const G4int,
51 const G4VPhysicalVolume *) const ;
52
53 virtual void ComputeDimensions(G4Cons &,
54 const G4int,
55 const G4VPhysicalVolume *) const {}
56
57 virtual void ComputeDimensions(G4Sphere &,
58 const G4int,
59 const G4VPhysicalVolume *) const {}
60
61 virtual void ComputeDimensions(G4Orb &,
62 const G4int,
63 const G4VPhysicalVolume *) const {}
64
65 virtual void ComputeDimensions(G4Torus &,
66 const G4int,
67 const G4VPhysicalVolume *) const {}
68
69 virtual void ComputeDimensions(G4Para &,
70 const G4int,
71 const G4VPhysicalVolume *) const {}
72
73 virtual void ComputeDimensions(G4Polycone &,
74 const G4int,
75 const G4VPhysicalVolume *) const {}
76
77 virtual void ComputeDimensions(G4Polyhedra &,
78 const G4int,
79 const G4VPhysicalVolume *) const {}
80
81 virtual void ComputeDimensions(G4Hype &,
82 const G4int,
83 const G4VPhysicalVolume *) const {}
84
85
86
87 G4Material* ComputeMaterial(const G4int,G4VPhysicalVolume *,
88 const G4VTouchable *parentTouch=0);
89 G4VSolid* ComputeSolid(const G4int,G4VPhysicalVolume *);
90 void ComputeIDAndSide(const G4VPhysicalVolume*)const;
91 inline void SetVerboseLevel(G4int val){fVerboseLevel=val;};
92private:
93 G4int fCrystalID;
94 G4int fVerboseLevel;
95 G4int fStartID;
96 G4int fAllCrystals;
97 G4bool fFlagLeft;
98 BesEmcGeometry* fBesEmcGeometry;
99};
100
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
102
103#endif
G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
virtual void ComputeDimensions(G4Polycone &, const G4int, const G4VPhysicalVolume *) const
void ComputeTransformation(const G4int, G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Box &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Para &, const G4int, const G4VPhysicalVolume *) const
void ComputeIDAndSide(const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Sphere &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Trd &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Cons &, const G4int, const G4VPhysicalVolume *) const
G4Material * ComputeMaterial(const G4int, G4VPhysicalVolume *, const G4VTouchable *parentTouch=0)
virtual void ComputeDimensions(G4Tubs &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Torus &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Orb &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Hype &, const G4int, const G4VPhysicalVolume *) const
virtual void ComputeDimensions(G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const