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

#include <DstCgemSegment.h>

+ Inheritance diagram for DstCgemSegment:

Public Member Functions

 DstCgemSegment ()
 
 DstCgemSegment (const DstCgemSegment &)
 
DstCgemSegmentoperator= (const DstCgemSegment &)
 
virtual ~DstCgemSegment ()
 
virtual const CLID & clID () const
 
const int getclusterid_1 () const
 ......
 
const int getclusterid_2 () const
 
const int getclusterid_3 () const
 
const int getsegmentid () const
 
const int geteventid () const
 
const int getmatch () const
 
const double gethelix (const int i) const
 
const double gethelix_err (const int i) const
 
void setclusterid_1 (const int clusterId_1)
 
void setclusterid_2 (const int clusterId_2)
 
void setclusterid_3 (const int clusterId_3)
 
void setsegmentid (const int segmentId)
 
void seteventid (const int eventId)
 
void setmatch (const int match)
 
void sethelix (double helix[5])
 
void sethelix_err (double helix_err[15])
 

Static Public Member Functions

static const CLID & classID ()
 

Protected Attributes

int m_clusterId_1
 
int m_clusterId_2
 
int m_clusterId_3
 
int m_segmentId
 
int m_eventId
 
int m_match
 
double m_helix [5]
 
double m_helix_err [15]
 

Detailed Description

Definition at line 24 of file DstCgemSegment.h.

Constructor & Destructor Documentation

◆ DstCgemSegment() [1/2]

DstCgemSegment::DstCgemSegment ( )

Definition at line 4 of file DstCgemSegment.cxx.

5: m_segmentId(0),
9 m_match(0),
10 m_eventId(0)
11{
12 for(int i=0;i<5;i++){
13 m_helix[i] = 0.;
14 }
15 for(int i=0;i<15;i++){
16 m_helix_err[i] = 0.;
17 }
18}
double m_helix[5]
double m_helix_err[15]

◆ DstCgemSegment() [2/2]

DstCgemSegment::DstCgemSegment ( const DstCgemSegment & other)

Definition at line 20 of file DstCgemSegment.cxx.

21: m_segmentId(other.m_segmentId),
22 m_clusterId_1(other.m_clusterId_1),
23 m_clusterId_2(other.m_clusterId_2),
24 m_clusterId_3(other.m_clusterId_3),
25 m_match(other.m_match),
26 m_eventId(other.m_eventId)
27{
28 for(int i=0;i<5;i++){
29 m_helix[i] = (other.m_helix)[i];
30 }
31 for(int i=0;i<15;i++){
32 m_helix_err[i] = (other.m_helix_err)[i];
33 }
34}
Index other(Index i, Index j)

◆ ~DstCgemSegment()

virtual DstCgemSegment::~DstCgemSegment ( )
inlinevirtual

Definition at line 30 of file DstCgemSegment.h.

30{}

Member Function Documentation

◆ classID()

static const CLID & DstCgemSegment::classID ( )
inlinestatic

Definition at line 32 of file DstCgemSegment.h.

32{ return CLID_DstCgemSegment; }
const CLID & CLID_DstCgemSegment

Referenced by clID().

◆ clID()

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

Reimplemented in RecCgemSegment.

Definition at line 31 of file DstCgemSegment.h.

31{ return DstCgemSegment::classID();}
static const CLID & classID()

◆ getclusterid_1()

const int DstCgemSegment::getclusterid_1 ( ) const
inline

......

Definition at line 36 of file DstCgemSegment.h.

36{ return m_clusterId_1;}

◆ getclusterid_2()

const int DstCgemSegment::getclusterid_2 ( ) const
inline

Definition at line 37 of file DstCgemSegment.h.

37{ return m_clusterId_2;}

◆ getclusterid_3()

const int DstCgemSegment::getclusterid_3 ( ) const
inline

Definition at line 38 of file DstCgemSegment.h.

38{ return m_clusterId_3;}

Referenced by CgemSegmentRecAlg::exe_v2().

◆ geteventid()

const int DstCgemSegment::geteventid ( ) const
inline

Definition at line 40 of file DstCgemSegment.h.

40{ return m_eventId; }

◆ gethelix()

