CbmRoot
CbmStsDigi.cxx
Go to the documentation of this file.
1 
7 #include "CbmStsDigi.h"
8 
9 #include <sstream> // for operator<<, basic_ostream, char_traits
10 
11 using std::string;
12 using std::stringstream;
13 
14 // --- String output
15 string CbmStsDigi::ToString() const {
16  stringstream ss;
17  ss << "StsDigi: address " << fAddress << " | channel " << fChannel
18  << " | charge " << fCharge << " | time " << fTime;
19  return ss.str();
20 }
21 
CbmStsDigi::fAddress
Int_t fAddress
Unique element address.
Definition: CbmStsDigi.h:109
CbmStsDigi::ToString
std::string ToString() const
Definition: CbmStsDigi.cxx:15
CbmStsDigi.h
CbmStsDigi::fCharge
UShort_t fCharge
Charge [ADC units].
Definition: CbmStsDigi.h:111
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmStsDigi
Data class for a single-channel message in the STS.
Definition: CbmStsDigi.h:29
CbmStsDigi::fChannel
UShort_t fChannel
Channel number.
Definition: CbmStsDigi.h:110
CbmStsDigi::fTime
Long64_t fTime
Time [ns].
Definition: CbmStsDigi.h:108