BOSS
8.0.0
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
#include "G4LogicalVolume.hh"
5
#include "G4Processor/GDMLProcessor.hh"
6
7
class
ExtBesSubdetector
{
8
public
:
9
ExtBesSubdetector
(){};
10
virtual
~ExtBesSubdetector
(){};
11
12
// construct your detector and position it in BES world volume
13
// You MUST derive your concrete class and implement it
14
virtual
void
Construct
( G4LogicalVolume*
bes
) = 0;
15
inline
G4LogicalVolume*
FindLogicalVolume
(
const
G4String& vn );
16
};
17
18
inline
G4LogicalVolume*
ExtBesSubdetector::FindLogicalVolume
(
const
G4String& vn ) {
19
return
const_cast<
G4LogicalVolume*
>
( GDMLProcessor::GetInstance()->GetLogicalVolume( vn ) );
20
}
21
22
#endif
ExtBesSubdetector::FindLogicalVolume
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
Definition
ExtBesSubdetector.h:18
ExtBesSubdetector::Construct
virtual void Construct(G4LogicalVolume *bes)=0
ExtBesSubdetector::~ExtBesSubdetector
virtual ~ExtBesSubdetector()
Definition
ExtBesSubdetector.h:10
ExtBesSubdetector::ExtBesSubdetector
ExtBesSubdetector()
Definition
ExtBesSubdetector.h:9
bes
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesCollectionUtils.h:25
8.0.0
BOSS_Source
Reconstruction
TrkExtAlg
src
ExtBesSubdetector.h
Generated by
1.16.1