const double DstCgemSegment::gethelix ( const int i) const
inline

Definition at line 42 of file DstCgemSegment.h.

42{ return m_helix[i]; }

◆ gethelix_err()

const double DstCgemSegment::gethelix_err ( const int i) const
inline

Definition at line 43 of file DstCgemSegment.h.

43{ return m_helix_err[i]; }

◆ getmatch()

const int DstCgemSegment::getmatch ( ) const
inline

Definition at line 41 of file DstCgemSegment.h.

41{ return m_match; }

◆ getsegmentid()

const int DstCgemSegment::getsegmentid ( ) const
inline

Definition at line 39 of file DstCgemSegment.h.

39{ return m_segmentId; }

◆ operator=()

DstCgemSegment & DstCgemSegment::operator= ( const DstCgemSegment & h)

Definition at line 37 of file DstCgemSegment.cxx.

37 {
38 if( &h != this ){
41 m_match = h.m_match;
45 for(int i=0;i<5;i++){
46 m_helix[i] = (h.m_helix)[i];
47 }
48 for(int i=0;i<15;i++){
49 m_helix_err[i] = (h.m_helix_err)[i];
50 }
51 }
52 return *this;
53}

Referenced by RecCgemSegment::operator=(), and RecCgemSegment::operator=().

◆ setclusterid_1()

void DstCgemSegment::setclusterid_1 ( const int clusterId_1)
inline

◆ setclusterid_2()

void DstCgemSegment::setclusterid_2 ( const int clusterId_2)
inline

◆ setclusterid_3()

void DstCgemSegment::setclusterid_3 ( const int clusterId_3)
inline

◆ seteventid()

void DstCgemSegment::seteventid ( const int eventId)
inline

◆ sethelix()

void DstCgemSegment::sethelix ( double helix[5])

Definition at line 55 of file DstCgemSegment.cxx.

55 {
56 for(int i=0;i<5;i++){
57 m_helix[i] = helix[i];
58 }
59}

Referenced by CgemSegmentCnv::TObjectToDataObject(), and RecCgemSegmentCnv::TObjectToDataObject().

◆ sethelix_err()

void DstCgemSegment::sethelix_err ( double helix_err[15])

Definition at line 61 of file DstCgemSegment.cxx.

61 {
62 for(int i=0;i<15;i++){
63 m_helix_err[i] = helix_err[i];
64 }
65}

Referenced by CgemSegmentCnv::TObjectToDataObject(), and RecCgemSegmentCnv::TObjectToDataObject().

◆ setmatch()

void DstCgemSegment::setmatch ( const int match)
inline

◆ setsegmentid()

void DstCgemSegment::setsegmentid ( const int segmentId)
inline

Member Data Documentation

◆ m_clusterId_1

int DstCgemSegment::m_clusterId_1
protected

Definition at line 57 of file DstCgemSegment.h.

Referenced by getclusterid_1(), operator=(), and setclusterid_1().

◆ m_clusterId_2

int DstCgemSegment::m_clusterId_2
protected

Definition at line 58 of file DstCgemSegment.h.

Referenced by getclusterid_2(), operator=(), and setclusterid_2().

◆ m_clusterId_3

int DstCgemSegment::m_clusterId_3
protected

Definition at line 59 of file DstCgemSegment.h.

Referenced by getclusterid_3(), operator=(), and setclusterid_3().

◆ m_eventId

int DstCgemSegment::m_eventId
protected

Definition at line 61 of file DstCgemSegment.h.

Referenced by geteventid(), operator=(), and seteventid().

◆ m_helix

double DstCgemSegment::m_helix[5]
protected

Definition at line 63 of file DstCgemSegment.h.

Referenced by DstCgemSegment(), DstCgemSegment(), gethelix(), operator=(), and sethelix().

◆ m_helix_err

double DstCgemSegment::m_helix_err[15]
protected

◆ m_match

int DstCgemSegment::m_match
protected

Definition at line 62 of file DstCgemSegment.h.

Referenced by getmatch(), operator=(), and setmatch().

◆ m_segmentId

int DstCgemSegment::m_segmentId
protected

Definition at line 60 of file DstCgemSegment.h.

Referenced by getsegmentid(), operator=(), and setsegmentid().


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