BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
CurConst_dEdXCal.cxx File Reference

Go to the source code of this file.

Functions

ifstream filea ("../CurConstRoot/DedxCurConst_data_minrun-maxrun_bossversion.dat", ifstream::in)
 
 for (int i=0;i< size1;i++)
 
curve Branch ("CurveSize",&CurveSize,"CurveSize/I")
 
curve Branch ("curve", N_DedxCurve_Parameter,"N_DedxCurve_Parameter[CurveSize]/D")
 
curve Fill ()
 
curve Write ()
 
sigma Branch ("SigmaSize",&SigmaSize,"SigmaSize/I")
 
sigma Branch ("sigma", N_DedxSigma_Parameter,"N_DedxSigma_Parameter[SigmaSize]/D")
 
f1 Close ()
 

Variables

TTree * curve =new TTree("curve","curve parameters")
 
TTree * sigma =new TTree("sigma","sigma parameters")
 
const int size1 =17
 
const int size2 =15
 
Double_t N_DedxCurve_Parameter [size1]
 
Double_t N_DedxSigma_Parameter [size2]
 
int CurveSize =sizeof(N_DedxCurve_Parameter)/sizeof(N_DedxCurve_Parameter[0])
 
int SigmaSize =sizeof(N_DedxSigma_Parameter)/sizeof(N_DedxSigma_Parameter[0])
 

Function Documentation

◆ Branch() [1/4]

curve Branch ( "curve"  ,
N_DedxCurve_Parameter  ,
"N_DedxCurve_Parameter/D"  [CurveSize] 
)

◆ Branch() [2/4]

◆ Branch() [3/4]

sigma Branch ( "sigma"  ,
N_DedxSigma_Parameter  ,
"N_DedxSigma_Parameter/D"  [SigmaSize] 
)

◆ Branch() [4/4]

sigma Branch ( "SigmaSize"  ,
SigmaSize,
"SigmaSize/I"   
)

◆ Close()

f1 Close ( )

◆ filea()

ifstream filea ( "../CurConstRoot/DedxCurConst_data_minrun-maxrun_bossversion.dat"  ,
ifstream::in   
)

Referenced by for(), and DedxCalib::ReadRecFileList().

◆ Fill()

◆ for()

for ( )

Definition at line 14 of file CurConst_dEdXCal.cxx.

15 {
17 cout<<N_DedxCurve_Parameter[i]<<endl;
18 }
ifstream filea("../CurConstRoot/DedxCurConst_data_minrun-maxrun_bossversion.dat", ifstream::in)
Double_t N_DedxCurve_Parameter[size1]

◆ Write()

Variable Documentation

◆ curve

TTree* curve =new TTree("curve","curve parameters")

◆ CurveSize

int CurveSize =sizeof(N_DedxCurve_Parameter)/sizeof(N_DedxCurve_Parameter[0])

Definition at line 26 of file CurConst_dEdXCal.cxx.

Referenced by DedxCalib::getCurvePar(), and DedxCurSvc::getDedxCurveInfo().

◆ N_DedxCurve_Parameter

Double_t N_DedxCurve_Parameter[size1]

Definition at line 11 of file CurConst_dEdXCal.cxx.

Referenced by for().

◆ N_DedxSigma_Parameter

Double_t N_DedxSigma_Parameter[size2]

Definition at line 12 of file CurConst_dEdXCal.cxx.

◆ sigma

TTree* sigma =new TTree("sigma","sigma parameters")

Definition at line 6 of file CurConst_dEdXCal.cxx.

Referenced by TTrackBase::appendByApproach(), BesMdcRes::BesMdcRes(), TofCorrPID::bSigma(), TofCaliSvc::BSigmaCluster(), TofCaliSvc::BSigmaCounter(), TofTrack::buildRecTofTrack(), CalibBase::calib(), BesTofDigitizerEcV4::StripStruct::calNextN(), BesTofDigitizerEcV4::StripStruct::calSigma(), check_two_sigma_violate(), TEvent::dATheta(), TEvent::dDeltaPhi(), TEvent::dDeltaTheta(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), BesMdcDigitizer::Digitize(), TTrackBase::DropWorst(), endcap_conv2root(), EvtDecay::energySpread(), EvtConExc::energySpread(), Millepede::EquLoc(), TofCaliSvc::ESigma(), TofCorrPID::eSigma(), UseTof::execute(), DQAPi2p2::execute(), EsTimeAlg::execute(), MdcxCosmicSewer::execute(), MucRec2DRoad::Fit(), HadronCalibration::fitBGCurve(), DedxCalib::getCurvePar(), DedxCurSvc::getDedxCurveInfo(), MdcTunningSvc::GetRes(), MdcCalibFunSvc::getSigma(), MdcCalibFunSvc::getSigmaLR(), MdcCalibFunSvc::getSigmaToT(), MdcCalibFunSvc::getSigmaToTLR(), main(), MucRec3DRoad::MucRec3DRoad(), MucRecHit::MucRecHit(), TofCorrPID::offsetTof(), Millepede::ParSig(), ParticleIDBase::pdfCalculate(), MdcTrackList::pickHits(), HadronCalibration::plotBGCurve(), ReadCurPara(), TTrackBase::refine(), RandomNrCenter::Rngaus(), EvtConExc::Ros_xs(), TTrackManager::salvageAssociateHits(), DstTofTrack::setSigma(), TRecTofTrack::setSigma(), TTofTrack::setSigma(), MdcHit::sigma(), EvtGammaMatrix::sigmaLower(), TofCorrPID::sigmaTof(), Tof1PID::sigmaTof1(), Tof2PID::sigmaTof2(), TofCPID::sigmaTofC(), TofEPID::sigmaTofE(), EvtGammaMatrix::sigmaUpper(), MucRec2DRoad::SimpleFit(), MucRec2DRoad::SimpleFitNoCurrentGap(), MdcTrack::storeTrack(), tau_mode(), TTrackBase::testByApproach(), BesTofDigitizerEcV3::TofPmtAccum(), BesTofDigitizerBrV2::TofPmtAccum(), wireFit(), DedxCalibLayerGain::WriteHists(), DedxCalibWireGain::WriteHists(), and EvtXsection::Xsection_c().

◆ SigmaSize

int SigmaSize =sizeof(N_DedxSigma_Parameter)/sizeof(N_DedxSigma_Parameter[0])

Definition at line 27 of file CurConst_dEdXCal.cxx.

Referenced by DedxCalib::getCurvePar(), and DedxCurSvc::getDedxCurveInfo().

◆ size1

const int size1 =17

Definition at line 8 of file CurConst_dEdXCal.cxx.

◆ size2

const int size2 =15

Definition at line 9 of file CurConst_dEdXCal.cxx.