Base class for Digi information.
More...
#include <PndSdsDigi.h>
|
| PndSdsDigi () |
|
| PndSdsDigi (std::vector< Int_t > index, Int_t detID, Int_t sensorID, Int_t fe, Double_t charge, Double_t timestamp=-1) |
|
| PndSdsDigi (Int_t index, Int_t detID, Int_t fSensorID, Int_t fe, Double_t charge, Double_t timestamp=-1) |
|
virtual | ~PndSdsDigi () |
|
Int_t | GetFE () const |
|
Int_t | GetSensorID () const |
|
Double_t | GetCharge () const |
|
Int_t | GetDetID () const |
|
std::vector< Int_t > | GetIndices () const |
|
Int_t | GetIndex (int i=0) const |
|
Int_t | GetNIndices () const |
|
virtual void | AddIndex (int index) |
|
virtual void | AddIndex (std::vector< Int_t > index) |
|
void | SetCharge (double charge) |
|
void | AddCharge (double charge) |
|
virtual bool | operator< (const PndSdsDigi &myDigi) const |
|
virtual void | Print () |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
◆ PndSdsDigi() [1/3]
PndSdsDigi::PndSdsDigi |
( |
| ) |
|
◆ PndSdsDigi() [2/3]
PndSdsDigi::PndSdsDigi |
( |
std::vector< Int_t > |
index, |
|
|
Int_t |
detID, |
|
|
Int_t |
sensorID, |
|
|
Int_t |
fe, |
|
|
Double_t |
charge, |
|
|
Double_t |
timestamp = -1 |
|
) |
| |
◆ PndSdsDigi() [3/3]
PndSdsDigi::PndSdsDigi |
( |
Int_t |
index, |
|
|
Int_t |
detID, |
|
|
Int_t |
fSensorID, |
|
|
Int_t |
fe, |
|
|
Double_t |
charge, |
|
|
Double_t |
timestamp = -1 |
|
) |
| |
constructor
- Parameters
-
index | position of PndSdsMCPoint in TClonesArray |
detID | detector ID (from/for CbmPoint/Hit) |
detName | geoH->GetID(gGeoManager->GetPath()) information |
fe | front end ID |
charge | deposited charge in electrons |
◆ ~PndSdsDigi()
virtual PndSdsDigi::~PndSdsDigi |
( |
| ) |
|
|
inlinevirtual |
◆ AddCharge()
void PndSdsDigi::AddCharge |
( |
double |
charge | ) |
|
|
inline |
◆ AddIndex() [1/2]
virtual void PndSdsDigi::AddIndex |
( |
int |
index | ) |
|
|
inlinevirtual |
◆ AddIndex() [2/2]
virtual void PndSdsDigi::AddIndex |
( |
std::vector< Int_t > |
index | ) |
|
|
inlinevirtual |
◆ ClassDef()
◆ GetCharge()
Double_t PndSdsDigi::GetCharge |
( |
| ) |
const |
|
inline |
◆ GetDetID()
Int_t PndSdsDigi::GetDetID |
( |
| ) |
const |
|
inline |
◆ GetFE()
Int_t PndSdsDigi::GetFE |
( |
| ) |
const |
|
inline |
◆ GetIndex()
Int_t PndSdsDigi::GetIndex |
( |
int |
i = 0 | ) |
const |
|
inline |
◆ GetIndices()
std::vector<Int_t> PndSdsDigi::GetIndices |
( |
| ) |
const |
|
inline |
◆ GetNIndices()
Int_t PndSdsDigi::GetNIndices |
( |
| ) |
const |
|
inline |
◆ GetSensorID()
Int_t PndSdsDigi::GetSensorID |
( |
| ) |
const |
|
inline |
◆ operator<()
virtual bool PndSdsDigi::operator< |
( |
const PndSdsDigi & |
myDigi | ) |
const |
|
inlinevirtual |
◆ Print()
virtual void PndSdsDigi::Print |
( |
| ) |
|
|
inlinevirtual |
◆ serialize()
template<class Archive >
void PndSdsDigi::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
Definition at line 99 of file PndSdsDigi.h.
References fCharge, fDetID, fFE, and fSensorID.
101 boost::serialization::void_cast_register<PndSdsDigi, FairTimeStamp>();
103 ar &boost::serialization::base_object<FairTimeStamp>(*this);
◆ SetCharge()
void PndSdsDigi::SetCharge |
( |
double |
charge | ) |
|
|
inline |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
PndSdsDigi & |
digi |
|
) |
| |
|
friend |
Definition at line 30 of file PndSdsDigi.h.
32 out <<
"PndSds Digi in sensor: " << digi.
GetSensorID() <<
" FE: " << digi.
GetFE() <<
" " 33 <<
" charge: " << digi.
GetCharge() <<
" e" 34 <<
" timestamp: " << digi.GetTimeStamp() <<
", from Point(s): ";
35 std::vector<Int_t> indices = digi.
GetIndices();
36 for (
unsigned int i = 0;
i < indices.size();
i++) {
37 std::cout << digi.
GetIndex(
i) <<
" " << std::endl;
std::vector< Int_t > GetIndices() const
Double_t GetCharge() const
Int_t GetIndex(int i=0) const
Int_t GetSensorID() const
◆ fCharge
Double_t PndSdsDigi::fCharge |
|
protected |
◆ fDetID
◆ fFE
◆ fIndex
std::vector<Int_t> PndSdsDigi::fIndex |
|
protected |
◆ fSensorID
Int_t PndSdsDigi::fSensorID |
|
protected |
The documentation for this class was generated from the following file: