CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
ScintSingle.hh
Go to the documentation of this file.
1
//---------------------------------------------------------------------------//
2
// BOOST --- BESIII Object_Oriented Simulation Tool //
3
//---------------------------------------------------------------------------//
4
//Description:
5
//Author: Dengzy
6
//Created: Mar, 2004
7
//Modified:
8
//Comment:
9
//---------------------------------------------------------------------------//
10
// $Id: ScintSingle.hh
11
12
#ifndef ScintSingle_h
13
#define ScintSingle_h 1
14
15
#include <vector>
16
using namespace
std
;
17
18
class
ScintSingle
19
{
20
public
:
21
22
ScintSingle
()
23
{
24
hitIndexes =
new
vector<G4int>;
25
}
26
ScintSingle
(
const
ScintSingle
& right)
27
{
28
partId = right.partId;
29
scinNb = right.scinNb;
30
hitIndexes =right.hitIndexes;
31
}
32
const
ScintSingle
&
operator=
(
const
ScintSingle
& right)
33
{
34
partId = right.partId;
35
scinNb = right.scinNb;
36
hitIndexes =right.hitIndexes;
37
return
*
this
;
38
}
39
~ScintSingle
()
40
{
41
delete
hitIndexes;
42
}
43
44
G4int
GetPartId
() {
return
partId;}
45
G4int
GetScinNb
() {
return
scinNb;}
46
G4double
GetEdep
() {
return
edep;}
47
vector<G4int>*
GetHitIndexes
() {
return
hitIndexes;}
48
vector<G4int>*
GetHitIndexes_mrpc
() {
return
hitIndexes;}
49
G4int
GetModule_mrpc
() {
return
scinNb;}
50
51
void
SetPartId
(G4int
id
) {partId = id;}
52
void
SetScinNb
(G4int nb) {scinNb = nb;}
53
void
SetEdep
(G4double e) {edep = e;}
54
void
AddEdep
(G4double e) {edep += e;}
55
private
:
56
57
G4int partId;
58
G4int scinNb;
59
G4double edep;
60
vector<G4int>* hitIndexes;
61
};
62
63
#endif
64
ScintSingle
Definition
ScintSingle.hh:19
ScintSingle::GetHitIndexes_mrpc
vector< G4int > * GetHitIndexes_mrpc()
Definition
ScintSingle.hh:48
ScintSingle::operator=
const ScintSingle & operator=(const ScintSingle &right)
Definition
ScintSingle.hh:32
ScintSingle::SetEdep
void SetEdep(G4double e)
Definition
ScintSingle.hh:53
ScintSingle::GetModule_mrpc
G4int GetModule_mrpc()
Definition
ScintSingle.hh:49
ScintSingle::GetPartId
G4int GetPartId()
Definition
ScintSingle.hh:44
ScintSingle::SetScinNb
void SetScinNb(G4int nb)
Definition
ScintSingle.hh:52
ScintSingle::GetHitIndexes
vector< G4int > * GetHitIndexes()
Definition
ScintSingle.hh:47
ScintSingle::~ScintSingle
~ScintSingle()
Definition
ScintSingle.hh:39
ScintSingle::GetScinNb
G4int GetScinNb()
Definition
ScintSingle.hh:45
ScintSingle::ScintSingle
ScintSingle(const ScintSingle &right)
Definition
ScintSingle.hh:26
ScintSingle::SetPartId
void SetPartId(G4int id)
Definition
ScintSingle.hh:51
ScintSingle::GetEdep
G4double GetEdep()
Definition
ScintSingle.hh:46
ScintSingle::ScintSingle
ScintSingle()
Definition
ScintSingle.hh:22
ScintSingle::AddEdep
void AddEdep(G4double e)
Definition
ScintSingle.hh:54
std
Definition
RootEventData_rootcint.cxx:16
6.6.5.h
Simulation
BOOST
TofSim
TofSim-00-02-12
TofSim
ScintSingle.hh
Generated by
1.12.0