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

In This Package:

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::RecHeader Class Reference

Top level header for all detector reconstruction data. More...

#include <RecHeader.h>

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

List of all members.

Public Types

typedef std::vector< IHeader * > Vector
typedef std::vector< const
IHeader * > 
ConstVector

Public Member Functions

virtual const std::string & defLoc () const
 RecHeader ()
 Default Constructor.
virtual ~RecHeader ()
 Default Destructor.
virtual const CLID & clID () const
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::RecTriggerrecTrigger () const
 Retrieve const Reconstructed data from one DaqEvent.
DayaBay::RecTriggerrecTrigger ()
 Retrieve Reconstructed data from one DaqEvent.
void setRecTrigger (const DayaBay::RecTrigger &value)
 Update Reconstructed data from one DaqEvent.
virtual const std::string & defLoc ()
void setInputHeaders (const std::vector< const DayaBay::IHeader * > &iheaders)
void clearInputHeaders ()
void addInputHeader (const DayaBay::IHeader *iheader)
const TimeStamptimeStamp () const
void setTimeStamp (const TimeStamp &ts)
const std::vector< const
DayaBay::IHeader * > 
findHeaders (const CLID &clid) const
const std::vector< const
DayaBay::IHeader * > 
findHeaders (const std::string &name) const
const Contextcontext () const
void setContext (const Context &value)
int execNumber () const
void setExecNumber (int value)
const std::vector< unsigned
long > & 
randomState () const
void setRandomState (const std::vector< unsigned long > &value)
const std::vector< const
DayaBay::IHeader * > & 
inputHeaders () const
const DayaBay::JobIdjobId () const
void setJobId (const DayaBay::JobId &value)
virtual void setOutputAddress (const GenericAddress *roa)
virtual void setInputAddress (const GenericAddress *ria)
virtual const TimeStampearliest () const
void setEarliest (const TimeStamp &value)
virtual const TimeStamplatest () const
void setLatest (const TimeStamp &value)
virtual const GenericAddress * outputAddress () const
virtual const GenericAddress * inputAddress () const

Static Public Member Functions

static const std::string & defaultLocation ()
 Give access to default location from class scope.
static const CLID & classID ()
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

DayaBay::RecTrigger m_recTrigger
 Reconstructed data from one DaqEvent.

Detailed Description

Top level header for all detector reconstruction data.

Author:
tianxc@ihep.ac.cn, wenlj@ihep.ac.cn created Thu Dec 5 17:48:16 2013

Definition at line 49 of file RecHeader.h.


Constructor & Destructor Documentation

DayaBay::RecHeader::RecHeader ( ) [inline]

Default Constructor.

Definition at line 58 of file RecHeader.h.

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

Default Destructor.

Definition at line 61 of file RecHeader.h.

{}

Member Function Documentation

static const std::string& DayaBay::RecHeader::defaultLocation ( ) [inline, static]

Give access to default location from class scope.

Reimplemented from DayaBay::HeaderObject.

Definition at line 54 of file RecHeader.h.

virtual const std::string& DayaBay::RecHeader::defLoc ( ) const [inline, virtual]

Reimplemented from DayaBay::HeaderObject.

Definition at line 55 of file RecHeader.h.

const CLID & DayaBay::RecHeader::clID ( ) const [inline, virtual]

Reimplemented from DayaBay::HeaderObject.

Definition at line 136 of file RecHeader.h.

const CLID & DayaBay::RecHeader::classID ( ) [inline, static]

Reimplemented from DayaBay::HeaderObject.

Definition at line 141 of file RecHeader.h.

{
  return CLID_RecHeader;
}
std::ostream & DayaBay::RecHeader::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented from DayaBay::HeaderObject.

Definition at line 146 of file RecHeader.h.

{
  HeaderObject::fillStream(s);
  s << "{ " << "recTrigger :    " << m_recTrigger << std::endl << " }";
  return s;
}
const DayaBay::RecTrigger & DayaBay::RecHeader::recTrigger ( ) const [inline]

Retrieve const Reconstructed data from one DaqEvent.

Definition at line 154 of file RecHeader.h.

{
  return m_recTrigger;
}
DayaBay::RecTrigger & DayaBay::RecHeader::recTrigger ( ) [inline]

Retrieve Reconstructed data from one DaqEvent.

Definition at line 159 of file RecHeader.h.

{
  return m_recTrigger;
}
void DayaBay::RecHeader::setRecTrigger ( const DayaBay::RecTrigger value) [inline]

Update Reconstructed data from one DaqEvent.

Definition at line 164 of file RecHeader.h.

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

operator new

Reimplemented from DayaBay::HeaderObject.

Definition at line 85 of file RecHeader.h.

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

Definition at line 95 of file RecHeader.h.

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

operator delete

Reimplemented from DayaBay::HeaderObject.

Definition at line 101 of file RecHeader.h.

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

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

Reimplemented from DayaBay::HeaderObject.

Definition at line 110 of file RecHeader.h.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

Reconstructed data from one DaqEvent.

Definition at line 119 of file RecHeader.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 10:00:28 for RecEvent by doxygen 1.7.4