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 23 of file PndHypDigi.h.
PndHypDigi::PndHypDigi |
( |
| ) |
|
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 |
Definition at line 12 of file PndHypDigi.cxx.
References fIndex.
std::vector< Int_t > fIndex
virtual PndHypDigi::~PndHypDigi |
( |
| ) |
|
|
inlinevirtual |
void PndHypDigi::AddCharge |
( |
double |
charge | ) |
|
|
inline |
void PndHypDigi::AddIndex |
( |
int |
index | ) |
|
|
inline |
Double_t PndHypDigi::GetCharge |
( |
| ) |
const |
|
inline |
Int_t PndHypDigi::GetDetID |
( |
| ) |
const |
|
inline |
TString PndHypDigi::GetDetName |
( |
| ) |
const |
|
inline |
Int_t PndHypDigi::GetFE |
( |
| ) |
const |
|
inline |
Int_t PndHypDigi::GetIndex |
( |
int |
i = 0 | ) |
const |
|
inline |
std::vector<Int_t> PndHypDigi::GetIndices |
( |
| ) |
const |
|
inline |
virtual void PndHypDigi::print |
( |
| ) |
|
|
inlinevirtual |
Definition at line 26 of file PndHypDigi.h.
27 out <<
"Hyp Digi in: " << digi.
GetDetName() <<
" FE: "
28 << digi.
GetFE() <<
" "
29 <<
" charge " << digi.
GetCharge() <<
" e";
30 std::vector<Int_t> indices = digi.
GetIndices();
31 for (
unsigned int i = 0;
i < indices.size();
i++){
32 std::cout << digi.
GetIndex(
i) <<
" " << std::endl;
TString GetDetName() const
Int_t GetIndex(int i=0) const
std::vector< Int_t > GetIndices() const
Double_t GetCharge() const
std::vector<Int_t> PndHypDigi::fIndex |
|
protected |
The documentation for this class was generated from the following files: