Project
Loading...
Searching...
No Matches
FastSimRegions.h
Go to the documentation of this file.
1
// Copyright 2019-2026 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#ifndef O2_FASTSIM_REGIONS_H_
13
#define O2_FASTSIM_REGIONS_H_
14
24
25
#include "TG4VUserPostDetConstruction.h"
26
27
#include <set>
28
#include <string>
29
#include <vector>
30
31
class
TGeoVolume;
32
33
namespace
o2::fastsim
34
{
35
38
std::set<std::string>
mediaInSubtree
(TGeoVolume* volume);
39
42
std::set<std::string>
mediaInSubtree
(
const
std::string& volumeName);
43
47
class
FastSimRegionConstruction
:
public
TG4VUserPostDetConstruction
48
{
49
public
:
50
struct
ModelRegions
{
51
std::string
model
;
52
std::string
envelope
;
53
std::string
regions
;
54
};
55
56
explicit
FastSimRegionConstruction
(std::vector<ModelRegions> models);
57
void
Construct
()
override
;
58
59
private
:
60
std::vector<ModelRegions> mModels;
61
};
62
63
}
// namespace o2::fastsim
64
65
#endif
// O2_FASTSIM_REGIONS_H_
TG4VUserPostDetConstruction
o2::fastsim::FastSimRegionConstruction
Definition
FastSimRegions.h:48
o2::fastsim::FastSimRegionConstruction::Construct
void Construct() override
Definition
FastSimRegions.cxx:81
o2::fastsim
Definition
FastSimModel.h:33
o2::fastsim::mediaInSubtree
std::set< std::string > mediaInSubtree(TGeoVolume *volume)
Definition
FastSimRegions.cxx:51
o2::fastsim::FastSimRegionConstruction::ModelRegions
Definition
FastSimRegions.h:50
o2::fastsim::FastSimRegionConstruction::ModelRegions::regions
std::string regions
explicit media, used instead of the walk if given
Definition
FastSimRegions.h:53
o2::fastsim::FastSimRegionConstruction::ModelRegions::model
std::string model
Definition
FastSimRegions.h:51
o2::fastsim::FastSimRegionConstruction::ModelRegions::envelope
std::string envelope
volume whose subtree supplies the media
Definition
FastSimRegions.h:52
Detectors
FastSim
include
FastSim
FastSimRegions.h
Generated on Sat Aug 29 2026 15:08:51 for Project by
1.9.8