#include <RawPmtChannel.h>
Public Member Functions | |
| RawPmtChannel () | |
| Default Constructor. | |
| virtual | ~RawPmtChannel () |
| Default Destructor. | |
| virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the ASCII output stream. | |
| int | channel () const |
| Retrieve const -1: no value. | |
| void | setChannel (int value) |
| Update -1: no value. | |
| const std::vector< int > & | adc () const |
| Retrieve const ADC. | |
| void | setAdc (const std::vector< int > &value) |
| Update ADC. | |
| const std::vector< int > & | adcPeakingCycle () const |
| Retrieve const ADC Peaking Cycle. | |
| void | setAdcPeakingCycle (const std::vector< int > &value) |
| Update ADC Peaking Cycle. | |
| const std::vector< int > & | adcRange () const |
| Retrieve const ADC Range. | |
| void | setAdcRange (const std::vector< int > &value) |
| Update ADC Range. | |
| const std::vector< int > & | tdc () const |
| Retrieve const TDC. | |
| void | setTdc (const std::vector< int > &value) |
| Update TDC. | |
| const std::vector< int > & | tdcHitCount () const |
| Retrieve const TDC Hit Count. | |
| void | setTdcHitCount (const std::vector< int > &value) |
| Update TDC Hit Count. | |
| const std::vector< int > & | pedestal () const |
| Retrieve const pedestal. | |
| void | setPedestal (const std::vector< int > &value) |
| Update pedestal. | |
Static Public Member Functions | |
| static void * | operator new (size_t size) |
| operator new | |
| static void * | operator new (size_t size, void *pObj) |
| placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
| static void | operator delete (void *p) |
| operator delete | |
| static void | operator delete (void *p, void *pObj) |
| placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
| int | m_channel |
| -1: no value | |
| std::vector< int > | m_adc |
| ADC. | |
| std::vector< int > | m_adcPeakingCycle |
| ADC Peaking Cycle. | |
| std::vector< int > | m_adcRange |
| ADC Range. | |
| std::vector< int > | m_tdc |
| TDC. | |
| std::vector< int > | m_tdcHitCount |
| TDC Hit Count. | |
| std::vector< int > | m_pedestal |
| pedestal | |
Definition at line 41 of file RawPmtChannel.h.
| DayaBay::RawPmtChannel::RawPmtChannel | ( | ) | [inline] |
Default Constructor.
Definition at line 46 of file RawPmtChannel.h.
00046 : m_channel(-1), 00047 m_adc(), 00048 m_adcPeakingCycle(), 00049 m_adcRange(), 00050 m_tdc(), 00051 m_tdcHitCount(), 00052 m_pedestal() {}
| virtual DayaBay::RawPmtChannel::~RawPmtChannel | ( | ) | [inline, virtual] |
| std::ostream & DayaBay::RawPmtChannel::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Definition at line 176 of file RawPmtChannel.h.
00177 { 00178 s << "{ " << "channel : " << m_channel << std::endl 00179 << "adc : " << m_adc << std::endl 00180 << "adcPeakingCycle : " << m_adcPeakingCycle << std::endl 00181 << "adcRange : " << m_adcRange << std::endl 00182 << "tdc : " << m_tdc << std::endl 00183 << "tdcHitCount : " << m_tdcHitCount << std::endl 00184 << "pedestal : " << m_pedestal << std::endl << " }"; 00185 return s; 00186 }
| int DayaBay::RawPmtChannel::channel | ( | ) | const [inline] |
Retrieve const -1: no value.
Definition at line 189 of file RawPmtChannel.h.
00190 { 00191 return m_channel; 00192 }
| void DayaBay::RawPmtChannel::setChannel | ( | int | value | ) | [inline] |
Update -1: no value.
Definition at line 194 of file RawPmtChannel.h.
00195 { 00196 m_channel = value; 00197 }
| const std::vector< int > & DayaBay::RawPmtChannel::adc | ( | ) | const [inline] |
Retrieve const ADC.
Definition at line 199 of file RawPmtChannel.h.
00200 { 00201 return m_adc; 00202 }
| void DayaBay::RawPmtChannel::setAdc | ( | const std::vector< int > & | value | ) | [inline] |
| const std::vector< int > & DayaBay::RawPmtChannel::adcPeakingCycle | ( | ) | const [inline] |
Retrieve const ADC Peaking Cycle.
Definition at line 209 of file RawPmtChannel.h.
00210 { 00211 return m_adcPeakingCycle; 00212 }
| void DayaBay::RawPmtChannel::setAdcPeakingCycle | ( | const std::vector< int > & | value | ) | [inline] |
Update ADC Peaking Cycle.
Definition at line 214 of file RawPmtChannel.h.
00215 { 00216 m_adcPeakingCycle = value; 00217 }
| const std::vector< int > & DayaBay::RawPmtChannel::adcRange | ( | ) | const [inline] |
Retrieve const ADC Range.
Definition at line 219 of file RawPmtChannel.h.
00220 { 00221 return m_adcRange; 00222 }
| void DayaBay::RawPmtChannel::setAdcRange | ( | const std::vector< int > & | value | ) | [inline] |
Update ADC Range.
Definition at line 224 of file RawPmtChannel.h.
00225 { 00226 m_adcRange = value; 00227 }
| const std::vector< int > & DayaBay::RawPmtChannel::tdc | ( | ) | const [inline] |
Retrieve const TDC.
Definition at line 229 of file RawPmtChannel.h.
00230 { 00231 return m_tdc; 00232 }
| void DayaBay::RawPmtChannel::setTdc | ( | const std::vector< int > & | value | ) | [inline] |
| const std::vector< int > & DayaBay::RawPmtChannel::tdcHitCount | ( | ) | const [inline] |
Retrieve const TDC Hit Count.
Definition at line 239 of file RawPmtChannel.h.
00240 { 00241 return m_tdcHitCount; 00242 }
| void DayaBay::RawPmtChannel::setTdcHitCount | ( | const std::vector< int > & | value | ) | [inline] |
Update TDC Hit Count.
Definition at line 244 of file RawPmtChannel.h.
00245 { 00246 m_tdcHitCount = value; 00247 }
| const std::vector< int > & DayaBay::RawPmtChannel::pedestal | ( | ) | const [inline] |
Retrieve const pedestal.
Definition at line 249 of file RawPmtChannel.h.
00250 { 00251 return m_pedestal; 00252 }
| void DayaBay::RawPmtChannel::setPedestal | ( | const std::vector< int > & | value | ) | [inline] |
Update pedestal.
Definition at line 254 of file RawPmtChannel.h.
00255 { 00256 m_pedestal = value; 00257 }
| static void* DayaBay::RawPmtChannel::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 119 of file RawPmtChannel.h.
00120 { 00121 return ( sizeof(RawPmtChannel) == size ? 00122 boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::malloc() : 00123 ::operator new(size) ); 00124 }
| static void* DayaBay::RawPmtChannel::operator new | ( | size_t | size, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 129 of file RawPmtChannel.h.
| static void DayaBay::RawPmtChannel::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 135 of file RawPmtChannel.h.
00136 { 00137 boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::is_from(p) ? 00138 boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::free(p) : 00139 ::operator delete(p); 00140 }
| static void DayaBay::RawPmtChannel::operator delete | ( | void * | p, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 144 of file RawPmtChannel.h.
00145 { 00146 ::operator delete (p, pObj); 00147 }
int DayaBay::RawPmtChannel::m_channel [private] |
std::vector<int> DayaBay::RawPmtChannel::m_adc [private] |
std::vector<int> DayaBay::RawPmtChannel::m_adcPeakingCycle [private] |
std::vector<int> DayaBay::RawPmtChannel::m_adcRange [private] |
std::vector<int> DayaBay::RawPmtChannel::m_tdc [private] |
std::vector<int> DayaBay::RawPmtChannel::m_tdcHitCount [private] |
std::vector<int> DayaBay::RawPmtChannel::m_pedestal [private] |
1.4.7