/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions
DayaBay::ElecPmtPulse Class Reference

PMT specific pulse information. More...

#include <ElecPmtPulse.h>

Inheritance diagram for DayaBay::ElecPmtPulse:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::ElecPmtPulse:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ElecPmtPulse ()
 Default Constructor.
virtual ~ElecPmtPulse ()
 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::ElecChannelIdchannelId () 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::SimHitancestor () const
 Retrieve const The SimHit responsible for this pulse, if it exists.
DayaBay::SimHitancestor ()
 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

Detailed Description

PMT specific pulse information.

Author:
dandwyer@caltech.edu created Thu Dec 5 18:07:48 2013

Definition at line 43 of file ElecPmtPulse.h.


Constructor & Destructor Documentation

DayaBay::ElecPmtPulse::ElecPmtPulse ( ) [inline]

Default Constructor.

Definition at line 48 of file ElecPmtPulse.h.

{}
virtual DayaBay::ElecPmtPulse::~ElecPmtPulse ( ) [inline, virtual]

Default Destructor.

Definition at line 51 of file ElecPmtPulse.h.

{}

Member Function Documentation

std::ostream & DayaBay::ElecPmtPulse::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented from DayaBay::ElecPulse.

Definition at line 111 of file ElecPmtPulse.h.

{
  ElecPulse::fillStream(s);
  return s;
}
static void* DayaBay::ElecPmtPulse::operator new ( size_t  size) [inline, static]

operator new

Reimplemented from DayaBay::ElecPulse.

Definition at line 59 of file ElecPmtPulse.h.

    {
      return ( sizeof(ElecPmtPulse) == size ? 
               boost::singleton_pool<ElecPmtPulse, sizeof(ElecPmtPulse)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::ElecPmtPulse::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 ElecPmtPulse.h.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::ElecPmtPulse::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented from DayaBay::ElecPulse.

Definition at line 75 of file ElecPmtPulse.h.

    {
      boost::singleton_pool<ElecPmtPulse, sizeof(ElecPmtPulse)>::is_from(p) ?
      boost::singleton_pool<ElecPmtPulse, sizeof(ElecPmtPulse)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::ElecPmtPulse::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 ElecPmtPulse.h.

    {
      ::operator delete (p, pObj);
    }
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.

{
  return m_pc;
}
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.

{
  m_pc = value;
}
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.

{
  return m_time;
}
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.

{
  m_time = value;
}
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.

{
  return m_channelId;
}
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.

{
  m_channelId = value;
}
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.

{
  return m_amplitude;
}
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.

{
  m_amplitude = value;
}
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.

{
  return m_ancestor;
}
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.

{
  return m_ancestor;
}
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.

{
  m_ancestor = value;
}
int DayaBay::ElecPulse::type ( ) const [inline, inherited]

Retrieve const The type of hit.

Definition at line 241 of file ElecPulse.h.

{
  return m_type;
}
void DayaBay::ElecPulse::setType ( int  value) [inline, inherited]

Update The type of hit.

Definition at line 246 of file ElecPulse.h.

{
  m_type = value;
}

The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:05:49 for ElecEvent by doxygen 1.7.4