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;
37 PndHypDigi(Int_t index, Int_t detID, TString detName, Int_t fe, Double_t charge);
58 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