38 out <<
"Hyp Digi in: " << digi.
GetDetName() <<
" FE: " << digi.
GetFE() <<
" " 39 <<
" charge " << digi.
GetCharge() <<
" e";
40 std::vector<Int_t> indices = digi.
GetIndices();
41 for (
unsigned int i = 0;
i < indices.size();
i++) {
42 std::cout << digi.
GetIndex(
i) <<
" " << std::endl;
49 PndHypDigi(Int_t index, Int_t detID, TString detName, Int_t fe, Double_t charge);
70 virtual void print() { std::cout << *
this; }
std::vector< Int_t > GetIndices() const
Double_t GetCharge() const
void AddCharge(double charge)
TString GetDetName() const
std::vector< Int_t > fIndex
friend std::ostream & operator<<(std::ostream &out, PndHypDigi &digi)
Base class for Digi information.
Int_t GetIndex(int i=0) const