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

Top level for all detector reconstructed trigger. More...

#include <RecTrigger.h>

Collaboration diagram for DayaBay::RecTrigger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RecTrigger ()
 Default Constructor.
 RecTrigger (const RecTrigger &rh)
 Copy Constructor.
RecTriggeroperator= (const RecTrigger &rh)
 Assignment operator.
virtual ~RecTrigger ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::Detectordetector () const
 Retrieve const The detector associated with this RecTrigger.
void setDetector (const DayaBay::Detector &value)
 Update The detector associated with this RecTrigger.
unsigned int triggerNumber () const
 Retrieve const The count of the trigger command from this detector.
void setTriggerNumber (unsigned int value)
 Update The count of the trigger command from this detector.
const TimeStamptriggerTime () const
 Retrieve const The absolute time of the trigger command.
void setTriggerTime (const TimeStamp &value)
 Update The absolute time of the trigger command.
const
DayaBay::Trigger::TriggerType_t
triggerType () const
 Retrieve const The type fo trigger that produced this RecTrigger.
void setTriggerType (const DayaBay::Trigger::TriggerType_t &value)
 Update The type fo trigger that produced this RecTrigger.
double energy () const
 Retrieve const The reconstruced visible energy.
void setEnergy (double value)
 Update The reconstruced visible energy.
double rawEvis () const
 Retrieve const The reconstructed visible energy, without any uniformity correction(s).
void setRawEvis (double value)
 Update The reconstructed visible energy, without any uniformity correction(s).
double enrec () const
 Retrieve const The reconstruced visible energy, with nonlinearity correction for neutron.
void setEnrec (double value)
 Update The reconstruced visible energy, with nonlinearity correction for neutron.
double eprec () const
 Retrieve const The reconstruced visible energy, with nonlinearity correction for positron.
void setEprec (double value)
 Update The reconstruced visible energy, with nonlinearity correction for positron.
const CLHEP::HepLorentzVectorposition () const
 Retrieve const The reconstructed vertex position and time.
void setPosition (const CLHEP::HepLorentzVector &value)
 Update The reconstructed vertex position and time.
const CLHEP::HepLorentzVectordirection () const
 Retrieve const The reconstructed track direction and time.
void setDirection (const CLHEP::HepLorentzVector &value)
 Update The reconstructed track direction and time.
int energyStatus () const
 Retrieve const The status of energy reconstruction.
void setEnergyStatus (int value)
 Update The status of energy reconstruction.
int positionStatus () const
 Retrieve const The status of vertex reconstruction.
void setPositionStatus (int value)
 Update The status of vertex reconstruction.
int directionStatus () const
 Retrieve const The status of track reconstruction.
void setDirectionStatus (int value)
 Update The status of track reconstruction.
double energyQuality () const
 Retrieve const A quality measure of energy reconstruction.
void setEnergyQuality (double value)
 Update A quality measure of energy reconstruction.
double positionQuality () const
 Retrieve const A quality measure of vertex reconstruction.
void setPositionQuality (double value)
 Update A quality measure of vertex reconstruction.
double directionQuality () const
 Retrieve const A quality measure of track reconstruction.
void setDirectionQuality (double value)
 Update A quality measure of track reconstruction.
const CLHEP::HepMatrix & errorMatrix () const
 Retrieve const The error matrix of the fitted parameters.
void setErrorMatrix (const CLHEP::HepMatrix &value)
 Update The error matrix of the fitted parameters.
const DayaBay::RecHeaderheader () const
 Retrieve const The rec header associated with this recTrigger.
void setHeader (DayaBay::RecHeader *value)
 Update The rec header associated with this recTrigger.

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

DayaBay::Detector m_detector
 The detector associated with this RecTrigger.
unsigned int m_triggerNumber
 The count of the trigger command from this detector.
TimeStamp m_triggerTime
 The absolute time of the trigger command.
DayaBay::Trigger::TriggerType_t m_triggerType
 The type fo trigger that produced this RecTrigger.
double m_energy
 The reconstruced visible energy.
double m_rawEvis
 The reconstructed visible energy, without any uniformity correction(s).
double m_enrec
 The reconstruced visible energy, with nonlinearity correction for neutron.
double m_eprec
 The reconstruced visible energy, with nonlinearity correction for positron.
CLHEP::HepLorentzVector m_position
 The reconstructed vertex position and time.
CLHEP::HepLorentzVector m_direction
 The reconstructed track direction and time.
int m_energyStatus
 The status of energy reconstruction.
int m_positionStatus
 The status of vertex reconstruction.
int m_directionStatus
 The status of track reconstruction.
double m_energyQuality
 A quality measure of energy reconstruction.
double m_positionQuality
 A quality measure of vertex reconstruction.
