BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesSubdetector.h
Go to the documentation of this file.
1
#ifndef ExtBesSubdetector_H
2
#define ExtBesSubdetector_H 1
3
4
5
#include "GDMLProcessor.hh"
6
#include "G4LogicalVolume.hh"
7
8
class
ExtBesSubdetector
9
{
10
public
:
11
ExtBesSubdetector
(){};
12
virtual
~ExtBesSubdetector
(){};
13
14
//construct your detector and position it in BES world volume
15
//You MUST derive your concrete class and implement it
16
virtual
void
Construct
(G4LogicalVolume*
bes
) = 0;
17
inline
G4LogicalVolume *
FindLogicalVolume
(
const
G4String& vn);
18
19
};
20
21
inline
G4LogicalVolume*
ExtBesSubdetector::FindLogicalVolume
(
const
G4String& vn )
22
{
23
return
const_cast<
G4LogicalVolume*
>
( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) );
24
}
25
26
#endif
ExtBesSubdetector
Definition
ExtBesSubdetector.h:9
ExtBesSubdetector::FindLogicalVolume
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
Definition
ExtBesSubdetector.h:21
ExtBesSubdetector::Construct
virtual void Construct(G4LogicalVolume *bes)=0
ExtBesSubdetector::~ExtBesSubdetector
virtual ~ExtBesSubdetector()
Definition
ExtBesSubdetector.h:12
ExtBesSubdetector::ExtBesSubdetector
ExtBesSubdetector()
Definition
ExtBesSubdetector.h:11
bes
Definition
BesCollectionUtils.h:25
7.1.1
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-67
TrkExtAlg
ExtBesSubdetector.h
Generated by
1.12.0