Base class for Digi information.
More...
#include <PndHypDigi.h>
Base class for Digi information.
MvdDigi.h
- Author
- T.Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de
Definition at line 22 of file PndHypDigi.h.
◆ PndHypDigi() [1/2]
PndHypDigi::PndHypDigi |
( |
| ) |
|
◆ PndHypDigi() [2/2]
PndHypDigi::PndHypDigi |
( |
Int_t |
index, |
|
|
Int_t |
detID, |
|
|
TString |
detName, |
|
|
Int_t |
fe, |
|
|
Double_t |
charge |
|
) |
| |
constructor
- Parameters
-
index | position of PndHypMCPoint in TClonesArray |
detID | detector ID (not used for MVD) |
detName | geoH->GetID(gGeoManager->GetPath()) information |
fe | front end ID |
charge | deposited charge in electrons |
◆ ~PndHypDigi()
virtual PndHypDigi::~PndHypDigi |
( |
| ) |
|
|
inlinevirtual |
◆ AddCharge()
void PndHypDigi::AddCharge |
( |
double |
charge | ) |
|
|
inline |
◆ AddIndex()
void PndHypDigi::AddIndex |
( |
int |
index | ) |
|
|
inline |
◆ ClassDef()
◆ GetCharge()
Double_t PndHypDigi::GetCharge |
( |
| ) |
const |
|
inline |
◆ GetDetID()
Int_t PndHypDigi::GetDetID |
( |
| ) |
const |
|
inline |
◆ GetDetName()
TString PndHypDigi::GetDetName |
( |
| ) |
const |
|
inline |
◆ GetFE()
Int_t PndHypDigi::GetFE |
( |
| ) |
const |
|
inline |
◆ GetIndex()
Int_t PndHypDigi::GetIndex |
( |
int |
i = 0 | ) |
const |
|
inline |
◆ GetIndices()
std::vector<Int_t> PndHypDigi::GetIndices |
( |
| ) |
const |
|
inline |
◆ print()
virtual void PndHypDigi::print |
( |
| ) |
|
|
inlinevirtual |
Definition at line 58 of file PndHypDigi.h.
58 { std::cout << *
this; }
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
PndHypDigi & |
digi |
|
) |
| |
|
friend |
Definition at line 24 of file PndHypDigi.h.
26 out <<
"Hyp Digi in: " << digi.
GetDetName() <<
" FE: " << digi.
GetFE() <<
" " 27 <<
" charge " << digi.
GetCharge() <<
" e";
28 std::vector<Int_t> indices = digi.
GetIndices();
29 for (
unsigned int i = 0;
i < indices.size();
i++) {
30 std::cout << digi.
GetIndex(
i) <<
" " << std::endl;
std::vector< Int_t > GetIndices() const
Double_t GetCharge() const
TString GetDetName() const
Int_t GetIndex(int i=0) const
◆ fCharge
Double_t PndHypDigi::fCharge |
|
protected |
◆ fDetID
◆ fDetName
TString PndHypDigi::fDetName |
|
protected |
◆ fFE
◆ fIndex
std::vector<Int_t> PndHypDigi::fIndex |
|
protected |
The documentation for this class was generated from the following file: