Go to the source code of this file.
|
myCanvas | Divide (1, 1) |
|
c1_1 | Draw () |
|
c1_1 | cd () |
|
c1_1 | Range (0.425458,-114.842, 0.674993, 802.951) |
|
c1_1 | SetBorderSize (2) |
|
c1_1 | SetBottomMargin (0.125129) |
|
c1_1 | SetFrameFillColor (0) |
|
data | SetBranchAddress ("time",&time) |
|
data | SetBranchAddress ("dltphi",&dltphi) |
|
data | SetBranchAddress ("costht1",&costht1) |
|
data | SetBranchAddress ("costht2",&costht2) |
|
data | SetBranchAddress ("e1",&e1) |
|
data | SetBranchAddress ("e2",&e2) |
|
data | SetBranchAddress ("etot",&etot) |
|
data | SetBranchAddress ("phi1",&phi1) |
|
data | SetBranchAddress ("phi2",&phi2) |
|
| for (Int_t i=0;i< 10;i++) |
|
data | GetEntry (0) |
|
data | GetEntry ((nentries - 1)) |
|
c1 | SetFillColor (kWhite) |
|
c1 | SetGrid () |
|
g1 | SetParameters (lum[0], 1e+4.) |
|
g1 | SetLineColor (2) |
|
gr | SetLineWidth (2) |
|
gr | SetMarkerColor (4) |
|
gr | SetMarkerStyle (21) |
|
gr | SetTitle ("BbLum_000XXXX") |
|
gr | GetXaxis () -> SetTitle("Time") |
|
gr | GetYaxis () -> SetTitle("Luminosity") |
|
gr | Fit ("g1","R") |
|
gr | Draw ("ap") |
|
m_outputFile | open ("Lum_Tau.txt", ios_base::app) |
|
|
TFile * | f1 = new TFile("/bes3fs/groups/psip/psipgroup/temp/user/liuh/BbLum/psipp/BbEmc_00XXXX.root") |
|
TTree * | data =event |
|
TCanvas * | myCanvas = new TCanvas() |
|
TPad * | c1_1 = new TPad("c1_1", "c1_1",0.01,0.01,0.99,0.99) |
|
Double_t | time = 0.0 |
|
Double_t | dltphi = 0.0 |
|
Double_t | costht1 = 0.0 |
|
Double_t | costht2 = 0.0 |
|
Double_t | e1 = 0.0 |
|
Double_t | e2 = 0.0 |
|
Double_t | etot = 0.0 |
|
Double_t | phi1 = 0.0 |
|
Double_t | phi2 = 0.0 |
|
Int_t | nentries = 0 |
|
TH1D * | hdltphi [10] |
|
TH1 * | htime = new TH1D("htime","time", 80, -10., 10.) |
|
Double_t | timemin = 0.0 |
|
Double_t | timemax = 0.0 |
|
Double_t | difft = timemax-timemin |
|
Double_t | xtime [11] |
|
Double_t | lum [10] |
|
Int_t | nevt [10] |
|
Double_t | x [10] |
|
TCanvas * | c1 = new TCanvas("c1"," ",700,500) |
|
const Int_t | n = 10 |
|
TF1 * | g1 = new TF1("g1","[0]*exp(-x/[1])",0,10000.) |
|
TGraph * | gr = new TGraph(n,x,lum) |
|
std::ofstream | m_outputFile |
|
◆ cd()
◆ Divide()
◆ Draw() [1/2]
◆ Draw() [2/2]
Referenced by CgemROOTGeo::Draw(), CgemROOTGeo::DrawUF(), Cgem2DXStrip::ExecuteEvent(), Cgem2DVStrip::ExecuteEvent(), Emc2DCrystal::ExecuteEvent(), Mdc2DWire::ExecuteEvent(), Muc2DStrip::ExecuteEvent(), Tof2DScin::ExecuteEvent(), BesVisDisplay::SetView(), BesVisDisplay::ShowNextEvent(), DedxCalibCostheta::WriteHists(), and DedxCalibMomentum::WriteHists().
◆ Fit()
◆ for()
Definition at line 31 of file tau_mode.c.
32 {
33 hdltphi[i] =
new TH1D(
" ",
"dltphi distribution",50,-50.,50.);
34 }
◆ GetEntry() [1/2]
◆ GetEntry() [2/2]
◆ GetXaxis()
◆ GetYaxis()
◆ open()
◆ Range()
c1_1 Range |
( |
0. |
425458, |
|
|
-114. |
842, |
|
|
0. |
674993, |
|
|
802. |
951 |
|
) |
| |
◆ SetBorderSize()
◆ SetBottomMargin()
c1_1 SetBottomMargin |
( |
0. |
125129 | ) |
|
◆ SetBranchAddress() [1/9]
data SetBranchAddress |
( |
"costht1" |
, |
|
|
& |
costht1 |
|
) |
| |
◆ SetBranchAddress() [2/9]
data SetBranchAddress |
( |
"costht2" |
, |
|
|
& |
costht2 |
|
) |
| |
◆ SetBranchAddress() [3/9]
data SetBranchAddress |
( |
"dltphi" |
, |
|
|
& |
dltphi |
|
) |
| |
◆ SetBranchAddress() [4/9]
data SetBranchAddress |
( |
"e1" |
, |
|
|
& |
e1 |
|
) |
| |
◆ SetBranchAddress() [5/9]
data SetBranchAddress |
( |
"e2" |
, |
|
|
& |
e2 |
|
) |
| |
◆ SetBranchAddress() [6/9]
data SetBranchAddress |
( |
"etot" |
, |
|
|
& |
etot |
|
) |
| |
◆ SetBranchAddress() [7/9]
data SetBranchAddress |
( |
"phi1" |
, |
|
|
& |
phi1 |
|
) |
| |
◆ SetBranchAddress() [8/9]
data SetBranchAddress |
( |
"phi2" |
, |
|
|
& |
phi2 |
|
) |
| |
◆ SetBranchAddress() [9/9]
data SetBranchAddress |
( |
"time" |
, |
|
|
& |
time |
|
) |
| |
◆ SetFillColor()
c1 SetFillColor |
( |
kWhite |
| ) |
|
◆ SetFrameFillColor()
c1_1 SetFrameFillColor |
( |
0 |
| ) |
|
◆ SetGrid()
◆ SetLineColor()
◆ SetLineWidth()
◆ SetMarkerColor()
◆ SetMarkerStyle()
◆ SetParameters()
g1 SetParameters |
( |
lum |
[0], |
|
|
1e+ |
4. |
|
) |
| |
◆ SetTitle()
gr SetTitle |
( |
"BbLum_000XXXX" |
| ) |
|
◆ c1
TCanvas* c1 = new TCanvas("c1"," ",700,500) |
Definition at line 75 of file tau_mode.c.
Referenced by ResiAlign::align(), HoughTrack::calculateZ_S(), HoughStereo::cald(), BesEmcEndGeometry::ComputeDimAndPos(), ExtBesEmcEndGeometry::ComputeDimAndPos(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), BesTView::DefinePerspectiveView(), BesTView::DefineViewDirection(), EvtParticle::dumpTreeRec(), DimuPreSelect::execute(), TofCalibFit::fillRoot(), Hough2D::fitLeast(), MucGeometron::GetIntersectionLinePlaneWithSigma(), MucGeometron::GetIntersectionQuadPlane(), MucGeometron::GetIntersectionQuadPlaneLocal(), EvtPartWave::init(), ParticleIDBase::interpolation(), intersect(), intersection(), DimuPreSelect::IsDimu(), HTrackParameter::minDistanceTwoHelix(), Ext_xp_err::move(), BesTView::NormalWCtoNDC(), BesTView::ResetView(), TTrackManager::setCurlerFlags(), ResiAlign::updateConst(), HoughHit::VHitPosition(), DedxCalibCostheta::WriteHists(), DedxCalibDocaEAng::WriteHists(), DedxCalibEAng::WriteHists(), DedxCalibLayerGain::WriteHists(), DedxCalibMomentum::WriteHists(), and DedxCalibWireGain::WriteHists().
◆ c1_1
TPad* c1_1 = new TPad("c1_1", "c1_1",0.01,0.01,0.99,0.99) |
◆ costht1
◆ costht2
◆ data
◆ difft
◆ dltphi
◆ e1
◆ e2
◆ etot
◆ f1
TFile* f1 = new TFile("/bes3fs/groups/psip/psipgroup/temp/user/liuh/BbLum/psipp/BbEmc_00XXXX.root") |
◆ g1
TF1* g1 = new TF1("g1","[0]*exp(-x/[1])",0,10000.) |
◆ gr
TGraph* gr = new TGraph(n,x,lum) |
◆ hdltphi
◆ htime
TH1* htime = new TH1D("htime","time", 80, -10., 10.) |
◆ lum
◆ m_outputFile
std::ofstream m_outputFile |
◆ myCanvas
TCanvas* myCanvas = new TCanvas() |
◆ nentries
◆ nevt
◆ phi1
◆ phi2
◆ time
◆ timemax
◆ timemin
◆ xtime