13 #include "StHbtMaker/CorrFctn/ntuplePair.h"
18 ntuplePair::ntuplePair()
21 mTree =
new TTree(
"PairTree",
"A Tree with all pairs");
23 mTree->Branch(
"pair",&mPair,
"qinv/F:kt/F:rap/F:entSep/F:qual/F");
26 ntuplePair::~ntuplePair()
32 void ntuplePair::AddRealPair(
const StHbtPair* Pair)
35 mPair.qinv = Pair->qInv() ;
36 mPair.kt = Pair->kT() ;
37 mPair.rap = Pair->rap() ;
38 mPair.entSep = Pair->NominalTpcEntranceSeparation() ;
39 mPair.qual = Pair->quality() ;
44 void ntuplePair::AddMixedPair(
const StHbtPair* Pair)
49 void ntuplePair::Finish()
54 StHbtString ntuplePair::Report()
58 sprintf(Ctemp,
"Ntuple pair filled.\n");