FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
GemData
PndGemCluster.cxx
Go to the documentation of this file.
1
//* $Id:
2
3
// -------------------------------------------------------------------------
4
// ----- PndGemCluster source file -----
5
// -------------------------------------------------------------------------
6
#include "
PndGemCluster.h
"
7
8
#include <iostream>
9
10
using
std::cout;
11
using
std::endl;
12
13
14
// ----- Default constructor -------------------------------------------
15
PndGemCluster::PndGemCluster
() :
16
FairTimeStamp(),
17
fDetectorId (0),
18
fChannelNr (0),
19
fClusterBeg (0),
20
fClusterEnd (0),
21
fClusterCharge (0.),
22
fClusterCor (0.0)
23
{
24
}
25
// -------------------------------------------------------------------------
26
27
// -------------------------------------------------------------------------
28
PndGemCluster::PndGemCluster
(Int_t iDetectorId,
Double_t
iChannel, Int_t bChannel, Int_t eChannel, std::vector<Int_t> index) :
29
FairTimeStamp(),
30
fDetectorId (iDetectorId),
31
fChannelNr (iChannel),
32
fClusterBeg (bChannel),
33
fClusterEnd (eChannel),
34
fClusterCharge (0.),
35
fClusterCor (0.0)
36
{
37
AddIndex
(index);
38
}
39
// -------------------------------------------------------------------------
40
41
// -------------------------------------------------------------------------
42
PndGemCluster::PndGemCluster
(Int_t iDetectorId,
Double_t
iChannel, Int_t bChannel, Int_t eChannel,
Double_t
signal,
Double_t
time, std::vector<Int_t> index) :
43
FairTimeStamp(time),
44
fDetectorId (iDetectorId),
45
fChannelNr (iChannel),
46
fClusterBeg (bChannel),
47
fClusterEnd (eChannel),
48
fClusterCharge (signal),
49
fClusterCor (0.0)
50
{
51
AddIndex
(index);
52
}
53
// -------------------------------------------------------------------------
54
55
// ----- Destructor ----------------------------------------------------
56
PndGemCluster::~PndGemCluster
() { }
57
// -------------------------------------------------------------------------
58
59
60
61
ClassImp
(
PndGemCluster
)
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndGemCluster::~PndGemCluster
virtual ~PndGemCluster()
Definition:
PndGemCluster.cxx:56
PndGemCluster::AddIndex
void AddIndex(int index)
Definition:
PndGemCluster.h:111
PndGemCluster::PndGemCluster
PndGemCluster()
Definition:
PndGemCluster.cxx:15
PndGemCluster.h
PndGemCluster
Definition:
PndGemCluster.h:31
ClassImp
ClassImp(PndAnaContFact)
Generated on Sun Aug 18 2019 03:01:28 for FairRoot/PandaRoot by
1.8.8