CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::MdcAlignData Class Reference

#include <MdcAlignData.h>

+ Inheritance diagram for CalibData::MdcAlignData:

Public Member Functions

void readPar (char *p1, char *p2, char *p3)
 
virtual ~MdcAlignData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getdxEP (int i)
 
double getdyEP (int i)
 
double getdzEP (int i)
 
double getrxEP (int i)
 
double getryEP (int i)
 
double getrzEP (int i)
 
double getdxWireEast (int i)
 
double getdyWireEast (int i)
 
double getdzWireEast (int i)
 
double getdxWireWest (int i)
 
double getdyWireWest (int i)
 
double getdzWireWest (int i)
 
double gettension (int i)
 
void readPar (char *p1, char *p2, char *p3)
 
virtual ~MdcAlignData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getdxEP (int i)
 
double getdyEP (int i)
 
double getdzEP (int i)
 
double getrxEP (int i)
 
double getryEP (int i)
 
double getrzEP (int i)
 
double getdxWireEast (int i)
 
double getdyWireEast (int i)
 
double getdzWireEast (int i)
 
double getdxWireWest (int i)
 
double getdyWireWest (int i)
 
double getdzWireWest (int i)
 
double gettension (int i)
 
- Public Member Functions inherited from CalibData::CalibBase1
 CalibBase1 ()
 
 CalibBase1 (int serNo, int runfrm, int runto)
 
 CalibBase1 (int runfrm, int runto)
 
 CalibBase1 (const CalibBase1 &obj)
 
virtual StatusCode update (CalibBase1 &obj, MsgStream *)
 
virtual int getSerNo () const
 Following is intended for deep copy.
 
virtual int getrunfrm () const
 
virtual int getrunto () const
 
void setSerNo (int ser)
 
void setrunfrm (int runfrm)
 
void setrunto (int runto)
 
 CalibBase1 ()
 
 CalibBase1 (int serNo, int runfrm, int runto)
 
 CalibBase1 (int runfrm, int runto)
 
 CalibBase1 (const CalibBase1 &obj)
 
virtual StatusCode update (CalibBase1 &obj, MsgStream *)
 
virtual int getSerNo () const
 Following is intended for deep copy.
 
virtual int getrunfrm () const
 
virtual int getrunto () const
 
void setSerNo (int ser)
 
void setrunfrm (int runfrm)
 
void setrunto (int runto)
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from CalibData::CalibBase1
int m_serNo
 
int m_runfrm
 
int m_runto
 

Detailed Description

Constructor & Destructor Documentation

◆ ~MdcAlignData() [1/2]

virtual CalibData::MdcAlignData::~MdcAlignData ( )
inlinevirtual

◆ ~MdcAlignData() [2/2]

virtual CalibData::MdcAlignData::~MdcAlignData ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/2]

static const CLID & CalibData::MdcAlignData::classID ( )
inlinestatic

◆ classID() [2/2]

static const CLID & CalibData::MdcAlignData::classID ( )
inlinestatic

◆ clID() [1/2]

virtual const CLID & CalibData::MdcAlignData::clID ( ) const
inlinevirtual

◆ clID() [2/2]

virtual const CLID & CalibData::MdcAlignData::clID ( ) const
inlinevirtual

Definition at line 13 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

13{ return classID(); }

◆ getdxEP() [1/2]

double CalibData::MdcAlignData::getdxEP ( int  i)
inline

Definition at line 21 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

21{return dxEP[i];}

◆ getdxEP() [2/2]

double CalibData::MdcAlignData::getdxEP ( int  i)
inline

Definition at line 21 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

21{return dxEP[i];}

◆ getdxWireEast() [1/2]

double CalibData::MdcAlignData::getdxWireEast ( int  i)
inline

Definition at line 27 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

27{return dxWireEast[i];}

◆ getdxWireEast() [2/2]

double CalibData::MdcAlignData::getdxWireEast ( int  i)
inline

Definition at line 27 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

27{return dxWireEast[i];}

◆ getdxWireWest() [1/2]

double CalibData::MdcAlignData::getdxWireWest ( int  i)
inline

Definition at line 30 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

30{return dxWireWest[i];}

◆ getdxWireWest() [2/2]

double CalibData::MdcAlignData::getdxWireWest ( int  i)
inline

Definition at line 30 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

30{return dxWireWest[i];}

◆ getdyEP() [1/2]

double CalibData::MdcAlignData::getdyEP ( int  i)
inline

Definition at line 22 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

22{return dyEP[i];}

◆ getdyEP() [2/2]

double CalibData::MdcAlignData::getdyEP ( int  i)
inline

Definition at line 22 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

22{return dyEP[i];}

◆ getdyWireEast() [1/2]

double CalibData::MdcAlignData::getdyWireEast ( int  i)
inline

Definition at line 28 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

28{return dyWireEast[i];}

◆ getdyWireEast() [2/2]

double CalibData::MdcAlignData::getdyWireEast ( int  i)
inline

Definition at line 28 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

28{return dyWireEast[i];}

◆ getdyWireWest() [1/2]

double CalibData::MdcAlignData::getdyWireWest ( int  i)
inline

Definition at line 31 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

31{return dyWireWest[i];}

◆ getdyWireWest() [2/2]

double CalibData::MdcAlignData::getdyWireWest ( int  i)
inline

Definition at line 31 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

31{return dyWireWest[i];}

