BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::MdcDataConst Class Reference

#include <MdcDataConst.h>

+ Inheritance diagram for CalibData::MdcDataConst:

Public Member Functions

void readPar (char *p1)
 
virtual ~MdcDataConst ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getWireEff (int i)
 
void readPar (char *p1)
 
virtual ~MdcDataConst ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getWireEff (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

◆ ~MdcDataConst() [1/2]

virtual CalibData::MdcDataConst::~MdcDataConst ( )
inlinevirtual

◆ ~MdcDataConst() [2/2]

virtual CalibData::MdcDataConst::~MdcDataConst ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/2]

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

◆ classID() [2/2]

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

◆ clID() [1/2]

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

◆ clID() [2/2]

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

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

13{ return classID(); }

◆ getWireEff() [1/2]

double CalibData::MdcDataConst::getWireEff ( int  i)
inline

Definition at line 19 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Mdc/MdcDataConst.h.

19{return wireEff[i];}

◆ getWireEff() [2/2]

double CalibData::MdcDataConst::getWireEff ( int  i)
inline

Definition at line 19 of file InstallArea/include/CalibData/CalibData/Mdc/MdcDataConst.h.

19{return wireEff[i];}

◆ readPar() [1/2]

void CalibData::MdcDataConst::readPar ( char *  p1)

Definition at line 23 of file MdcDataConst.cxx.

23 {
24 istringstream fWireEff;
25 string aa1 = wireEffPointer;
26 fWireEff.str(aa1);
27
28 //read notes line
29 string tempString;
30 fWireEff >> tempString >> tempString >> tempString >> tempString;
31
32 //read wire efficiency
33 string tempLayer,tempCell;
34 int tempGlobalWire;
35 double tempWireEff;
36 for(int i=0; i<NMDCWIRE; i++){
37 fWireEff >> tempGlobalWire >> tempLayer >> tempCell >> tempWireEff;
38 wireEff[tempGlobalWire] = tempWireEff;
39 }
40
41 }

Referenced by TreeMdcDataConstCnv::i_createObj().

◆ readPar() [2/2]

void CalibData::MdcDataConst::readPar ( char *  p1)

◆ update() [1/2]

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

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file MdcDataConst.cxx.

11 {
12 MdcDataConst& other1 = dynamic_cast<MdcDataConst& >(other);
13 cout<<"\n"<<"here is the update in the MdcDataConst in calibration"<<std::endl;
14 CalibBase1::update(other, log);
15 for(int i=0;i<NMDCWIRE;i++){
16 wireEff[i]=other1.wireEff[i];
17 }
18
19 return StatusCode::SUCCESS;
20 }
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::MdcDataConst::update ( CalibBase1 other,
MsgStream *  log 
)
virtual

Reimplemented from CalibData::CalibBase1.


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