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

A track reconstructed with normal RPC and telescope RPC. More...

#include <RecRpcTrack.h>

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

List of all members.

Public Member Functions

 RecRpcTrack (const RecRpcCluster *start, const RecRpcCluster *end)
 Constructor.
 RecRpcTrack ()
 Default Constructor.
virtual ~RecRpcTrack ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const CLHEP::HepLorentzVector direction () const
 The direction of this track.
const DayaBay::RecRpcClusterstart () const
 Retrieve const The start point in telescope of this track.
void setStart (const DayaBay::RecRpcCluster *value)
 Update The start point in telescope of this track.
const DayaBay::RecRpcClusterend () const
 Retrieve const The end point in normal RPC of this track.
void setEnd (const DayaBay::RecRpcCluster *value)
 Update The end point in normal RPC of this track.

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

const DayaBay::RecRpcClusterm_start
 The start point in telescope of this track.
const DayaBay::RecRpcClusterm_end
 The end point in normal RPC of this track.

Detailed Description

A track reconstructed with normal RPC and telescope RPC.

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

Definition at line 40 of file RecRpcTrack.h.


Constructor & Destructor Documentation

DayaBay::RecRpcTrack::RecRpcTrack ( const RecRpcCluster start,
const RecRpcCluster end 
) [inline]

Constructor.

Definition at line 45 of file RecRpcTrack.h.

DayaBay::RecRpcTrack::RecRpcTrack ( ) [inline]

Default Constructor.

Definition at line 50 of file RecRpcTrack.h.

                  : m_start(0),
                    m_end(0) {}
virtual DayaBay::RecRpcTrack::~RecRpcTrack ( ) [inline, virtual]

Default Destructor.

Definition at line 54 of file RecRpcTrack.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Definition at line 133 of file RecRpcTrack.h.

{
  s << "{ " << "start : " << m_start << std::endl
            << "end :   " << m_end << std::endl << " }";
  return s;
}
const CLHEP::HepLorentzVector RecRpcTrack::direction ( ) const

The direction of this track.

Definition at line 5 of file RecRpcTrack.cc.

{
    CLHEP::HepLorentzVector vDiff = m_end->position() - m_start->position();
    vDiff /= vDiff.rho();
    return vDiff;
}
const DayaBay::RecRpcCluster * DayaBay::RecRpcTrack::start ( ) const [inline]

Retrieve const The start point in telescope of this track.

Definition at line 141 of file RecRpcTrack.h.

{
  return m_start;
}
void DayaBay::RecRpcTrack::setStart ( const DayaBay::RecRpcCluster value) [inline]

Update The start point in telescope of this track.

Definition at line 146 of file RecRpcTrack.h.

{
  m_start = value;
}
const DayaBay::RecRpcCluster * DayaBay::RecRpcTrack::end ( ) const [inline]

Retrieve const The end point in normal RPC of this track.

Definition at line 151 of file RecRpcTrack.h.

{
  return m_end;
}
void DayaBay::RecRpcTrack::setEnd ( const DayaBay::RecRpcCluster value) [inline]

Update The end point in normal RPC of this track.

Definition at line 156 of file RecRpcTrack.h.

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

operator new

Definition at line 81 of file RecRpcTrack.h.

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

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

operator delete

Definition at line 97 of file RecRpcTrack.h.

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

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

Definition at line 106 of file RecRpcTrack.h.

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

Member Data Documentation

The start point in telescope of this track.

Definition at line 115 of file RecRpcTrack.h.

The end point in normal RPC of this track.

Definition at line 116 of file RecRpcTrack.h.


The documentation for this class was generated from the following files:
| 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