◆ getdzEP() [1/2]

double CalibData::MdcAlignData::getdzEP ( int  i)
inline

Definition at line 23 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

23{return dzEP[i];}

◆ getdzEP() [2/2]

double CalibData::MdcAlignData::getdzEP ( int  i)
inline

Definition at line 23 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

23{return dzEP[i];}

◆ getdzWireEast() [1/2]

double CalibData::MdcAlignData::getdzWireEast ( int  i)
inline

Definition at line 29 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

29{return dzWireEast[i];}

◆ getdzWireEast() [2/2]

double CalibData::MdcAlignData::getdzWireEast ( int  i)
inline

Definition at line 29 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

29{return dzWireEast[i];}

◆ getdzWireWest() [1/2]

double CalibData::MdcAlignData::getdzWireWest ( int  i)
inline

Definition at line 32 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

32{return dzWireWest[i];}

◆ getdzWireWest() [2/2]

double CalibData::MdcAlignData::getdzWireWest ( int  i)
inline

Definition at line 32 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

32{return dzWireWest[i];}

◆ getrxEP() [1/2]

double CalibData::MdcAlignData::getrxEP ( int  i)
inline

Definition at line 24 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

24{return rxEP[i];}

◆ getrxEP() [2/2]

double CalibData::MdcAlignData::getrxEP ( int  i)
inline

Definition at line 24 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

24{return rxEP[i];}

◆ getryEP() [1/2]

double CalibData::MdcAlignData::getryEP ( int  i)
inline

Definition at line 25 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

25{return ryEP[i];}

◆ getryEP() [2/2]

double CalibData::MdcAlignData::getryEP ( int  i)
inline

Definition at line 25 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

25{return ryEP[i];}

◆ getrzEP() [1/2]

double CalibData::MdcAlignData::getrzEP ( int  i)
inline

Definition at line 26 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

26{return rzEP[i];}

◆ getrzEP() [2/2]

double CalibData::MdcAlignData::getrzEP ( int  i)
inline

Definition at line 26 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

26{return rzEP[i];}

◆ gettension() [1/2]

double CalibData::MdcAlignData::gettension ( int  i)
inline

Definition at line 33 of file Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h.

33{return tension[i];}

◆ gettension() [2/2]

double CalibData::MdcAlignData::gettension ( int  i)
inline

Definition at line 33 of file InstallArea/include/CalibData/CalibData/Mdc/MdcAlignData.h.

33{return tension[i];}

◆ readPar() [1/2]

void CalibData::MdcAlignData::readPar ( char *  p1,
char *  p2,
char *  p3 
)

Definition at line 37 of file MdcAlignData.cxx.

37 {
38 int i;
39 string strtmp;
40
41 istringstream falign;
42 string aa1 = p1;
43 falign.str(aa1);
44 for(i=0; i<7; i++) falign >> strtmp;
45 for(i=0; i<16; i++){
46 falign >> strtmp >> dxEP[i] >> dyEP[i] >> dzEP[i] >> rxEP[i] >> ryEP[i] >> rzEP[i];
47 }
48
49 istringstream fwpos;
50 string aa2 = p2;
51 fwpos.str(aa2);
52 for(i=0; i<7; i++) fwpos >> strtmp;
53 for(i=0; i<6796; i++){
54 fwpos >> strtmp >> dxWireEast[i] >> dyWireEast[i] >> dzWireEast[i]
55 >> dxWireWest[i] >> dyWireWest[i] >> dzWireWest[i];
56 }
57
58 istringstream ften;
59 string aa3 = p3;
60 ften.str(p3);
61 for(i=0; i<6796; i++) ften >> strtmp >> tension[i];
62}

Referenced by TreeMdcAlignDataCnv::i_createObj().

◆ readPar() [2/2]

void CalibData::MdcAlignData::readPar ( char *  p1,
char *  p2,
char *  p3 
)

◆ update() [1/2]

StatusCode CalibData::MdcAlignData::update ( CalibBase1 other,
MsgStream *  log 
)
virtual

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file MdcAlignData.cxx.

11 {
12 MdcAlignData& other1 = dynamic_cast<MdcAlignData& >(other);
13 cout<<"\n"<<"here is the update in the MdcCal Alignment"<<std::endl;
14 CalibBase1::update(other, log);
15 for(int i=0;i<16;i++){
16 dxEP[i]=other1.dxEP[i];
17 dyEP[i]=other1.dyEP[i];
18 dzEP[i]=other1.dzEP[i];
19 rxEP[i]=other1.rxEP[i];
20 ryEP[i]=other1.ryEP[i];
21 rzEP[i]=other1.rzEP[i];
22 }
23 for(int i=0;i<6796;i++){
24 dxWireEast[i]=other1.dxWireEast[i];
25 dyWireEast[i]=other1.dyWireEast[i];
26 dzWireEast[i]=other1.dzWireEast[i];
27 dxWireWest[i]=other1.dxWireWest[i];
28 dyWireWest[i]=other1.dyWireWest[i];
29 dzWireWest[i]=other1.dzWireWest[i];
30 tension[i]=other1.tension[i];
31 }
32
33 return StatusCode::SUCCESS;
34 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ update() [2/2]

virtual StatusCode CalibData::MdcAlignData::update ( CalibBase1 other,
MsgStream *  log 
)
virtual

Reimplemented from CalibData::CalibBase1.


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