Contents of TTrees

For all dataTrees in tagmix except mass_dataTree, it only has fill and dmass.

fill Index for B0s in event (we might reconstruct 2 unique B0->D*lnu 
in a single event, but this number is almost always 1)
deltat This is time between B0 decays
dterr This is error on dt calculated by VtxTagBtaSelFit
dtTrue MC truth for dt
dt_res (dt - dt_mctruth) - only for MC and for events with B0s, 
otherwise -999
Treco,TrecoMC reco z position converted to time
Ttag,TtagMC tag z position converted to time
Tcharm z position of D0 or D+/- from tag side closest to Ttag
pull dt_res/dterr
tag -1 = the event is mixed (i.e. both decay as B0s or B0bars)
+1 = the event is unmixed
MCtag MC version of tag
leptID MC lepton id:
  1 = electron
  2 = muon
  3 = fake
mcb1 MC index of first B in decay (charged or neutral)
mcb2 MC index of second B in decay (charged or neutral)
mcz1 MC z position of first B in decay
mcz2 MC z position of second B in decay
ztag Tagside z position from VtxTagBtaSelFit
zreco Recoside z positon 
mcztag MC z position of tag side (only works when dstarlnu=1)
mczreco MC z position of reco side (only works when dstarlnu=1)
dmass This is the D* - D0 mass difference
dmass_unfit D*-D0 mass difference without refitting
dmasserr Error on dmass
dstarlnu 0 = no B->D*lnu in event
1 = yes B->D*lnu in event
doubledstar 0 = Only one or neither side decayed as B0->D*lnu
1 = Both sides decayed as B0->D*lnu
doublecharm 0 = No charm vertex (D0 or D+/-) found on tag side
1 = One charm vertex found tag side
2 = Two charm vertices found tag side
chargedb 0 = Y4S -> B0 B0bar
1 = Y4S -> B+ B-
cosDsl Angle between reco D* and reco lepton
cosBY Angle between B and D*l assuming B0->D*lnu
cosBYf Same as costhetaby except using flip leptons
slowpiPt Pt of reco slow pion
maxtagp P of highest momentum particle used in the tag vertex
numtagused Number of particles used in the tag vertex
leptonmomentum Momentum of reco lepton
dstarmomentum Momentum of reco dstar
lepton_cat 1 = electron
2 = muon
3 = fake
sample_cat 0 = No sample - falls outside all samples
1 = signal
2 = combinatoric sideband
3 = fake lepton sample
4 = Uncoorelated lepton sample
D0_cat 0 = no D0 decay found
1 = D0->kpi
2 = D0->k3pi
3 = D0->kpipi0
4 = D0->kspipi
tagCatGrp 1 = lepton tag
2 = kaon tag
3 = net1 tag
4 = net2 tag
5 = no tagging category
tagside_flavor Tag side flavor determined by NOT or Nettagger

+1 = nettagger > 0.2
  0 = abs(nettagger) < 0.2
-1 = nettagger < -0.2

angleCor 1 = signal sample
2 = flip sample
3 = Neither, not used (but must be discarded)
bgType MC truth about the event

0 = good signal
1 = charged B
2 = fake lepton
3 = flip lepton
4 = cascade
5 = ccbar
6 = semigood
7 = Bad D*

Dstarcuts 0 = no cuts
1 = pass D0 vertex cut
2 = pass D0 mass cut
3 = pass Kaon ID and Dalitz cut
4 = pass D* cuts
5 = pass lepton p* cut, good or fake l and D*l vertex cut
6 = dt, dterr cuts
7 = thrust cut
8 = Angular cuts in signal region
9 = pass Vtight lepton ID
10 = tighter dterr, ntrack tagside cut
D0mass Mass of D0 from Dstar
probDstarl,
probDstar,
probD0
prob of vertex for each candidate
dmass_sample_cat Same as above except no mass window cut,
comb and signal in same sample ( = 1)
nDCHhits number of DCH hits for the slow pion
Thrust cos of angle between thrust axis of D*l and rest of event
cosThetaV,
cosThetaL,
angleChi,
Q2,
MCcosThetaV,
MCcosThetaL,
MCangleChi,
MCw
Mandeep's variables for form factor analysis