BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/TrkExtAlg/TrkExtAlg-00-00-64/TrkExtAlg/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:
InstallArea/include/TrkExtAlg/TrkExtAlg/ExtBesSubdetector.h:9
ExtBesSubdetector::FindLogicalVolume
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
ExtBesSubdetector::Construct
virtual void Construct(G4LogicalVolume *bes)=0
ExtBesSubdetector::~ExtBesSubdetector
virtual ~ExtBesSubdetector()
Definition:
Reconstruction/TrkExtAlg/TrkExtAlg-00-00-64/TrkExtAlg/ExtBesSubdetector.h:12
ExtBesSubdetector::ExtBesSubdetector
ExtBesSubdetector()
Definition:
Reconstruction/TrkExtAlg/TrkExtAlg-00-00-64/TrkExtAlg/ExtBesSubdetector.h:11
bes
Definition:
InstallArea/include/MdcRecoUtil/MdcRecoUtil/BesCollectionUtils.h:25
source
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-64
TrkExtAlg
ExtBesSubdetector.h
Generated by
1.9.6