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

The reconstructed RPC cluster. More...

#include <RecRpcCluster.h>

List of all members.

Public Types

enum  ClusterType { kUnknown = 0, kNormalRPC = 1, kTelescopeRPC = 2 }
 Where the cluster comes from. More...

Public Member Functions

 RecRpcCluster (const CLHEP::HepLorentzVector &position)
 Constructor.
 RecRpcCluster (const CLHEP::HepLorentzVector &position, const ReconStatus::ReconStatus_t &status, double quality, const ClusterType &type)
 Constructor.
 RecRpcCluster ()
 Default Constructor.
 RecRpcCluster (const RecRpcCluster &rh)
 Copy Constructor.
RecRpcClusteroperator= (const RecRpcCluster &rh)
 Assignment operator.
virtual ~RecRpcCluster ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const CLHEP::HepLorentzVectorposition () const
 Retrieve const Position of the reconstructed cluster.
void setPosition (const CLHEP::HepLorentzVector &value)
 Update Position of the reconstructed cluster.
int maxHitsInLayer () const
 Retrieve const The max hits number in a layer.
void setMaxHitsInLayer (int value)
 Update The max hits number in a layer.
bool is4of4 () const
 Retrieve const It's a 4of4 trigger cluster.
void setIs4of4 (bool value)
 Update It's a 4of4 trigger cluster.
const ReconStatus::ReconStatus_tstatus () const
 Retrieve const Status of the reconstructed cluster.
void setStatus (const ReconStatus::ReconStatus_t &value)
 Update Status of the reconstructed cluster.
double quality () const
 Retrieve const Quality of the reconstructed cluster.
void setQuality (double value)
 Update Quality of the reconstructed cluster.
const ClusterTypetype () const
 Retrieve const Type (Unknown/Normal/Telescpe) of the reconstructed cluster.
void setType (const ClusterType &value)
 Update Type (Unknown/Normal/Telescpe) of the reconstructed cluster.

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

CLHEP::HepLorentzVector m_position
 Position of the reconstructed cluster.
int m_maxHitsInLayer
 The max hits number in a layer.
bool m_is4of4
 It's a 4of4 trigger cluster.
ReconStatus::ReconStatus_t m_status
 Status of the reconstructed cluster.
double m_quality
 Quality of the reconstructed cluster.
ClusterType m_type
 Type (Unknown/Normal/Telescpe) of the reconstructed cluster.

Detailed Description

The reconstructed RPC cluster.

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

Definition at line 40 of file RecRpcCluster.h.


Member Enumeration Documentation

Where the cluster comes from.

Enumerator:
kUnknown 
kNormalRPC 
kTelescopeRPC 

Definition at line 45 of file RecRpcCluster.h.

                    { kUnknown = 0,      // 
                      kNormalRPC = 1,    // 
                      kTelescopeRPC = 2  // 
      };

Constructor & Destructor Documentation

RecRpcCluster::RecRpcCluster ( const CLHEP::HepLorentzVector position)
RecRpcCluster::RecRpcCluster ( const CLHEP::HepLorentzVector position,
const ReconStatus::ReconStatus_t status,
double  quality,
const ClusterType type 
)

Constructor.

Definition at line 15 of file RecRpcCluster.cc.

DayaBay::RecRpcCluster::RecRpcCluster ( ) [inline]

Default Constructor.

Definition at line 60 of file RecRpcCluster.h.

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

Copy Constructor.

Definition at line 196 of file RecRpcCluster.h.

                                                                          : 
   m_position( rh.m_position ),
   m_maxHitsInLayer( rh.m_maxHitsInLayer ),
   m_is4of4( rh.m_is4of4 ),
   m_status( rh.m_status ),
   m_quality( rh.m_quality ),
   m_type( rh.m_type )
   {}
virtual DayaBay::RecRpcCluster::~RecRpcCluster ( ) [inline, virtual]

Default Destructor.

Definition at line 74 of file RecRpcCluster.h.

{}

Member Function Documentation

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

Assignment operator.

Definition at line 205 of file RecRpcCluster.h.

                                                                                             {
  if ( this != &rh ) {
    m_position       = rh.m_position;
    m_maxHitsInLayer = rh.m_maxHitsInLayer;
    m_is4of4         = rh.m_is4of4;
    m_status         = rh.m_status;
    m_quality        = rh.m_quality;
    m_type           = rh.m_type;
  }
  return *this;
}
std::ostream & DayaBay::RecRpcCluster::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Definition at line 217 of file RecRpcCluster.h.

{
  char l_is4of4 = (m_is4of4) ? 'T' : 'F';
  s << "{ " << "position :      " << m_position << std::endl
            << "maxHitsInLayer :        " << m_maxHitsInLayer << std::endl
            << "is4of4 :        " << l_is4of4 << std::endl
            << "status :        " << m_status << std::endl
            << "quality :       " << (float)m_quality << std::endl
            << "type :  " << m_type << std::endl << " }";
  return s;
}
const CLHEP::HepLorentzVector & DayaBay::RecRpcCluster::position ( ) const [inline]

Retrieve const Position of the reconstructed cluster.

Definition at line 230 of file RecRpcCluster.h.

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

Update Position of the reconstructed cluster.

Definition at line 235 of file RecRpcCluster.h.

{
  m_position = value;
}
int DayaBay::RecRpcCluster::maxHitsInLayer ( ) const [inline]

Retrieve const The max hits number in a layer.

Definition at line 240 of file RecRpcCluster.h.

{
  return m_maxHitsInLayer;
}
void DayaBay::RecRpcCluster::setMaxHitsInLayer ( int  value) [inline]

Update The max hits number in a layer.

Definition at line 245 of file RecRpcCluster.h.

{
  m_maxHitsInLayer = value;
}
bool DayaBay::RecRpcCluster::is4of4 ( ) const [inline]

Retrieve const It's a 4of4 trigger cluster.

Definition at line 250 of file RecRpcCluster.h.

{
  return m_is4of4;
}
void DayaBay::RecRpcCluster::setIs4of4 ( bool  value) [inline]

Update It's a 4of4 trigger cluster.

Definition at line 255 of file RecRpcCluster.h.

{
  m_is4of4 = value;
}
const ReconStatus::ReconStatus_t & DayaBay::RecRpcCluster::status ( ) const [inline]

Retrieve const Status of the reconstructed cluster.

Definition at line 260 of file RecRpcCluster.h.

{
  return m_status;
}
void DayaBay::RecRpcCluster::setStatus ( const ReconStatus::ReconStatus_t value) [inline]

Update Status of the reconstructed cluster.

Definition at line 265 of file RecRpcCluster.h.

{
  m_status = value;
}
double DayaBay::RecRpcCluster::quality ( ) const [inline]

Retrieve const Quality of the reconstructed cluster.

Definition at line 270 of file RecRpcCluster.h.

{
  return m_quality;
}
void DayaBay::RecRpcCluster::setQuality ( double  value) [inline]

Update Quality of the reconstructed cluster.

Definition at line 275 of file RecRpcCluster.h.

{
  m_quality = value;
}
const DayaBay::RecRpcCluster::ClusterType & DayaBay::RecRpcCluster::type ( ) const [inline]

Retrieve const Type (Unknown/Normal/Telescpe) of the reconstructed cluster.

Definition at line 280 of file RecRpcCluster.h.

{
  return m_type;
}
void DayaBay::RecRpcCluster::setType ( const ClusterType value) [inline]

Update Type (Unknown/Normal/Telescpe) of the reconstructed cluster.

Definition at line 285 of file RecRpcCluster.h.

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

operator new

Definition at line 130 of file RecRpcCluster.h.

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

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

operator delete

Definition at line 146 of file RecRpcCluster.h.

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

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

Definition at line 155 of file RecRpcCluster.h.

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

Member Data Documentation

Position of the reconstructed cluster.

Definition at line 164 of file RecRpcCluster.h.

The max hits number in a layer.

Definition at line 165 of file RecRpcCluster.h.

It's a 4of4 trigger cluster.

Definition at line 166 of file RecRpcCluster.h.

Status of the reconstructed cluster.

Definition at line 167 of file RecRpcCluster.h.

Quality of the reconstructed cluster.

Definition at line 168 of file RecRpcCluster.h.

Type (Unknown/Normal/Telescpe) of the reconstructed cluster.

Definition at line 169 of file RecRpcCluster.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