Skip to content
Snippets Groups Projects
Commit 8d62a4d3 authored by Rishat Sultanov's avatar Rishat Sultanov
Browse files

Add particles start X,Y

parent 4b5c7049
Branches ecalsim_bu
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ void CbmEcalAnalysisRe::Exec(Option_t* option)
fM=t->GetMass();
fE=TMath::Sqrt(fM*fM+fPX*fPX+fPY*fPY+fPZ*fPZ);
fZ=t->GetStartZ();
fsX=t->GetStartX();
fsY=t->GetStartY();
}
fTree->Fill();
// cout << "ECALRE: fill tree" << endl;
......@@ -66,6 +68,8 @@ void CbmEcalAnalysisRe::InitTree()
fTree->Branch("x", &fX , "x/D");
fTree->Branch("y", &fY , "y/D");
fTree->Branch("z", &fZ , "z/D");
fTree->Branch("sx", &fsX , "sx/D");
fTree->Branch("sy", &fsY , "sy/D");
fTree->Branch("t", &fT , "t/D");
fTree->Branch("ev",&fEv , "ev/I");
}
......
......@@ -36,6 +36,8 @@ private:
Double_t fX;
Double_t fY;
Double_t fZ;
Double_t fsX;
Double_t fsY;
Double_t fT;
Double_t fPX;
Double_t fPY;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment