HYDRA_development_version
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
hrpcclustersim.cc
Go to the documentation of this file.
1
//*-- AUTHOR : Diego Gonzalez-Diaz 19/12/2007
2
//*-- Modified: 12/12/2009
3
//(Included flag 'isAtBox').
4
//*-- Modified: 29/12/2009
5
// Geant references and tracks extended to 10-dimensional arrays
6
//
7
//_HADES_CLASS_DESCRIPTION
8
///////////////////////////////////////////////////////////////////////////////
9
// //
10
// HRpcClusterSim //
11
// this is the ClusterSim data level for simulated data //
12
///////////////////////////////////////////////////////////////////////////////
13
14
#include "
hrpcclustersim.h
"
15
16
ClassImp
(
HRpcClusterSim
)
17
18
HRpcClusterSim
::
HRpcClusterSim
(
void
) {
19
clear();
20
}
21
22
void
HRpcClusterSim::clear
(
void
) {
23
// clears the object
24
25
Track
=
nTracksAtBox
=
nTracksAtCells
= -999;
26
isAtBox
= kFALSE;
27
28
for
(Int_t i=0;i<4;i++)
TrackList
[i] = -999;
29
for
(Int_t i=0;i<4;i++)
RefList
[i] = -999;
30
for
(Int_t i=0;i<4;i++)
isAtBoxList
[i] = kFALSE;
31
32
}
33
34
Bool_t
HRpcClusterSim::isTrack
(Int_t
track
) {
35
36
for
(Int_t i=0;i<4;i++){
37
if
(
TrackList
[i]==track)
return
kTRUE;
38
else
return
kFALSE;
39
}
40
return
-1;
41
}
42
43
Bool_t
HRpcClusterSim::isRef
(Int_t ref) {
44
45
for
(Int_t i=0;i<4;i++){
46
if
(
RefList
[i]==ref)
return
kTRUE;
47
else
return
kFALSE;
48
}
49
return
-1;
50
}
HRpcClusterSim::Track
Int_t Track
Definition:
hrpcclustersim.h:19
HRpcClusterSim::TrackList
Int_t TrackList[4]
Definition:
hrpcclustersim.h:10
ClassImp
ClassImp(HRpcClusterSim) HRpcClusterSim
Definition:
hrpcclustersim.cc:16
HRpcClusterSim::clear
void clear(void)
Definition:
hrpcclustersim.cc:22
track
Definition:
hpiontrackertrackf.h:18
HRpcClusterSim::isRef
Bool_t isRef(Int_t ref)
Definition:
hrpcclustersim.cc:43
HRpcClusterSim::isAtBoxList
Bool_t isAtBoxList[4]
Definition:
hrpcclustersim.h:17
HRpcClusterSim::RefList
Int_t RefList[4]
Definition:
hrpcclustersim.h:12
HRpcClusterSim::nTracksAtCells
Int_t nTracksAtCells
Definition:
hrpcclustersim.h:24
HRpcClusterSim::nTracksAtBox
Int_t nTracksAtBox
Definition:
hrpcclustersim.h:22
HRpcClusterSim
Definition:
hrpcclustersim.h:6
HRpcClusterSim::isAtBox
Bool_t isAtBox
Definition:
hrpcclustersim.h:26
hrpcclustersim.h
HRpcClusterSim::isTrack
Bool_t isTrack(Int_t track)
Definition:
hrpcclustersim.cc:34
rpc
hrpcclustersim.cc
Generated on Fri Oct 9 2020 14:30:07 for HYDRA_development_version by
1.8.8