Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:16:56

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //   Author:            Mathieu Fontaine           Rachid Mazini
0027 //                      fontaine@lps.umontreal.ca  Rachid.Mazini@cern.ch
0028 //   Language:          C++
0029 //   Tested on:         g++
0030 //   Prerequisites:     None
0031 //   Purpose:           Header file for FCALEMModule.cc, which defines
0032 //                      the  geometry of the FCAL EMModule 0.
0033 //   Developped:        10-March-2000   M.F.
0034 //
0035 //----------------------------------------------------------------------------
0036 
0037 #ifndef FCALEMModule_h
0038 #define FCALEMModule_h 1
0039 
0040 #include "globals.hh"
0041 #include "G4LogicalVolume.hh"
0042 #include "FCALEMModuleSD.hh"
0043 
0044 
0045 class FCALEMModule
0046 {
0047 public:
0048 
0049   FCALEMModule();
0050   ~FCALEMModule();
0051 
0052 public:
0053 
0054   G4LogicalVolume * Construct();
0055   
0056   void InitializeGeometry();
0057   G4int GetF1TileID(G4int);
0058   G4double GetF1LArGapPosX(G4int);
0059 
0060 private:
0061   G4int NF1LarGap;
0062   G4int* F1LArGapID;
0063   G4int* F1LArIX;
0064   G4int* F1LArJY;
0065   G4int* F1LArITile;
0066   G4double* F1LArGapPosX;
0067   G4double* F1LArGapPosY;
0068 
0069 private:
0070 
0071   G4double EmModuleRMin, EmModuleRMax, EmModuleLenght,
0072            EmModuleStartPhi, EmModuleDPhi;
0073   G4double FCALEmSmart;
0074 
0075   G4int NCableTroff;
0076   G4double F1CableTroffRMin, F1CableTroffRMax, F1CableTroffLenght, F1CableTroffStartPhi, 
0077            F1CableTroffDPhi;
0078   G4double F1CableTroffRotZ;
0079 
0080   G4double F1LArGapRmin, F1LArGapRmax, F1LArGapLenght, F1LArGapStartPhi, F1LArGapDPhi;
0081 
0082   FCALEMModuleSD* FcalEmModuleSD;
0083 
0084   //  G4double GapPosX, GapPosY;
0085   //G4int GapID, IX, IY, ITile;
0086 
0087 };
0088 
0089 #endif  /* FCALEMModule.hh */
0090