double m_directionQuality
 A quality measure of track reconstruction.
CLHEP::HepMatrix m_errorMatrix
 The error matrix of the fitted parameters.
DayaBay::RecHeaderm_header
 The rec header associated with this recTrigger.

Detailed Description

Top level for all detector reconstructed trigger.

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

Definition at line 46 of file RecTrigger.h.


Constructor & Destructor Documentation

DayaBay::RecTrigger::RecTrigger ( ) [inline]
DayaBay::RecTrigger::RecTrigger ( const RecTrigger rh) [inline]

Copy Constructor.

Definition at line 299 of file RecTrigger.h.

                                                                 : 
   m_detector( rh.m_detector ),
   m_triggerNumber( rh.m_triggerNumber ),
   m_triggerTime( rh.m_triggerTime ),
   m_triggerType( rh.m_triggerType ),
   m_energy( rh.m_energy ),
   m_rawEvis( rh.m_rawEvis ),
   m_enrec( rh.m_enrec ),
   m_eprec( rh.m_eprec ),
   m_position( rh.m_position ),
   m_direction( rh.m_direction ),
   m_energyStatus( rh.m_energyStatus ),
   m_positionStatus( rh.m_positionStatus ),
   m_directionStatus( rh.m_directionStatus ),
   m_energyQuality( rh.m_energyQuality ),
   m_positionQuality( rh.m_positionQuality ),
   m_directionQuality( rh.m_directionQuality ),
   m_errorMatrix( rh.m_errorMatrix ),
   m_header( rh.m_header )
   {}
virtual DayaBay::RecTrigger::~RecTrigger ( ) [inline, virtual]

Default Destructor.

Definition at line 77 of file RecTrigger.h.

{}

Member Function Documentation

DayaBay::RecTrigger & DayaBay::RecTrigger::operator= ( const RecTrigger rh) [inline]

Assignment operator.

Definition at line 320 of file RecTrigger.h.

                                                                                    {
  if ( this != &rh ) {
    m_detector         = rh.m_detector;
    m_triggerNumber    = rh.m_triggerNumber;
    m_triggerTime      = rh.m_triggerTime;
    m_triggerType      = rh.m_triggerType;
    m_energy           = rh.m_energy;
    m_rawEvis          = rh.m_rawEvis;
    m_enrec            = rh.m_enrec;
    m_eprec            = rh.m_eprec;
    m_position         = rh.m_position;
    m_direction        = rh.m_direction;
    m_energyStatus     = rh.m_energyStatus;
    m_positionStatus   = rh.m_positionStatus;
    m_directionStatus  = rh.m_directionStatus;
    m_energyQuality    = rh.m_energyQuality;
    m_positionQuality  = rh.m_positionQuality;
    m_directionQuality = rh.m_directionQuality;
    m_errorMatrix      = rh.m_errorMatrix;
    m_header           = rh.m_header;
  }
  return *this;
}
std::ostream & DayaBay::RecTrigger::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Definition at line 344 of file RecTrigger.h.

{
  s << "{ " << "detector :      " << m_detector << std::endl
            << "triggerNumber : " << m_triggerNumber << std::endl
            << "triggerTime :   " << m_triggerTime << std::endl
            << "triggerType :   " << m_triggerType << std::endl
            << "energy :        " << (float)m_energy << std::endl
            << "rawEvis :       " << (float)m_rawEvis << std::endl
            << "enrec : " << (float)m_enrec << std::endl
            << "eprec : " << (float)m_eprec << std::endl
            << "position :      " << m_position << std::endl
            << "direction :     " << m_direction << std::endl
            << "energyStatus :  " << m_energyStatus << std::endl
            << "positionStatus :        " << m_positionStatus << std::endl
            << "directionStatus :       " << m_directionStatus << std::endl
            << "energyQuality : " << (float)m_energyQuality << std::endl
            << "positionQuality :       " << (float)m_positionQuality << std::endl
            << "directionQuality :      " << (float)m_directionQuality << std::endl
            << "errorMatrix :   " << m_errorMatrix << std::endl
            << "header :        " << m_header << std::endl << " }";
  return s;
}
const DayaBay::Detector & DayaBay::RecTrigger::detector ( ) const [inline]

Retrieve const The detector associated with this RecTrigger.

Definition at line 368 of file RecTrigger.h.

{
  return m_detector;
}
void DayaBay::RecTrigger::setDetector ( const DayaBay::Detector value) [inline]

Update The detector associated with this RecTrigger.

Definition at line 373 of file RecTrigger.h.

{
  m_detector = value;
}
unsigned int DayaBay::RecTrigger::triggerNumber ( ) const [inline]

Retrieve const The count of the trigger command from this detector.

Definition at line 378 of file RecTrigger.h.

