/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 | Private Attributes
DayaBay::TagAdEvent Class Reference

Data for AdEvent tag. More...

#include <TagAdEvent.h>

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

List of all members.

Public Member Functions

 TagAdEvent ()
 Default Constructor.
virtual ~TagAdEvent ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
int npmts () const
 Retrieve const Number of hit PMTs.
void setNpmts (int value)
 Update Number of hit PMTs.
float qsum () const
 Retrieve const Sum of PE in each PMT.
void setQsum (float value)
 Update Sum of PE in each PMT.
float qmean () const
 Retrieve const Average chage of all PMTs hit.
void setQmean (float value)
 Update Average chage of all PMTs hit.
float qrms () const
 Retrieve const RMS of PE in hit PMTs.
void setQrms (float value)
 Update RMS of PE in hit PMTs.
float qmax () const
 Retrieve const Largest PE in any one PMT.
void setQmax (float value)
 Update Largest PE in any one PMT.
float tmean () const
 Retrieve const Average time of all PMTs hit.
void setTmean (float value)
 Update Average time of all PMTs hit.
float trms () const
 Retrieve const RMS of T in hit PMTs.
void setTrms (float value)
 Update RMS of T in hit PMTs.
const DayaBay::TagHeaderheader () const
 Retrieve const Header for this tag.
void setHeader (DayaBay::TagHeader *value)
 Update Header for this tag.
float likelihood () const
 Retrieve const Some likelihood that this tag is applicable.
void setLikelihood (float value)
 Update Some likelihood that this tag is applicable.

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_npmts
 Number of hit PMTs.
float m_qsum
 Sum of PE in each PMT.
float m_qmean
 Average chage of all PMTs hit.
float m_qrms
 RMS of PE in hit PMTs.
float m_qmax
 Largest PE in any one PMT.
float m_tmean
 Average time of all PMTs hit.
float m_trms
 RMS of T in hit PMTs.

Detailed Description

Data for AdEvent tag.

Author:
bv@bnl.gov created Thu Dec 5 17:42:02 2013

Definition at line 39 of file TagAdEvent.h.


Constructor & Destructor Documentation

DayaBay::TagAdEvent::TagAdEvent ( ) [inline]

Default Constructor.

Definition at line 44 of file TagAdEvent.h.

                 : m_npmts(0),
                   m_qsum(0.0),
                   m_qmean(0.0),
                   m_qrms(0.0),
                   m_qmax(0.0),
                   m_tmean(0.0),
                   m_trms(0.0) {}
virtual DayaBay::TagAdEvent::~TagAdEvent ( ) [inline, virtual]

Default Destructor.

Definition at line 53 of file TagAdEvent.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::TagData.

Definition at line 174 of file TagAdEvent.h.

{
  TagData::fillStream(s);
  s << "{ " << "npmts : " << m_npmts << std::endl
            << "qsum :  " << m_qsum << std::endl
            << "qmean : " << m_qmean << std::endl
            << "qrms :  " << m_qrms << std::endl
            << "qmax :  " << m_qmax << std::endl
            << "tmean : " << m_tmean << std::endl
            << "trms :  " << m_trms << std::endl << " }";
  return s;
}
int DayaBay::TagAdEvent::npmts ( ) const [inline]

Retrieve const Number of hit PMTs.

Definition at line 188 of file TagAdEvent.h.

{
  return m_npmts;
}
void DayaBay::TagAdEvent::setNpmts ( int  value) [inline]

Update Number of hit PMTs.

Definition at line 193 of file TagAdEvent.h.

{
  m_npmts = value;
}
float DayaBay::TagAdEvent::qsum ( ) const [inline]

Retrieve const Sum of PE in each PMT.

Definition at line 198 of file TagAdEvent.h.

{
  return m_qsum;
}
void DayaBay::TagAdEvent::setQsum ( float  value) [inline]

Update Sum of PE in each PMT.

Definition at line 203 of file TagAdEvent.h.

{
  m_qsum = value;
}
float DayaBay::TagAdEvent::qmean ( ) const [inline]

Retrieve const Average chage of all PMTs hit.

Definition at line 208 of file TagAdEvent.h.

{
  return m_qmean;
}
void DayaBay::TagAdEvent::setQmean ( float  value) [inline]

