|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Go to the source code of this file.
Functions | |
| void | FilterPV (TString BaseName, TString TempBaseName, Double_t minZ=-7.15, Double_t maxZ=4.85) |
| void | DSTConv (TString inFile="~/filesbmn/4649-cbm-full.root", TString outFile="$VMCWORKDIR/macro/run/dst-bmn-4649.root", Int_t nStartEvent=0, Int_t nEvents=0, TString inFileToClone="/eos/nica/bmn/exp/dst/run7/prerelease/3590-4707_BMN_Argon/bmn_run4649_dst.root", vector< TString > branchesToClone={"BmnTof400Hit", "BmnTof700Hit", "BmnDchTrack", "BmnDchHit", "BmnUpstreamHit", "BmnMwpcSegment", "BmnMwpcTrack"}) |
Variables | |
| const Int_t | CutMinNTracksPV = 2 |
| void DSTConv | ( | TString | inFile = "~/filesbmn/4649-cbm-full.root", |
| TString | outFile = "$VMCWORKDIR/macro/run/dst-bmn-4649.root", | ||
| Int_t | nStartEvent = 0, | ||
| Int_t | nEvents = 0, | ||
| TString | inFileToClone = "/eos/nica/bmn/exp/dst/run7/prerelease/3590-4707_BMN_Argon/bmn_run4649_dst.root", | ||
| vector< TString > | branchesToClone = {"BmnTof400Hit", "BmnTof700Hit", "BmnDchTrack", "BmnDchHit", "BmnUpstreamHit", "BmnMwpcSegment", "BmnMwpcTrack"} ) |
| void FilterPV | ( | TString | BaseName, |
| TString | TempBaseName, | ||
| Double_t | minZ = -7.15, | ||
| Double_t | maxZ = 4.85 ) |
Definition at line 5 of file DSTConv.C.
References TTree::CloneTree(), TFile::Close(), CutMinNTracksPV, TString::Data(), TTree::Fill(), TDirectoryFile::Get(), TTree::GetEntries(), TTree::GetEntry(), BmnVertex::GetNTracks(), BmnVertex::GetZ(), TFile::IsOpen(), TTree::SetBranchAddress(), TObjArray::UncheckedAt(), TFile::Write(), and TTree::Write().
| const Int_t CutMinNTracksPV = 2 |
Definition at line 2 of file DSTConv.C.
Referenced by FilterPV(), and FilterPV().