CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemDedxHit Class Reference

#include <RecCgemDedxHit.h>

+ Inheritance diagram for RecCgemDedxHit:

Public Member Functions

virtual const CLID & clID () const
 
 RecCgemDedxHit ()
 
 RecCgemDedxHit (const RecCgemDedxHit &recdedxhit)
 
 ~RecCgemDedxHit ()
 
bool isGrouped (void)
 
const int getTrkId (void) const
 
double getPathLength (void) const
 
const Identifier getCgemId (void) const
 
void setTrkId (int trkid)
 
void setPathLength (double pathlength)
 
void setCgemId (Identifier cgemid)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 25 of file RecCgemDedxHit.h.

Constructor & Destructor Documentation

◆ RecCgemDedxHit() [1/2]

RecCgemDedxHit::RecCgemDedxHit ( )

Definition at line 12 of file RecCgemDedxHit.cxx.

12 {
13 m_pathlength = -1;
14 m_trkid = -1;
15 m_cgemid = 0;
16}

◆ RecCgemDedxHit() [2/2]

RecCgemDedxHit::RecCgemDedxHit ( const RecCgemDedxHit & recdedxhit)

Definition at line 17 of file RecCgemDedxHit.cxx.

17 {
18 m_pathlength = recdedxhit.m_pathlength;
19 m_trkid = recdedxhit.m_trkid;
20 m_cgemid = recdedxhit.m_cgemid;
21}

◆ ~RecCgemDedxHit()

RecCgemDedxHit::~RecCgemDedxHit ( )

Definition at line 30 of file RecCgemDedxHit.cxx.

30 {
31 }

Member Function Documentation

◆ classID()

static const CLID & RecCgemDedxHit::classID ( )
inlinestatic

Definition at line 32 of file RecCgemDedxHit.h.

32 {
34 }
const CLID & CLID_RecCgemDedxHit

Referenced by clID().

◆ clID()

virtual const CLID & RecCgemDedxHit::clID ( ) const
inlinevirtual

Definition at line 28 of file RecCgemDedxHit.h.

28 {
30 }
static const CLID & classID()

◆ getCgemId()

const Identifier RecCgemDedxHit::getCgemId ( void ) const
inline

Definition at line 46 of file RecCgemDedxHit.h.

46{ return m_cgemid; }

◆ getPathLength()

double RecCgemDedxHit::getPathLength ( void ) const
inline

Definition at line 45 of file RecCgemDedxHit.h.

45{ return m_pathlength; }

◆ getTrkId()

const int RecCgemDedxHit::getTrkId ( void ) const
inline

Definition at line 44 of file RecCgemDedxHit.h.

44{ return m_trkid; }

◆ isGrouped()

bool RecCgemDedxHit::isGrouped ( void )

Definition at line 24 of file RecCgemDedxHit.cxx.

24 {
25 if(m_trkid == -1 ) return false;
26 return true;
27}

◆ setCgemId()

void RecCgemDedxHit::setCgemId ( Identifier cgemid)
inline

Definition at line 50 of file RecCgemDedxHit.h.

50{ m_cgemid = cgemid; }

Referenced by RecCgemDedxHitCnv::TObjectToDataObject().

◆ setPathLength()

void RecCgemDedxHit::setPathLength ( double pathlength)
inline

Definition at line 49 of file RecCgemDedxHit.h.

49{ m_pathlength = pathlength; }

Referenced by RecCgemDedxHitCnv::TObjectToDataObject().

◆ setTrkId()

void RecCgemDedxHit::setTrkId ( int trkid)
inline

Definition at line 48 of file RecCgemDedxHit.h.

48{ m_trkid = trkid; }

Referenced by RecCgemDedxHitCnv::TObjectToDataObject().


The documentation for this class was generated from the following files: