CbmRoot
CbmMvdCluster.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmMvdCluster source file -----
3
4
// -------------------------------------------------------------------------
5
6
#include "
CbmMvdCluster.h
"
7
8
using
std::map;
9
using
std::pair;
10
11
// ----- Default constructor -------------------------------------------
12
CbmMvdCluster::CbmMvdCluster
()
13
:
CbmCluster
(), fPixelMap(), fRefId(-1), fClusterCharge(0) {}
14
// -------------------------------------------------------------------------
15
16
// -------------------------------------------------------------------------
17
CbmMvdCluster::CbmMvdCluster
(
const
CbmMvdCluster
& rhs)
18
:
CbmCluster
(), fPixelMap(), fRefId(-1), fClusterCharge(0) {
19
fPixelMap
= rhs.
fPixelMap
;
20
fRefId
= rhs.
fRefId
;
21
fClusterCharge
= rhs.
fClusterCharge
;
22
}
23
// -------------------------------------------------------------------------
24
25
// ----- Destructor ----------------------------------------------------
26
CbmMvdCluster::~CbmMvdCluster
() {}
27
// -------------------------------------------------------------------------
28
29
// -------------------------------------------------------------------------
30
void
CbmMvdCluster::SetPixelMap
(map<pair<Int_t, Int_t>, Int_t> PixelMap) {
31
fPixelMap
= PixelMap;
32
for
(map<pair<Int_t, Int_t>, Int_t>::iterator iter =
fPixelMap
.begin();
33
iter !=
fPixelMap
.end();
34
iter++)
35
fClusterCharge
+= iter->second;
36
}
37
38
ClassImp
(
CbmMvdCluster
)
CbmMvdCluster::~CbmMvdCluster
virtual ~CbmMvdCluster()
Definition:
CbmMvdCluster.cxx:26
CbmMvdCluster::fPixelMap
std::map< std::pair< Int_t, Int_t >, Int_t > fPixelMap
Definition:
CbmMvdCluster.h:55
CbmMvdCluster
Definition:
CbmMvdCluster.h:27
CbmMvdCluster::fClusterCharge
Float_t fClusterCharge
Definition:
CbmMvdCluster.h:60
CbmMvdCluster::SetPixelMap
void SetPixelMap(std::map< std::pair< Int_t, Int_t >, Int_t > PixelMap)
Definition:
CbmMvdCluster.cxx:30
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmMvdCluster::CbmMvdCluster
CbmMvdCluster()
Definition:
CbmMvdCluster.cxx:12
CbmMvdCluster::fRefId
Int_t fRefId
Definition:
CbmMvdCluster.h:59
CbmCluster
Base class for cluster objects.
Definition:
CbmCluster.h:26
CbmMvdCluster.h
core
data
mvd
CbmMvdCluster.cxx
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18