FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
HypData
PndHypDigiStrip.cxx
Go to the documentation of this file.
1
#include "
PndHypDigiStrip.h
"
2
#include "
PndHypDigi.h
"
3
4
PndHypDigiStrip::PndHypDigiStrip
() :
5
fChannel(-1)
6
{
7
//fIndex = -1;
8
}
9
10
PndHypDigiStrip::PndHypDigiStrip
(Int_t index, Int_t detID,
TString
detName, Int_t
fe
, Int_t chan,
Double_t
charge):
11
PndHypDigi
(index,detID,detName,fe,charge),
12
fChannel(chan)
13
{
14
}
15
16
// const void PndHypDigiStrip::print(){
17
// // std::cout << *((PndHypStrip*)this) << std::endl;
18
// }
19
20
// Bool_t const HasNeighbour(const PndHypDigiStrip& d2)
21
// {
22
// return true; // Dummy so far
23
// }
24
25
Bool_t
PndHypDigiStrip::operator==
(
const
PndHypDigiStrip
& d2)
const
26
{
27
return
(
//fIndex==d2.GetIndex()
28
fDetID
==d2.
GetDetID
()
29
&&
fDetName
==d2.
GetDetName
()
30
&&
fFE
==d2.
GetFE
()
31
&&
fChannel
==d2.
GetChannel
()
32
&&
fCharge
==d2.
GetCharge
()
33
// && fMCID==d2.GetMCID()
34
);
35
}
36
37
ClassImp
(
PndHypDigiStrip
)
PndHypDigiStrip.h
PndHypDigiStrip
Definition:
PndHypDigiStrip.h:24
PndHypDigi::GetDetName
TString GetDetName() const
Definition:
PndHypDigi.h:49
PndHypDigiStrip::GetChannel
Int_t GetChannel() const
Definition:
PndHypDigiStrip.h:35
PndHypDigi.h
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndHypDigi::fDetID
Int_t fDetID
Definition:
PndHypDigi.h:63
PndHypDigi::GetFE
Int_t GetFE() const
Definition:
PndHypDigi.h:48
PndHypDigi::fFE
Int_t fFE
Definition:
PndHypDigi.h:66
PndHypDigi::GetDetID
Int_t GetDetID() const
Definition:
PndHypDigi.h:51
PndHypDigi::fDetName
TString fDetName
Definition:
PndHypDigi.h:64
TString
TString
Definition:
SimCompleteLinkDef.h:6
PndHypDigiStrip::PndHypDigiStrip
PndHypDigiStrip()
Definition:
PndHypDigiStrip.cxx:4
PndHypDigiStrip::fChannel
Int_t fChannel
Definition:
PndHypDigiStrip.h:59
fe
int fe
Definition:
anaLmdDigi.C:67
ClassImp
ClassImp(PndAnaContFact)
PndHypDigi::fCharge
Double_t fCharge
Definition:
PndHypDigi.h:65
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
PndHypDigi
Base class for Digi information.
Definition:
PndHypDigi.h:23
PndHypDigiStrip::operator==
Bool_t operator==(const PndHypDigiStrip &d2) const
Definition:
PndHypDigiStrip.cxx:25
PndHypDigi::GetCharge
Double_t GetCharge() const
Definition:
PndHypDigi.h:50
Generated on Wed Apr 3 2019 10:02:52 for FairRoot/PandaRoot by
1.8.5