CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TRecCgemCluster Class Reference

#include <TRecCgemCluster.h>

+ Inheritance diagram for TRecCgemCluster:

Public Member Functions

 TRecCgemCluster ()
 
 ~TRecCgemCluster ()
 
Int_t getclusterid (void) const
 
Int_t getTrkId (void) const
 
Int_t getlayerid (void) const
 
Int_t getsheetid (void) const
 
Int_t getflag (void) const
 
Double_t getenergydeposit (void) const
 
Double_t getrecphi (void) const
 
Double_t getrecv (void) const
 
Double_t getRecZ (void) const
 
Int_t getclusterflagb (void) const
 
Int_t getclusterflage (void) const
 
Int_t getstripid (Int_t type, Int_t i) const
 
void setclusterid (Int_t clusterid)
 
void setTrkId (Int_t trkid)
 
void setlayerid (Int_t layerid)
 
void setsheetid (Int_t sheetid)
 
void setflag (Int_t flag)
 
void setenergydeposit (Double_t energydeposit)
 
void setrecphi (Double_t recphi)
 
void setrecv (Double_t recv)
 
void setRecZ (Double_t recZ)
 
void setclusterflag (Int_t begin, Int_t end)
 
void setstripid (Int_t type, Int_t i, Int_t value)
 
void setstripid (Int_t stripid[2][2])
 
void setTRecCgemCluster (const TRecCgemCluster *cgemcluster)
 

Detailed Description

Definition at line 9 of file TRecCgemCluster.h.

Constructor & Destructor Documentation

◆ TRecCgemCluster()

TRecCgemCluster::TRecCgemCluster ( )

◆ ~TRecCgemCluster()

TRecCgemCluster::~TRecCgemCluster ( )

Definition at line 9 of file TRecCgemCluster.cxx.

9 {
10 Clear();
11}

Member Function Documentation

◆ getclusterflagb()

Int_t TRecCgemCluster::getclusterflagb ( void ) const
inline

Definition at line 26 of file TRecCgemCluster.h.

26{return m_clusterflag[0];}

Referenced by setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ getclusterflage()

Int_t TRecCgemCluster::getclusterflage ( void ) const
inline

Definition at line 27 of file TRecCgemCluster.h.

27{return m_clusterflag[1];}

Referenced by setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ getclusterid()

Int_t TRecCgemCluster::getclusterid ( void ) const
inline

◆ getenergydeposit()

Double_t TRecCgemCluster::getenergydeposit ( void ) const
inline

Definition at line 21 of file TRecCgemCluster.h.

21{return m_energydeposit;}

Referenced by setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ getflag()

Int_t TRecCgemCluster::getflag ( void ) const
inline

Definition at line 20 of file TRecCgemCluster.h.

20{return m_flag;}

Referenced by BesClient::GetEvent(), setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ getlayerid()

Int_t TRecCgemCluster::getlayerid ( void ) const
inline

◆ getrecphi()

Double_t TRecCgemCluster::getrecphi ( void ) const
inline

◆ getrecv()

Double_t TRecCgemCluster::getrecv ( void ) const
inline

◆ getRecZ()

Double_t TRecCgemCluster::getRecZ ( void ) const
inline

Definition at line 25 of file TRecCgemCluster.h.

25{return m_recZ;}

Referenced by BesEvent::SetCgemClusters(), setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ getsheetid()

Int_t TRecCgemCluster::getsheetid ( void ) const
inline

◆ getstripid()

Int_t TRecCgemCluster::getstripid ( Int_t type,
Int_t i ) const
inline

Definition at line 28 of file TRecCgemCluster.h.

28{return m_stripid[type][i];}

Referenced by BesEvent::SetCgemClusters(), and setTRecCgemCluster().

◆ getTrkId()

Int_t TRecCgemCluster::getTrkId ( void ) const
inline

Definition at line 17 of file TRecCgemCluster.h.

17{return m_trkid;}

Referenced by BesEvent::SetCgemClusters(), setTRecCgemCluster(), and RecCgemClusterCnv::TObjectToDataObject().

◆ setclusterflag()

void TRecCgemCluster::setclusterflag ( Int_t begin,
Int_t end )
inline

Definition at line 40 of file TRecCgemCluster.h.

40{m_clusterflag[0] = begin; m_clusterflag[1] = end;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setclusterid()

void TRecCgemCluster::setclusterid ( Int_t clusterid)
inline

Definition at line 30 of file TRecCgemCluster.h.

30{m_clusterid = clusterid;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setenergydeposit()

void TRecCgemCluster::setenergydeposit ( Double_t energydeposit)
inline

Definition at line 35 of file TRecCgemCluster.h.

35{m_energydeposit = energydeposit;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setflag()

void TRecCgemCluster::setflag ( Int_t flag)
inline

Definition at line 34 of file TRecCgemCluster.h.

34{m_flag = flag;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setlayerid()

void TRecCgemCluster::setlayerid ( Int_t layerid)
inline

Definition at line 32 of file TRecCgemCluster.h.

32{m_layerid = layerid;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setrecphi()

void TRecCgemCluster::setrecphi ( Double_t recphi)
inline

Definition at line 36 of file TRecCgemCluster.h.

36{m_recphi = recphi;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setrecv()

void TRecCgemCluster::setrecv ( Double_t recv)
inline

Definition at line 38 of file TRecCgemCluster.h.

38{m_recv = recv;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setRecZ()

void TRecCgemCluster::setRecZ ( Double_t recZ)
inline

Definition at line 39 of file TRecCgemCluster.h.

39{m_recZ = recZ;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setsheetid()

void TRecCgemCluster::setsheetid ( Int_t sheetid)
inline

Definition at line 33 of file TRecCgemCluster.h.

33{m_sheetid = sheetid;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setstripid() [1/2]

void TRecCgemCluster::setstripid ( Int_t stripid[2][2])
inline

Definition at line 42 of file TRecCgemCluster.h.

42{m_stripid[0][0]=stripid[0][0];m_stripid[0][1]=stripid[0][1];m_stripid[1][0]=stripid[1][0];m_stripid[1][1]=stripid[1][1];}

◆ setstripid() [2/2]

void TRecCgemCluster::setstripid ( Int_t type,
Int_t i,
Int_t value )
inline

Definition at line 41 of file TRecCgemCluster.h.

41{m_stripid[type][i] = value;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().

◆ setTRecCgemCluster()

void TRecCgemCluster::setTRecCgemCluster ( const TRecCgemCluster * cgemcluster)

Definition at line 13 of file TRecCgemCluster.cxx.

13 {
14 m_clusterid = cgemcluster->getclusterid();
15 m_trkid = cgemcluster->getTrkId();
16 m_layerid = cgemcluster->getlayerid();
17 m_sheetid = cgemcluster->getsheetid();
18 m_flag = cgemcluster->getflag();
19 m_energydeposit = cgemcluster->getenergydeposit();
20 m_recphi = cgemcluster->getrecphi();
21 //m_recpositiony = cgemcluster->getrecpositiony();
22 m_recv = cgemcluster->getrecv();
23 m_recZ = cgemcluster->getRecZ();
24 m_clusterflag[0] = cgemcluster->getclusterflagb();
25 m_clusterflag[1] = cgemcluster->getclusterflage();
26 m_stripid[0][0] = cgemcluster->getstripid(0,0);
27 m_stripid[0][1] = cgemcluster->getstripid(0,1);
28 m_stripid[1][0] = cgemcluster->getstripid(1,0);
29 m_stripid[1][1] = cgemcluster->getstripid(1,1);
30}
Int_t getTrkId(void) const
Int_t getclusterflagb(void) const
Int_t getsheetid(void) const
Double_t getenergydeposit(void) const
Int_t getstripid(Int_t type, Int_t i) const
Int_t getlayerid(void) const
Double_t getrecphi(void) const
Int_t getflag(void) const
Double_t getRecZ(void) const
Double_t getrecv(void) const
Int_t getclusterid(void) const
Int_t getclusterflage(void) const

Referenced by BesClient::GetEvent().

◆ setTrkId()

void TRecCgemCluster::setTrkId ( Int_t trkid)
inline

Definition at line 31 of file TRecCgemCluster.h.

31{m_trkid = trkid;}

Referenced by RecCgemClusterCnv::DataObjectToTObject().


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