source: trunk/examples/advanced/raredecay_calorimetry/include/PhotInConstants.hh@ 1307

Last change on this file since 1307 was 807, checked in by garnier, 17 years ago

update

File size: 3.1 KB
Line 
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//
27// $Id: PhotInConstants.hh,v 1.2 2006/06/29 16:24:39 gunter Exp $
28// GEANT4 tag $Name: $
29//
30
31#ifndef PhotInConstants_h
32#define PhotInConstants_h 1
33
34#include "globals.hh"
35
36static const G4int PhotInNumCollections=2; // The # of hit collections in each section
37static const G4int PhotInNumSections=3; // The # of sections in the example
38static const G4int PhotInDiNSections=PhotInNumSections*PhotInNumCollections;
39static const G4int PhotInNOfLayers=10; // Default # of Layers
40static const G4int PhotInNOfSlabs=10; // Default # of Slabs
41static const G4double PhotInSampFract=0.5; // Default sampling fraction
42static const G4String PhotInAbsorberName = "Absorber";
43static const G4String PhotInSlabName = "Slab";
44static const G4String PhotInCalName[PhotInNumSections] = {"Sect-0","Sect-1","Sect-2"};
45static const G4String PhotInRegName[PhotInNumSections] = {"Region0","Region1","Region2"};
46static const G4String PhotInDetName[PhotInNumSections] = {"CalSD-0","CalSD-1","CalSD-2"};
47static const G4String PhotInCollect[PhotInNumSections] =
48 {"AbsorberCollection","SlabsCollection"};
49//@@Can make in PhotInDetectorConstruction::Construct() using PhotInDetName & PhotInCollect
50static const G4String PhotInColNms[PhotInDiNSections] = {
51 PhotInDetName[0]+"/"+PhotInCollect[0], PhotInDetName[0]+"/"+PhotInCollect[1],
52 PhotInDetName[1]+"/"+PhotInCollect[0], PhotInDetName[1]+"/"+PhotInCollect[1],
53 PhotInDetName[2]+"/"+PhotInCollect[0], PhotInDetName[2]+"/"+PhotInCollect[1]};
54
55#endif
56
Note: See TracBrowser for help on using the repository browser.