/
G4JLeicDIRCDetector.h
46 lines (34 loc) · 1.09 KB
/
G4JLeicDIRCDetector.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Tell emacs that this is a C++ source
// -*- C++ -*-.
#ifndef G4JLEIC_G4JLEICDIRCDETECTOR_H
#define G4JLEIC_G4JLEICDIRCDETECTOR_H
#include <g4main/PHG4Detector.h>
#include <set>
#include <string> // for string
class G4LogicalVolume;
class G4VPhysicalVolume;
class PHCompositeNode;
class PHG4Subsystem;
class PHParameters;
class G4JLeicDIRCDetector : public PHG4Detector
{
public:
//! constructor
G4JLeicDIRCDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *params_array, const std::string &dnam);
//! destructor
virtual ~G4JLeicDIRCDetector() {}
//! construct
virtual void ConstructMe(G4LogicalVolume *world);
virtual void Print(const std::string &what = "ALL") const;
//!@name volume accessors
//@{
int IsInDIRC(G4VPhysicalVolume *) const;
//@}
void SuperDetector(const std::string &name) { m_SuperDetector = name; }
const std::string SuperDetector() const { return m_SuperDetector; }
protected:
PHParameters *m_Params;
std::set<G4VPhysicalVolume *> m_PhysicalVolumesSet;
std::string m_SuperDetector;
};
#endif // G4JLEIC_G4JLEICDIRCDETECTOR_H