{
  return m_triggerNumber;
}
void DayaBay::RecTrigger::setTriggerNumber ( unsigned int  value) [inline]

Update The count of the trigger command from this detector.

Definition at line 383 of file RecTrigger.h.

{
  m_triggerNumber = value;
}
const TimeStamp & DayaBay::RecTrigger::triggerTime ( ) const [inline]

Retrieve const The absolute time of the trigger command.

Definition at line 388 of file RecTrigger.h.

{
  return m_triggerTime;
}
void DayaBay::RecTrigger::setTriggerTime ( const TimeStamp value) [inline]

Update The absolute time of the trigger command.

Definition at line 393 of file RecTrigger.h.

{
  m_triggerTime = value;
}
const DayaBay::Trigger::TriggerType_t & DayaBay::RecTrigger::triggerType ( ) const [inline]

Retrieve const The type fo trigger that produced this RecTrigger.

Definition at line 398 of file RecTrigger.h.

{
  return m_triggerType;
}
void DayaBay::RecTrigger::setTriggerType ( const DayaBay::Trigger::TriggerType_t value) [inline]

Update The type fo trigger that produced this RecTrigger.

Definition at line 403 of file RecTrigger.h.

{
  m_triggerType = value;
}
double DayaBay::RecTrigger::energy ( ) const [inline]

Retrieve const The reconstruced visible energy.

Definition at line 408 of file RecTrigger.h.

{
  return m_energy;
}
void DayaBay::RecTrigger::setEnergy ( double  value) [inline]

Update The reconstruced visible energy.

Definition at line 413 of file RecTrigger.h.

{
  m_energy = value;
}
double DayaBay::RecTrigger::rawEvis ( ) const [inline]

Retrieve const The reconstructed visible energy, without any uniformity correction(s).

Definition at line 418 of file RecTrigger.h.

{
  return m_rawEvis;
}
void DayaBay::RecTrigger::setRawEvis ( double  value) [inline]

Update The reconstructed visible energy, without any uniformity correction(s).

Definition at line 423 of file RecTrigger.h.

{
  m_rawEvis = value;
}
double DayaBay::RecTrigger::enrec ( ) const [inline]

Retrieve const The reconstruced visible energy, with nonlinearity correction for neutron.

Definition at line 428 of file RecTrigger.h.

{
  return m_enrec;
}
void DayaBay::RecTrigger::setEnrec ( double  value) [inline]

Update The reconstruced visible energy, with nonlinearity correction for neutron.

Definition at line 433 of file RecTrigger.h.

{
  m_enrec = value;
}
double DayaBay::RecTrigger::eprec ( ) const [inline]

Retrieve const The reconstruced visible energy, with nonlinearity correction for positron.

Definition at line 438 of file RecTrigger.h.

{
  return m_eprec;
}
void DayaBay::RecTrigger::setEprec ( double  value) [inline]

Update The reconstruced visible energy, with nonlinearity correction for positron.

Definition at line 443 of file RecTrigger.h.

{
  m_eprec = value;
}
const CLHEP::HepLorentzVector & DayaBay::RecTrigger::position ( ) const [inline]

Retrieve const The reconstructed vertex position and time.

Definition at line 448 of file RecTrigger.h.

{
  return m_position;
}
void DayaBay::RecTrigger::setPosition ( const CLHEP::HepLorentzVector value) [inline]

Update The reconstructed vertex position and time.

Definition at line 453 of file RecTrigger.h.

{
  m_position = value;
}
const CLHEP::HepLorentzVector & DayaBay::RecTrigger::direction ( ) const [inline]

Retrieve const The reconstructed track direction and time.

Definition at line 458 of file RecTrigger.h.

{
  return m_direction;
}
void DayaBay::RecTrigger::setDirection ( const CLHEP::HepLorentzVector value) [inline]

Update The reconstructed track direction and time.

Definition at line 463 of file RecTrigger.h.

{
  m_direction = value;
}
int DayaBay::RecTrigger::energyStatus ( ) const [inline]

Retrieve const The status of energy reconstruction.

Definition at line 468 of file RecTrigger.h.

{
  return m_energyStatus;
}
void DayaBay::RecTrigger::setEnergyStatus ( int  value) [inline]

Update The status of energy reconstruction.

Definition at line 473 of file RecTrigger.h.

{
  m_energyStatus = value;
}
int DayaBay::RecTrigger::positionStatus ( ) const [inline]

Retrieve const The status of vertex reconstruction.

Definition at line 478 of file RecTrigger.h.

{
  return m_positionStatus;
}
void DayaBay::RecTrigger::setPositionStatus ( int  value) [inline]

Update The status of vertex reconstruction.

Definition at line 483 of file RecTrigger.h.

{
  m_positionStatus = value;
}
int DayaBay::RecTrigger::directionStatus ( ) const [inline]