Update Average chage of all PMTs hit.

Definition at line 213 of file TagAdEvent.h.

{
  m_qmean = value;
}
float DayaBay::TagAdEvent::qrms ( ) const [inline]

Retrieve const RMS of PE in hit PMTs.

Definition at line 218 of file TagAdEvent.h.

{
  return m_qrms;
}
void DayaBay::TagAdEvent::setQrms ( float  value) [inline]

Update RMS of PE in hit PMTs.

Definition at line 223 of file TagAdEvent.h.

{
  m_qrms = value;
}
float DayaBay::TagAdEvent::qmax ( ) const [inline]

Retrieve const Largest PE in any one PMT.

Definition at line 228 of file TagAdEvent.h.

{
  return m_qmax;
}
void DayaBay::TagAdEvent::setQmax ( float  value) [inline]

Update Largest PE in any one PMT.

Definition at line 233 of file TagAdEvent.h.

{
  m_qmax = value;
}
float DayaBay::TagAdEvent::tmean ( ) const [inline]

Retrieve const Average time of all PMTs hit.

Definition at line 238 of file TagAdEvent.h.

{
  return m_tmean;
}
void DayaBay::TagAdEvent::setTmean ( float  value) [inline]

Update Average time of all PMTs hit.

Definition at line 243 of file TagAdEvent.h.

{
  m_tmean = value;
}
float DayaBay::TagAdEvent::trms ( ) const [inline]

Retrieve const RMS of T in hit PMTs.

Definition at line 248 of file TagAdEvent.h.

{
  return m_trms;
}
void DayaBay::TagAdEvent::setTrms ( float  value) [inline]

Update RMS of T in hit PMTs.

Definition at line 253 of file TagAdEvent.h.

{
  m_trms = value;
}
static void* DayaBay::TagAdEvent::operator new ( size_t  size) [inline, static]

operator new

Reimplemented from DayaBay::TagData.

Definition at line 117 of file TagAdEvent.h.

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

Definition at line 127 of file TagAdEvent.h.

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

operator delete

Reimplemented from DayaBay::TagData.

Definition at line 133 of file TagAdEvent.h.

    {
      boost::singleton_pool<TagAdEvent, sizeof(TagAdEvent)>::is_from(p) ?
      boost::singleton_pool<TagAdEvent, sizeof(TagAdEvent)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::TagAdEvent::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Reimplemented from DayaBay::TagData.

Definition at line 142 of file TagAdEvent.h.

    {
      ::operator delete (p, pObj);
    }
const DayaBay::TagHeader * DayaBay::TagData::header ( ) const [inline, inherited]

Retrieve const Header for this tag.

Definition at line 135 of file TagData.h.

{
  return m_header;
}
void DayaBay::TagData::setHeader ( DayaBay::TagHeader value) [inline, inherited]

Update Header for this tag.

Definition at line 140 of file TagData.h.

{
  m_header = value;
}
float DayaBay::TagData::likelihood ( ) const [inline, inherited]

Retrieve const Some likelihood that this tag is applicable.

Definition at line 145 of file TagData.h.

{
  return m_likelihood;
}
void DayaBay::TagData::setLikelihood ( float  value) [inline, inherited]

Update Some likelihood that this tag is applicable.

Definition at line 150 of file TagData.h.

{
  m_likelihood = value;
}

Member Data Documentation

Number of hit PMTs.

Definition at line 151 of file TagAdEvent.h.

float DayaBay::TagAdEvent::m_qsum [private]

Sum of PE in each PMT.

Definition at line 152 of file TagAdEvent.h.

Average chage of all PMTs hit.

Definition at line 153 of file TagAdEvent.h.

float DayaBay::TagAdEvent::m_qrms [private]

RMS of PE in hit PMTs.

Definition at line 154 of file TagAdEvent.h.

float DayaBay::TagAdEvent::m_qmax [private]

Largest PE in any one PMT.

Definition at line 155 of file TagAdEvent.h.

Average time of all PMTs hit.

Definition at line 156 of file TagAdEvent.h.

float DayaBay::TagAdEvent::m_trms [private]

RMS of T in hit PMTs.

Definition at line 157 of file TagAdEvent.h.


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 09:58:57 for TagEvent by doxygen 1.7.4