BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MucSim/MucSim/BesMucEfficiency.hh
Go to the documentation of this file.
1
//
2
//
3
//
4
//
5
6
7
#ifndef BesMucEfficiency_h
8
#define BesMucEfficiency_h 1
9
10
#include "GaudiKernel/IMessageSvc.h"
11
#include "GaudiKernel/MsgStream.h"
12
13
#include "
BesMucHit.hh
"
14
#include "
BesMucDigit.hh
"
15
#include "G4VPhysicalVolume.hh"
16
#include "G4LogicalVolume.hh"
17
18
#include "MucCalibConstSvc/IMucCalibConstSvc.h"
19
#include "MucCalibConstSvc/MucCalibConstSvc.h"
20
21
#define part_Max (3)
22
//#define segOnPart[3] ({4,8,4})
23
//#define gapOnPart[3] ({8,9,8})
24
#define seg_Max (8)
25
#define gap_Max (9)
26
#define strip_Max (96)
27
#define pad_Max (100)
28
29
using namespace
std
;
30
31
class
BesMucEfficiency
32
{
33
public
:
34
BesMucEfficiency
();
35
~BesMucEfficiency
();
36
37
void
Initialize
(G4String filename);
38
39
void
CheckCalibSvc
();
40
void
SetHit
(
BesMucHit
* hit);
41
void
GetPosLengthWidth
(G4VPhysicalVolume* pvStrip);
42
43
G4int
GetPad
();
44
G4double
GetEfficiency
();
45
static
BesMucEfficiency
*
Instance
(
void
);
46
47
public
:
48
IMessageSvc*
msgSvc
;
49
50
private
:
51
BesMucHit
* m_pHit;
52
G4double m_Pos_Hit;
53
G4double m_Pos_Strip;
54
G4double m_Length;
55
G4double m_Width;
56
G4int m_Strip;
57
G4double m_effi[
part_Max
][
seg_Max
][
gap_Max
][
strip_Max
][
pad_Max
];
58
static
BesMucEfficiency
* fPointer;
59
G4double IsAddEffi;
60
61
IMucCalibConstSvc
* m_ptrCalibSvc;
// pointer of calibration constants service
62
};
63
64
#endif
BesMucDigit.hh
pad_Max
#define pad_Max
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucEfficiency.hh:27
seg_Max
#define seg_Max
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucEfficiency.hh:24
strip_Max
#define strip_Max
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucEfficiency.hh:26
part_Max
#define part_Max
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucEfficiency.hh:21
gap_Max
#define gap_Max
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucEfficiency.hh:25
BesMucHit.hh
BesMucEfficiency
Definition:
InstallArea/include/MucSim/MucSim/BesMucEfficiency.hh:32
BesMucEfficiency::BesMucEfficiency
BesMucEfficiency()
Definition:
BesMucEfficiency.cc:27
BesMucEfficiency::~BesMucEfficiency
~BesMucEfficiency()
Definition:
BesMucEfficiency.cc:35
BesMucEfficiency::msgSvc
IMessageSvc * msgSvc
Definition:
InstallArea/include/MucSim/MucSim/BesMucEfficiency.hh:48
BesMucEfficiency::GetPad
G4int GetPad()
Definition:
BesMucEfficiency.cc:129
BesMucEfficiency::SetHit
void SetHit(BesMucHit *hit)
Definition:
BesMucEfficiency.cc:109
BesMucEfficiency::CheckCalibSvc
void CheckCalibSvc()
Definition:
BesMucEfficiency.cc:96
BesMucEfficiency::GetEfficiency
G4double GetEfficiency()
Definition:
BesMucEfficiency.cc:141
BesMucEfficiency::Instance
static BesMucEfficiency * Instance(void)
Definition:
BesMucEfficiency.cc:21
BesMucEfficiency::GetPosLengthWidth
void GetPosLengthWidth(G4VPhysicalVolume *pvStrip)
Definition:
BesMucEfficiency.cc:165
BesMucHit
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:27
IMucCalibConstSvc
Definition:
InstallArea/include/MucCalibConstSvc/MucCalibConstSvc/IMucCalibConstSvc.h:18
Initialize
Definition:
integral.h:19
std
Definition:
Event/RootEventData/RootEventData-00-03-81/RootEventData/RootEventData_rootcint.cxx:16
source
InstallArea
include
MucSim
MucSim
BesMucEfficiency.hh
Generated by
1.9.6