| 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| 26 | // Rich advanced example for Geant4
|
|---|
| 27 | // RichTbHpd.hh for Rich of LHCb
|
|---|
| 28 | // History:
|
|---|
| 29 | // Created: Sajan Easo (Sajan.Easo@cern.ch)
|
|---|
| 30 | // Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
|
|---|
| 31 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 32 | #ifndef RichTbHpd_h
|
|---|
| 33 | #define RichTbHpd_h 1
|
|---|
| 34 | #include "globals.hh"
|
|---|
| 35 | #include "RichTbMaterial.hh"
|
|---|
| 36 | #include "RichTbGeometryParameters.hh"
|
|---|
| 37 | #include "G4LogicalVolume.hh"
|
|---|
| 38 | #include "G4VPhysicalVolume.hh"
|
|---|
| 39 | #include "RichTbSiDet.hh"
|
|---|
| 40 | #include "RichTbSD.hh"
|
|---|
| 41 | class RichTbHpd {
|
|---|
| 42 |
|
|---|
| 43 | public:
|
|---|
| 44 |
|
|---|
| 45 | RichTbHpd();
|
|---|
| 46 | virtual ~RichTbHpd();
|
|---|
| 47 | RichTbHpd(RichTbMaterial*, G4VPhysicalVolume * ,G4int, G4int,G4bool);
|
|---|
| 48 |
|
|---|
| 49 | G4LogicalVolume* getHpdLogicalVolume()
|
|---|
| 50 | {return RichTbHpdLVol;}
|
|---|
| 51 | G4VPhysicalVolume* getHpdPhysicalVolume()
|
|---|
| 52 | {return RichTbHpdPVol;}
|
|---|
| 53 | G4LogicalVolume* getHpdEnvelopeTubeGrandLogicalVolume()
|
|---|
| 54 | {return RichTbHpdEnvelopeTubeGrandLVol;}
|
|---|
| 55 | G4VPhysicalVolume* getHpdEnvelopeTubeGrandPhysicalVolume()
|
|---|
| 56 | {return RichTbHpdEnvelopeTubeGrandPVol;}
|
|---|
| 57 | G4LogicalVolume* getHpdQuartzWLogicalVolume()
|
|---|
| 58 | {return RichTbHpdQuartzWLVol;}
|
|---|
| 59 | G4VPhysicalVolume* getHpdQuartzWPhysicalVolume()
|
|---|
| 60 | {return RichTbHpdQuartzWPVol;}
|
|---|
| 61 | G4LogicalVolume* getHpdPhCathodeLogicalVolume()
|
|---|
| 62 | {return RichTbPhCathodeLVol;}
|
|---|
| 63 | G4VPhysicalVolume* getHpdPhCathodePhysicalVolume()
|
|---|
| 64 | {return RichTbPhCathodePVol;}
|
|---|
| 65 | G4int getHpdNum(){return HpdNumber;}
|
|---|
| 66 | G4int getNumSectInHpd() {return NumSectInHpd;}
|
|---|
| 67 | RichTbSiDet* getRichHpdSiDetSect(G4int isect)
|
|---|
| 68 | {return richSiliconDetectorSect[isect];}
|
|---|
| 69 |
|
|---|
| 70 | private:
|
|---|
| 71 | G4int HpdNumber;
|
|---|
| 72 | RichTbSD* aHpdSD;
|
|---|
| 73 | G4LogicalVolume* RichTbHpdLVol;
|
|---|
| 74 | G4VPhysicalVolume* RichTbHpdPVol;
|
|---|
| 75 | G4LogicalVolume* RichTbHpdEnvelopeTubeGrandLVol;
|
|---|
| 76 | G4VPhysicalVolume* RichTbHpdEnvelopeTubeGrandPVol;
|
|---|
| 77 | G4LogicalVolume* RichTbHpdQuartzWLVol;
|
|---|
| 78 | G4VPhysicalVolume* RichTbHpdQuartzWPVol;
|
|---|
| 79 | G4LogicalVolume* RichTbPhCathodeLVol;
|
|---|
| 80 | G4VPhysicalVolume* RichTbPhCathodePVol;
|
|---|
| 81 | RichTbSiDet* richSiliconDetectorSect[NumberOfSiDetSectors];
|
|---|
| 82 | G4int NumSectInHpd;
|
|---|
| 83 | G4bool ConstructTrackGeomSwitch;
|
|---|
| 84 | };
|
|---|
| 85 | #endif
|
|---|
| 86 |
|
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|