Files
geant4/examples/advanced/lAr_calorimeter/include/FCALEMModule.hh
T
2016-06-10 12:08:39 +02:00

91 lines
3.1 KiB
C++

//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Author: Mathieu Fontaine Rachid Mazini
// fontaine@lps.umontreal.ca Rachid.Mazini@cern.ch
// Language: C++
// Tested on: g++
// Prerequisites: None
// Purpose: Header file for FCALEMModule.cc, which defines
// the geometry of the FCAL EMModule 0.
// Developped: 10-March-2000 M.F.
//
//----------------------------------------------------------------------------
#ifndef FCALEMModule_h
#define FCALEMModule_h 1
#include "globals.hh"
#include "G4LogicalVolume.hh"
#include "FCALEMModuleSD.hh"
class FCALEMModule
{
public:
FCALEMModule();
~FCALEMModule();
public:
G4LogicalVolume * Construct();
void InitializeGeometry();
G4int GetF1TileID(G4int);
G4double GetF1LArGapPosX(G4int);
private:
G4int NF1LarGap;
G4int* F1LArGapID;
G4int* F1LArIX;
G4int* F1LArJY;
G4int* F1LArITile;
G4double* F1LArGapPosX;
G4double* F1LArGapPosY;
private:
G4double EmModuleRMin, EmModuleRMax, EmModuleLenght,
EmModuleStartPhi, EmModuleDPhi;
G4double FCALEmSmart;
G4int NCableTroff;
G4double F1CableTroffRMin, F1CableTroffRMax, F1CableTroffLenght, F1CableTroffStartPhi,
F1CableTroffDPhi;
G4double F1CableTroffRotZ;
G4double F1LArGapRmin, F1LArGapRmax, F1LArGapLenght, F1LArGapStartPhi, F1LArGapDPhi;
FCALEMModuleSD* FcalEmModuleSD;
// G4double GapPosX, GapPosY;
//G4int GapID, IX, IY, ITile;
};
#endif /* FCALEMModule.hh */