#include <ElecRpcPulse.h>
Inheritance diagram for DayaBay::ElecRpcPulse:
Public Member Functions | |
ElecRpcPulse () | |
Default Constructor. | |
virtual | ~ElecRpcPulse () |
Default Destructor. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
const DayaBay::ElecPulseCollection * | pc () const |
Retrieve const The pulse collection to which this pulse belongs. | |
void | setPc (DayaBay::ElecPulseCollection *value) |
Update The pulse collection to which this pulse belongs. | |
double | time () const |
Retrieve const The time, relative to the collection time, at which this pulse occurred. | |
void | setTime (double value) |
Update The time, relative to the collection time, at which this pulse occurred. | |
const DayaBay::ElecChannelId & | channelId () const |
Retrieve const Number used to identify the channel in the electronics / DAQ. | |
void | setChannelId (const DayaBay::ElecChannelId &value) |
Update Number used to identify the channel in the electronics / DAQ. | |
float | amplitude () const |
Retrieve const Relative amplitude of this pulse (relative to mean pulse height). | |
void | setAmplitude (float value) |
Update Relative amplitude of this pulse (relative to mean pulse height). | |
const DayaBay::SimHit * | ancestor () const |
Retrieve const The SimHit responsible for this pulse, if it exists. | |
DayaBay::SimHit * | ancestor () |
Retrieve The SimHit responsible for this pulse, if it exists. | |
void | setAncestor (DayaBay::SimHit *value) |
Update The SimHit responsible for this pulse, if it exists. | |
int | type () const |
Retrieve const The type of hit. | |
void | setType (int value) |
Update The type of hit. | |
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 |
Definition at line 43 of file ElecRpcPulse.h.
DayaBay::ElecRpcPulse::ElecRpcPulse | ( | ) | [inline] |
virtual DayaBay::ElecRpcPulse::~ElecRpcPulse | ( | ) | [inline, virtual] |
std::ostream & DayaBay::ElecRpcPulse::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Reimplemented from DayaBay::ElecPulse.
Definition at line 111 of file ElecRpcPulse.h.
00112 { 00113 ElecPulse::fillStream(s); 00114 return s; 00115 }
static void* DayaBay::ElecRpcPulse::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Reimplemented from DayaBay::ElecPulse.
Definition at line 59 of file ElecRpcPulse.h.
00060 { 00061 return ( sizeof(ElecRpcPulse) == size ? 00062 boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::malloc() : 00063 ::operator new(size) ); 00064 }
static void* DayaBay::ElecRpcPulse::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
Reimplemented from DayaBay::ElecPulse.
Definition at line 69 of file ElecRpcPulse.h.
static void DayaBay::ElecRpcPulse::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Reimplemented from DayaBay::ElecPulse.
Definition at line 75 of file ElecRpcPulse.h.
00076 { 00077 boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::is_from(p) ? 00078 boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::free(p) : 00079 ::operator delete(p); 00080 }
static void DayaBay::ElecRpcPulse::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Reimplemented from DayaBay::ElecPulse.
Definition at line 84 of file ElecRpcPulse.h.
00085 { 00086 ::operator delete (p, pObj); 00087 }
const DayaBay::ElecPulseCollection * DayaBay::ElecPulse::pc | ( | ) | const [inline, inherited] |
Retrieve const The pulse collection to which this pulse belongs.
Definition at line 186 of file ElecPulse.h.
00187 { 00188 return m_pc; 00189 }
void DayaBay::ElecPulse::setPc | ( | DayaBay::ElecPulseCollection * | value | ) | [inline, inherited] |
Update The pulse collection to which this pulse belongs.
Definition at line 191 of file ElecPulse.h.
00192 { 00193 m_pc = value; 00194 }
double DayaBay::ElecPulse::time | ( | ) | const [inline, inherited] |
Retrieve const The time, relative to the collection time, at which this pulse occurred.
Definition at line 196 of file ElecPulse.h.
00197 { 00198 return m_time; 00199 }
void DayaBay::ElecPulse::setTime | ( | double | value | ) | [inline, inherited] |
Update The time, relative to the collection time, at which this pulse occurred.
Definition at line 201 of file ElecPulse.h.
00202 { 00203 m_time = value; 00204 }
const DayaBay::ElecChannelId & DayaBay::ElecPulse::channelId | ( | ) | const [inline, inherited] |
Retrieve const Number used to identify the channel in the electronics / DAQ.
Definition at line 206 of file ElecPulse.h.
00207 { 00208 return m_channelId; 00209 }
void DayaBay::ElecPulse::setChannelId | ( | const DayaBay::ElecChannelId & | value | ) | [inline, inherited] |
Update Number used to identify the channel in the electronics / DAQ.
Definition at line 211 of file ElecPulse.h.
00212 { 00213 m_channelId = value; 00214 }
float DayaBay::ElecPulse::amplitude | ( | ) | const [inline, inherited] |
Retrieve const Relative amplitude of this pulse (relative to mean pulse height).
Definition at line 216 of file ElecPulse.h.
00217 { 00218 return m_amplitude; 00219 }
void DayaBay::ElecPulse::setAmplitude | ( | float | value | ) | [inline, inherited] |
Update Relative amplitude of this pulse (relative to mean pulse height).
Definition at line 221 of file ElecPulse.h.
00222 { 00223 m_amplitude = value; 00224 }
const DayaBay::SimHit * DayaBay::ElecPulse::ancestor | ( | ) | const [inline, inherited] |
Retrieve const The SimHit responsible for this pulse, if it exists.
Definition at line 226 of file ElecPulse.h.
00227 { 00228 return m_ancestor; 00229 }
DayaBay::SimHit * DayaBay::ElecPulse::ancestor | ( | ) | [inline, inherited] |
Retrieve The SimHit responsible for this pulse, if it exists.
Definition at line 231 of file ElecPulse.h.
00232 { 00233 return m_ancestor; 00234 }
void DayaBay::ElecPulse::setAncestor | ( | DayaBay::SimHit * | value | ) | [inline, inherited] |
Update The SimHit responsible for this pulse, if it exists.
Definition at line 236 of file ElecPulse.h.
00237 { 00238 m_ancestor = value; 00239 }
int DayaBay::ElecPulse::type | ( | ) | const [inline, inherited] |
Retrieve const The type of hit.
Definition at line 241 of file ElecPulse.h.
00242 { 00243 return m_type; 00244 }
void DayaBay::ElecPulse::setType | ( | int | value | ) | [inline, inherited] |
Update The type of hit.
Definition at line 246 of file ElecPulse.h.
00247 { 00248 m_type = value; 00249 }