/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::RecRpcHeader Class Reference

Top level header for reconstructed RPC event. More...

#include <RecRpcHeader.h>

Inheritance diagram for DayaBay::RecRpcHeader:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::RecRpcHeader:
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
 RecRpcHeader ()
 Default Constructor.
virtual ~RecRpcHeader ()
 Default Destructor.
virtual const CLID & clID () const
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::RecRpcTriggerrecTrigger () const
 Retrieve const Reconstructed data from RPC event.
DayaBay::RecRpcTriggerrecTrigger ()
 Retrieve Reconstructed data from RPC event.
void setRecTrigger (const DayaBay::RecRpcTrigger &value)
 Update Reconstructed data from RPC event.
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::RecRpcTrigger m_recTrigger
 Reconstructed data from RPC event.

Detailed Description

Top level header for reconstructed RPC event.

Author:
zoujh@ihep.ac.cn created Thu Dec 5 17:48:16 2013

Definition at line 49 of file RecRpcHeader.h.


Constructor & Destructor Documentation

DayaBay::RecRpcHeader::RecRpcHeader ( ) [inline]

Default Constructor.

Definition at line 58 of file RecRpcHeader.h.

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

Default Destructor.

Definition at line 61 of file RecRpcHeader.h.

{}

Member Function Documentation

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

Give access to default location from class scope.

Reimplemented from DayaBay::HeaderObject.

Definition at line 54 of file RecRpcHeader.h.

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

Reimplemented from DayaBay::HeaderObject.

Definition at line 55 of file RecRpcHeader.h.

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

Reimplemented from DayaBay::HeaderObject.

Definition at line 136 of file RecRpcHeader.h.

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

Reimplemented from DayaBay::HeaderObject.

Definition at line 141 of file RecRpcHeader.h.

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

Fill the ASCII output stream.

Reimplemented from DayaBay::HeaderObject.

Definition at line 146 of file RecRpcHeader.h.

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

Retrieve const Reconstructed data from RPC event.

Definition at line 154 of file RecRpcHeader.h.

{
  return m_recTrigger;
}
DayaBay::RecRpcTrigger & DayaBay::RecRpcHeader::recTrigger ( ) [inline]

Retrieve Reconstructed data from RPC event.

Definition at line 159 of file RecRpcHeader.h.

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

Update Reconstructed data from RPC event.

Definition at line 164 of file RecRpcHeader.h.

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

operator new

Reimplemented from DayaBay::HeaderObject.

Definition at line 85 of file RecRpcHeader.h.

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

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

operator delete

Reimplemented from DayaBay::HeaderObject.

Definition at line 101 of file RecRpcHeader.h.

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

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

Member Data Documentation

Reconstructed data from RPC event.

Definition at line 119 of file RecRpcHeader.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