EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EicRootDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicRootDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef _EICROOT_DETECTOR_
4
#define _EICROOT_DETECTOR_
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <set>
9
#include <string>
10
11
class
G4LogicalVolume;
12
class
G4VPhysicalVolume;
13
class
PHCompositeNode
;
14
class
PHG4Subsystem
;
15
class
PHParameters
;
16
class
PHG4HitContainer
;
17
18
class
EicRootDetector
:
public
PHG4Detector
19
{
20
public
:
21
// ctor & dtor;
22
EicRootDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
const
std::string &dnam);
23
virtual
~EicRootDetector
() {};
24
25
// The actual geometry construction call;
26
void
ConstructMe
(G4LogicalVolume *
world
)
override
;
27
28
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
29
30
int
IsInDetector
(G4VPhysicalVolume *);
// const;
31
32
PHG4HitContainer
*
get_hitcontainer
(
void
) {
return
m_HitContainer
; };
33
void
set_hitcontainer
(
PHG4HitContainer
*container) {
m_HitContainer
= container; };
34
35
private
:
36
// active volumes
37
//std::set<G4VPhysicalVolume *> m_PhysicalVolumesSet;
38
39
PHG4HitContainer
*
m_HitContainer
;
40
};
41
42
#endif
EicToyModel
blob
master
fun4all_with_eicroot
sandbox
EicRootDetector.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration