FairRoot/PandaRoot
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 -------------------------------------------
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 ----------------------------------------------------
57 // -------------------------------------------------------------------------
58 
59 
60 
Double_t
virtual ~PndGemCluster()
void AddIndex(int index)
ClassImp(PndAnaContFact)