// Public methods
/////////////////////////////////////////////////////////////////////////
TGeoMedium* GetMedium(const char* mediumName); // It returns the Medium
- const char* GetSenstiveVolumeName5() const {return fgSDDsensitiveVolName5;};
+ const char* GetSenstiveVolumeName5() const {return fgSSDsensitiveVolName5;};
// it returns the Sensitive Volume of Layer 5
- const char* GetSenstiveVolumeName6() const {return fgSDDsensitiveVolName6;};
+ const char* GetSenstiveVolumeName6() const {return fgSSDsensitiveVolName6;};
// it returns the Sensitive Volume of Layer 6
TGeoVolumeAssembly* GetLadderSegment(Int_t i){return fladdersegment[i];}; // Get Ladder Segment
TGeoVolumeAssembly* GetEndLadderSegment(Int_t i){return fendladdersegment[i];}; // Get End Ladder Segment
TGeoVolume* GetLadder(Int_t i) {return fladder[i];}; // Get Ladder
- TGeoVolume* GetLayer(Int_t i)const {return i==5? fSSDLayer5 : fSSDLayer6;}; // Get Layer
+ TGeoVolumeAssembly* GetLayer(Int_t i)const {return i==5? fSSDLayer5 : fSSDLayer6;}; // Get Layer
TGeoVolume** GetEndCapAssembly(); // End Cap Assembly
void SetLadderSegment(); // Set Ladder Elementary Segment
void SetEndLadderSegment(); // Set End Ladder Segment
void LadderSupportLayer6(TGeoVolume* moth); // Setting Ladder Support of Layer 6
void EndCapSupportSystemLayer5(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 5
void EndCapSupportSystemLayer6(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 6
+ void CreateMaterials(); // Method setting the materials
private:
/////////////////////////////////////////////////////////////////////////////////
// Names of the Sensitive Volumes of Layer 5 and Layer 6
/////////////////////////////////////////////////////////////////////////////////
- static const char* fgSDDsensitiveVolName5; // sens. vol. name for lay. 5
- static const char* fgSDDsensitiveVolName6; // sens. vol. name for lay. 6
+ static const char* fgSSDsensitiveVolName5; // sens. vol. name for lay. 5
+ static const char* fgSSDsensitiveVolName6; // sens. vol. name for lay. 6
+ /////////////////////////////////////////////////////////////////////////////////
+ // Variable for Vertical Disalignement of Modules
+ /////////////////////////////////////////////////////////////////////////////////
+ static const Double_t fgkSSDModuleVerticalDisalignment; // Vertical Disalignement of Volume
/////////////////////////////////////////////////////////////////////////
// Layer5 (lengths are in mm and angles in degrees)
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
// Private methods for private members generation
/////////////////////////////////////////////////////////////////////////
- void CreateMaterials(); // Method setting the materials
void CreateTransformationMatrices(); // Method setting the transformation matrices
void CreateBasicObjects(); // Method creating the basic objects of ssd geometry
void SetSSDSensor(); // Method setting the SSD Layer 5 and 6 sensors
// SSD Layer
///////////////////////////////////
static const Int_t fgklayernumber = 2; // Layer Number
- TGeoVolume* fSSDLayer5; // SSD Layer 5
- TGeoVolume* fSSDLayer6; // SSD Layer 6
+ TGeoVolumeAssembly* fSSDLayer5; // SSD Layer 5
+ TGeoVolumeAssembly* fSSDLayer6; // SSD Layer 6
TGeoHMatrix** flayermatrix[fgklayernumber]; // Layer Transformations
/////////////////////////////////////////////////////////////////////////
// Mother Volume
/////////////////////////////////////////////////////////////////////////
// End Cap Support + End Cap Assembly
/////////////////////////////////////////////////////////////////////////
- TGeoVolume* fgkEndCapSupportSystem[4]; // End Cap Support + End Cap Assembly
+ TGeoVolume** fgkEndCapSupportSystem; // End Cap Support + End Cap Assembly
/////////////////////////////////////////////////////////////////////////
// Color Display
/////////////////////////////////////////////////////////////////////////