Retrieve const The status of track reconstruction.

Definition at line 488 of file RecTrigger.h.

{
  return m_directionStatus;
}
void DayaBay::RecTrigger::setDirectionStatus ( int  value) [inline]

Update The status of track reconstruction.

Definition at line 493 of file RecTrigger.h.

{
  m_directionStatus = value;
}
double DayaBay::RecTrigger::energyQuality ( ) const [inline]

Retrieve const A quality measure of energy reconstruction.

Definition at line 498 of file RecTrigger.h.

{
  return m_energyQuality;
}
void DayaBay::RecTrigger::setEnergyQuality ( double  value) [inline]

Update A quality measure of energy reconstruction.

Definition at line 503 of file RecTrigger.h.

{
  m_energyQuality = value;
}
double DayaBay::RecTrigger::positionQuality ( ) const [inline]

Retrieve const A quality measure of vertex reconstruction.

Definition at line 508 of file RecTrigger.h.

{
  return m_positionQuality;
}
void DayaBay::RecTrigger::setPositionQuality ( double  value) [inline]

Update A quality measure of vertex reconstruction.

Definition at line 513 of file RecTrigger.h.

{
  m_positionQuality = value;
}
double DayaBay::RecTrigger::directionQuality ( ) const [inline]

Retrieve const A quality measure of track reconstruction.

Definition at line 518 of file RecTrigger.h.

{
  return m_directionQuality;
}
void DayaBay::RecTrigger::setDirectionQuality ( double  value) [inline]

Update A quality measure of track reconstruction.

Definition at line 523 of file RecTrigger.h.

{
  m_directionQuality = value;
}
const CLHEP::HepMatrix & DayaBay::RecTrigger::errorMatrix ( ) const [inline]

Retrieve const The error matrix of the fitted parameters.

Definition at line 528 of file RecTrigger.h.

{
  return m_errorMatrix;
}
void DayaBay::RecTrigger::setErrorMatrix ( const CLHEP::HepMatrix &  value) [inline]

Update The error matrix of the fitted parameters.

Definition at line 533 of file RecTrigger.h.

{
  m_errorMatrix = value;
}
const DayaBay::RecHeader * DayaBay::RecTrigger::header ( ) const [inline]

Retrieve const The rec header associated with this recTrigger.

Definition at line 538 of file RecTrigger.h.

{
  return m_header;
}
void DayaBay::RecTrigger::setHeader ( DayaBay::RecHeader value) [inline]

Update The rec header associated with this recTrigger.

Definition at line 543 of file RecTrigger.h.

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

operator new

Definition at line 229 of file RecTrigger.h.

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

Definition at line 239 of file RecTrigger.h.

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

operator delete

Definition at line 245 of file RecTrigger.h.

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

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

Definition at line 254 of file RecTrigger.h.

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

Member Data Documentation

The detector associated with this RecTrigger.

Definition at line 263 of file RecTrigger.h.

unsigned int DayaBay::RecTrigger::m_triggerNumber [private]

The count of the trigger command from this detector.

Definition at line 264 of file RecTrigger.h.

The absolute time of the trigger command.

Definition at line 265 of file RecTrigger.h.

The type fo trigger that produced this RecTrigger.

Definition at line 266 of file RecTrigger.h.

The reconstruced visible energy.

Definition at line 267 of file RecTrigger.h.

The reconstructed visible energy, without any uniformity correction(s).

Definition at line 268 of file RecTrigger.h.

double DayaBay::RecTrigger::m_enrec [private]

The reconstruced visible energy, with nonlinearity correction for neutron.

Definition at line 269 of file RecTrigger.h.

double DayaBay::RecTrigger::m_eprec [private]

The reconstruced visible energy, with nonlinearity correction for positron.

Definition at line 270 of file RecTrigger.h.

The reconstructed vertex position and time.

Definition at line 271 of file RecTrigger.h.

The reconstructed track direction and time.

Definition at line 272 of file RecTrigger.h.

The status of energy reconstruction.

Definition at line 273 of file RecTrigger.h.

The status of vertex reconstruction.

Definition at line 274 of file RecTrigger.h.

The status of track reconstruction.

Definition at line 275 of file RecTrigger.h.

A quality measure of energy reconstruction.

Definition at line 276 of file RecTrigger.h.

A quality measure of vertex reconstruction.

Definition at line 277 of file RecTrigger.h.

A quality measure of track reconstruction.

Definition at line 278 of file RecTrigger.h.

CLHEP::HepMatrix DayaBay::RecTrigger::m_errorMatrix [private]

The error matrix of the fitted parameters.

Definition at line 279 of file RecTrigger.h.

The rec header associated with this recTrigger.

Definition at line 280 of file RecTrigger.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