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

#include <RecCgemCluster.h>

+ Inheritance diagram for RecCgemCluster:

Public Member Functions

virtual const CLID & clID () const
 
 RecCgemCluster ()
 
 ~RecCgemCluster ()
 
 RecCgemCluster (const RecCgemCluster &reccluster)
 
void setclusterid (int clusterid)
 
void setTrkId (int trkid)
 
void setlayerid (int layerid)
 
void setsheetid (int sheetid)
 
void setflag (int flag)
 
void setenergydeposit (double energydeposit)
 
void setrecphi (double recphi)
 
void setrecv (double recv)
 
void setRecZ (double recZ)
 
void setrecphi_CC (double recphi)
 
void setrecv_CC (double recv)
 
void setRecZ_CC (double recZ)
 
void setrecphi_mTPC (double recphi)
 
void setrecv_mTPC (double recv)
 
void setRecZ_mTPC (double recZ)
 
void setSlope_mTPC (double s)
 
void setInter_mTPC (double q)
 
int getclusterid (void) const
 
int getTrkId (void) const
 
int getlayerid (void) const
 
int getsheetid (void) const
 
int getflag (void) const
 
double getenergydeposit (void) const
 
double getrecphi (void) const
 
double getrecv (void) const
 
double getRecZ (void) const
 
double getrecphi_CC (void) const
 
double getrecv_CC (void) const
 
double getRecZ_CC (void) const
 
double getrecphi_mTPC (void) const
 
double getrecv_mTPC (void) const
 
double getRecZ_mTPC (void) const
 
double getSlope_mTPC (void) const
 
double getInter_mTPC (void) const
 
void setclusterflag (int begin, int end)
 
int getclusterflagb (void) const
 
int getclusterflage (void) const
 
void setStripsMTPC (std::vector< int > strips)
 
std::vector< int > getStripsMTPC ()
 
double get_merge_phi ()
 
double get_merge_v ()
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 15 of file RecCgemCluster.h.

Constructor & Destructor Documentation

◆ RecCgemCluster() [1/2]

RecCgemCluster::RecCgemCluster ( )

Definition at line 3 of file RecCgemCluster.cxx.

3 :
4
5 m_clusterid(-1),
6 m_trkid(-1),
7 m_layerid(-1), //cluster in which CgemLayer//
8 m_sheetid(-1), //cluster in which sheet//
9 m_flag(-1), //v cluster or x cluster or mixed cluster//
10 m_energydeposit(-99.0), //energy deposit//
11 m_recphi(-99.0), //position for reconstruction//
12 m_recv(-99.0),
13 m_recZ(-99.0),
14 m_recphi_CC(-99.0), //position for reconstruction with CC//
15 m_recv_CC(-99.0),
16 m_recZ_CC(-99.0),
17 m_recphi_mTPC(-99.0), //position for reconstruction with uTPC//
18 m_recv_mTPC(-99.0),
19 m_recZ_mTPC(-99.0),
20 m_slope_mTPC(-9999.0),
21 m_inter_mTPC(-9999.0),
22 m_clusterflag(-1,-1){
23}

◆ ~RecCgemCluster()

RecCgemCluster::~RecCgemCluster ( )

Definition at line 47 of file RecCgemCluster.cxx.

47 {
48}

◆ RecCgemCluster() [2/2]

RecCgemCluster::RecCgemCluster ( const RecCgemCluster & reccluster)

Definition at line 27 of file RecCgemCluster.cxx.

27 :
28 m_clusterid(reccluster.m_clusterid),
29 m_trkid(reccluster.m_trkid),
30 m_layerid(reccluster.m_layerid), //cluster in which CgemLayer//
31 m_sheetid(reccluster.m_sheetid), //cluster in which sheet//
32 m_flag(reccluster.m_flag), //v cluster or x cluster or mixed cluster//
33 m_energydeposit(reccluster.m_energydeposit), //energy deposit//
34 m_recphi(reccluster.m_recphi), //position for reconstruction//
35 m_recv(reccluster.m_recv),
36 m_recphi_CC(reccluster.m_recphi_CC), //position for reconstruction with CC//
37 m_recv_CC(reccluster.m_recv_CC),
38 m_recZ_CC(reccluster.m_recZ_CC),
39 m_recphi_mTPC(reccluster.m_recphi_mTPC), //position for reconstruction with uTPC//
40 m_recv_mTPC(reccluster.m_recv_mTPC),
41 m_recZ_mTPC(reccluster.m_recZ_mTPC),
42 m_slope_mTPC(reccluster.m_slope_mTPC),
43 m_inter_mTPC(reccluster.m_inter_mTPC),
44 m_clusterflag(reccluster.m_clusterflag){
45}

Member Function Documentation

◆ classID()

static const CLID & RecCgemCluster::classID ( )
inlinestatic

Definition at line 22 of file RecCgemCluster.h.

22 {
23 return CLID_RecCgemCluster ;
24 }
const CLID & CLID_RecCgemCluster

Referenced by clID().

◆ clID()

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

Definition at line 18 of file RecCgemCluster.h.

18 {
20 }
static const CLID & classID()

◆ get_merge_phi()

double RecCgemCluster::get_merge_phi ( )

Definition at line 50 of file RecCgemCluster.cxx.

50 {
51 int size = getclusterflage() - getclusterflagb() + 1;
52 double CC = getrecphi_CC();
53 double TPC = getrecphi_mTPC();
54 double delta = CC-TPC;
55 double merge = CC;
56 if(size>2 && abs(delta)<0.1) merge = (0.5 * CC + 0.5 * TPC);
57 return merge;
58}
double abs(const EvtComplex &c)
double getrecphi_mTPC(void) const
int getclusterflagb(void) const
double getrecphi_CC(void) const
int getclusterflage(void) const

Referenced by CgemLineFit::Data_Closest(), CgemLineFit::Data_Max(), CgemLineFit::Loop_All(), and CgemLineFit::Loop_MaxQ().

◆ get_merge_v()

double RecCgemCluster::get_merge_v ( )

Definition at line 60 of file RecCgemCluster.cxx.

60 {
61 int size = getclusterflage() - getclusterflagb() + 1;
62 double CC = getrecv_CC();
63 double TPC = getrecv_mTPC();
64 double delta = CC-TPC;
65 double merge = CC;
66 if(size>2 && abs(delta)<0.1) merge = (0.5 * CC + 0.5 * TPC);
67 return merge;
68}
double getrecv_CC(void) const
double getrecv_mTPC(void) const

Referenced by CgemLineFit::Data_Closest(), CgemLineFit::Data_Max(), CgemLineFit::Loop_All(), and CgemLineFit::Loop_MaxQ().

◆ getclusterflagb()

int RecCgemCluster::getclusterflagb ( void ) const
inline

◆ getclusterflage()

int RecCgemCluster::getclusterflage ( void ) const
inline

◆ getclusterid()

◆ getenergydeposit()

double RecCgemCluster::getenergydeposit ( void ) const
inline

◆ getflag()

◆ getInter_mTPC()

double RecCgemCluster::getInter_mTPC ( void ) const
inline

Definition at line 70 of file RecCgemCluster.h.

70{return m_inter_mTPC;};

◆ getlayerid()

◆ getrecphi()

◆ getrecphi_CC()

double RecCgemCluster::getrecphi_CC ( void ) const
inline

Definition at line 63 of file RecCgemCluster.h.

63{return m_recphi_CC ;};

Referenced by get_merge_phi().

◆ getrecphi_mTPC()

double RecCgemCluster::getrecphi_mTPC ( void ) const
inline

Definition at line 66 of file RecCgemCluster.h.

66{return m_recphi_mTPC ;};

Referenced by CgemLineFit::Data_Closest(), CgemLineFit::Data_Max(), get_merge_phi(), CgemLineFit::Loop_All(), and CgemLineFit::Loop_MaxQ().

◆ getrecv()

double RecCgemCluster::getrecv ( void ) const
inline

◆ getrecv_CC()

double RecCgemCluster::getrecv_CC ( void ) const
inline

Definition at line 64 of file RecCgemCluster.h.

64{return m_recv_CC ;};

Referenced by get_merge_v().

◆ getrecv_mTPC()

double RecCgemCluster::getrecv_mTPC ( void ) const
inline

◆ getRecZ()

◆ getRecZ_CC()

double RecCgemCluster::getRecZ_CC ( void ) const
inline

Definition at line 65 of file RecCgemCluster.h.

65{return m_recZ_CC;};

◆ getRecZ_mTPC()

double RecCgemCluster::getRecZ_mTPC ( void ) const
inline

Definition at line 68 of file RecCgemCluster.h.

68{return m_recZ_mTPC;};

