CGEM BOSS 6.6.5.f
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])
 
 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 ()
 
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

Constructor & Destructor Documentation

◆ DstCgemSegment() [1/4]

◆ DstCgemSegment() [2/4]

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)
Definition: EvtCyclic3.cc:118

◆ ~DstCgemSegment() [1/2]

virtual DstCgemSegment::~DstCgemSegment ( )
inlinevirtual

◆ DstCgemSegment() [3/4]

DstCgemSegment::DstCgemSegment ( )

◆ DstCgemSegment() [4/4]

DstCgemSegment::DstCgemSegment ( const DstCgemSegment )

◆ ~DstCgemSegment() [2/2]

virtual DstCgemSegment::~DstCgemSegment ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/2]

static const CLID & DstCgemSegment::classID ( )
inlinestatic

Definition at line 32 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

32{ return CLID_DstCgemSegment; }
const CLID & CLID_DstCgemSegment
Definition: EventModel.cxx:308

Referenced by clID().

◆ classID() [2/2]

static const CLID & DstCgemSegment::classID ( )
inlinestatic

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Reimplemented in RecCgemSegment, and RecCgemSegment.

Definition at line 31 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

31{ return DstCgemSegment::classID();}

◆ getclusterid_1() [1/2]

const int DstCgemSegment::getclusterid_1 ( ) const
inline

......

Definition at line 36 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

36{ return m_clusterId_1;}

◆ getclusterid_1() [2/2]

const int DstCgemSegment::getclusterid_1 ( ) const
inline

......

Definition at line 36 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

36{ return m_clusterId_1;}

◆ getclusterid_2() [1/2]

const int DstCgemSegment::getclusterid_2 ( ) const
inline

◆ getclusterid_2() [2/2]

const int DstCgemSegment::getclusterid_2 ( ) const
inline

◆ getclusterid_3() [1/2]

const int DstCgemSegment::getclusterid_3 ( ) const
inline

◆ getclusterid_3() [2/2]

const int DstCgemSegment::getclusterid_3 ( ) const
inline

◆ geteventid() [1/2]

const int DstCgemSegment::geteventid ( ) const
inline

Definition at line 40 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

40{ return m_eventId; }

◆ geteventid() [2/2]

const int DstCgemSegment::geteventid ( ) const
inline

Definition at line 40 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

40{ return m_eventId; }

◆ gethelix() [1/2]

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

Definition at line 42 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

42{ return m_helix[i]; }

◆ gethelix() [2/2]

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

Definition at line 42 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

42{ return m_helix[i]; }

◆ gethelix_err() [1/2]

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

Definition at line 43 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

43{ return m_helix_err[i]; }

◆ gethelix_err() [2/2]

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

Definition at line 43 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

43{ return m_helix_err[i]; }

◆ getmatch() [1/2]

const int DstCgemSegment::getmatch ( ) const
inline

Definition at line 41 of file Event/DstEvent/DstEvent-00-05-06/DstEvent/DstCgemSegment.h.

41{ return m_match; }

◆ getmatch() [2/2]

const int DstCgemSegment::getmatch ( ) const
inline

Definition at line 41 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

41{ return m_match; }

◆ getsegmentid() [1/2]

const int DstCgemSegment::getsegmentid ( ) const
inline

◆ getsegmentid() [2/2]

const int DstCgemSegment::getsegmentid ( ) const
inline

Definition at line 39 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

39{ return m_segmentId; }

◆ operator=() [1/2]

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=().

◆ operator=() [2/2]

DstCgemSegment & DstCgemSegment::operator= ( const DstCgemSegment )

◆ setclusterid_1() [1/2]

void DstCgemSegment::setclusterid_1 ( const int  clusterId_1)
inline

◆ setclusterid_1() [2/2]

void DstCgemSegment::setclusterid_1 ( const int  clusterId_1)
inline

Definition at line 47 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

47{ m_clusterId_1 = clusterId_1; }

◆ setclusterid_2() [1/2]

void DstCgemSegment::setclusterid_2 ( const int  clusterId_2)
inline

◆ setclusterid_2() [2/2]

void DstCgemSegment::setclusterid_2 ( const int  clusterId_2)
inline

Definition at line 48 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

48{ m_clusterId_2 = clusterId_2; }

◆ setclusterid_3() [1/2]

void DstCgemSegment::setclusterid_3 ( const int  clusterId_3)
inline

◆ setclusterid_3() [2/2]

void DstCgemSegment::setclusterid_3 ( const int  clusterId_3)
inline

Definition at line 49 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

49{ m_clusterId_3 = clusterId_3; }

◆ seteventid() [1/2]

void DstCgemSegment::seteventid ( const int  eventId)
inline

◆ seteventid() [2/2]

void DstCgemSegment::seteventid ( const int  eventId)
inline

Definition at line 51 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

51{ m_eventId = eventId; }

◆ sethelix() [1/2]

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() [2/2]

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

◆ sethelix_err() [1/2]

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().

◆ sethelix_err() [2/2]

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

◆ setmatch() [1/2]

void DstCgemSegment::setmatch ( const int  match)
inline

◆ setmatch() [2/2]

void DstCgemSegment::setmatch ( const int  match)
inline

Definition at line 52 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

52{ m_match = match; }

◆ setsegmentid() [1/2]

void DstCgemSegment::setsegmentid ( const int  segmentId)
inline

◆ setsegmentid() [2/2]

void DstCgemSegment::setsegmentid ( const int  segmentId)
inline

Definition at line 50 of file InstallArea/include/DstEvent/DstEvent/DstCgemSegment.h.

50{ m_segmentId = segmentId; }

Member Data Documentation

◆ m_clusterId_1

int DstCgemSegment::m_clusterId_1
protected

◆ m_clusterId_2

int DstCgemSegment::m_clusterId_2
protected

◆ m_clusterId_3

int DstCgemSegment::m_clusterId_3
protected

◆ m_eventId

int DstCgemSegment::m_eventId
protected

◆ m_helix

double DstCgemSegment::m_helix
protected

◆ m_helix_err

double DstCgemSegment::m_helix_err
protected

◆ m_match

int DstCgemSegment::m_match
protected

◆ m_segmentId

int DstCgemSegment::m_segmentId
protected

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