Referenced by CgemLineFit::Data_Closest(), CgemLineFit::Data_Max(), CgemLineFit::Loop_All(), and CgemLineFit::Loop_MaxQ().

◆ getsheetid()

◆ getSlope_mTPC()

double RecCgemCluster::getSlope_mTPC ( void ) const
inline

Definition at line 69 of file RecCgemCluster.h.

69{return m_slope_mTPC;};

◆ getStripsMTPC()

std::vector< int > RecCgemCluster::getStripsMTPC ( )
inline

Definition at line 77 of file RecCgemCluster.h.

77{return m_strips_mTPC;};

◆ getTrkId()

int RecCgemCluster::getTrkId ( void ) const
inline

Definition at line 55 of file RecCgemCluster.h.

55{ return m_trkid; }

◆ setclusterflag()

void RecCgemCluster::setclusterflag ( int begin,
int end )
inline

Definition at line 72 of file RecCgemCluster.h.

72{m_clusterflag.first = begin;m_clusterflag.second = end;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setclusterid()

void RecCgemCluster::setclusterid ( int clusterid)
inline

Definition at line 35 of file RecCgemCluster.h.

35{m_clusterid = clusterid;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setenergydeposit()

void RecCgemCluster::setenergydeposit ( double energydeposit)
inline

Definition at line 40 of file RecCgemCluster.h.

40{m_energydeposit = energydeposit;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setflag()

void RecCgemCluster::setflag ( int flag)
inline

Definition at line 39 of file RecCgemCluster.h.

39{m_flag = flag ;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setInter_mTPC()

void RecCgemCluster::setInter_mTPC ( double q)
inline

Definition at line 51 of file RecCgemCluster.h.

51{m_inter_mTPC = q;};
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
Definition KKsem.h:33

◆ setlayerid()

void RecCgemCluster::setlayerid ( int layerid)
inline

Definition at line 37 of file RecCgemCluster.h.

37{m_layerid = layerid;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setrecphi()

void RecCgemCluster::setrecphi ( double recphi)
inline

Definition at line 41 of file RecCgemCluster.h.

41{m_recphi = recphi ;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setrecphi_CC()

void RecCgemCluster::setrecphi_CC ( double recphi)
inline

Definition at line 44 of file RecCgemCluster.h.

44{m_recphi_CC = recphi ;};

◆ setrecphi_mTPC()

void RecCgemCluster::setrecphi_mTPC ( double recphi)
inline

Definition at line 47 of file RecCgemCluster.h.

47{m_recphi_mTPC = recphi ;};

◆ setrecv()

void RecCgemCluster::setrecv ( double recv)
inline

Definition at line 42 of file RecCgemCluster.h.

42{m_recv = recv ;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setrecv_CC()

void RecCgemCluster::setrecv_CC ( double recv)
inline

Definition at line 45 of file RecCgemCluster.h.

45{m_recv_CC = recv ;};

◆ setrecv_mTPC()

void RecCgemCluster::setrecv_mTPC ( double recv)
inline

Definition at line 48 of file RecCgemCluster.h.

48{m_recv_mTPC = recv ;};

◆ setRecZ()

void RecCgemCluster::setRecZ ( double recZ)
inline

Definition at line 43 of file RecCgemCluster.h.

43{m_recZ = recZ;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setRecZ_CC()

void RecCgemCluster::setRecZ_CC ( double recZ)
inline

Definition at line 46 of file RecCgemCluster.h.

46{m_recZ_CC = recZ;};

◆ setRecZ_mTPC()

void RecCgemCluster::setRecZ_mTPC ( double recZ)
inline

Definition at line 49 of file RecCgemCluster.h.

49{m_recZ_mTPC = recZ;};

◆ setsheetid()

void RecCgemCluster::setsheetid ( int sheetid)
inline

Definition at line 38 of file RecCgemCluster.h.

38{m_sheetid = sheetid;};

Referenced by RecCgemClusterCnv::TObjectToDataObject().

◆ setSlope_mTPC()

void RecCgemCluster::setSlope_mTPC ( double s)
inline

Definition at line 50 of file RecCgemCluster.h.

50{m_slope_mTPC = s;};
XmlRpcServer s

◆ setStripsMTPC()

void RecCgemCluster::setStripsMTPC ( std::vector< int > strips)
inline

Definition at line 76 of file RecCgemCluster.h.

76{m_strips_mTPC=strips;};

◆ setTrkId()

void RecCgemCluster::setTrkId ( int trkid)
inline

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