MannyMoo / AGammaD0Tohhpi0

Code for the measurement of AGamma in D0->hhpi0.
0 stars 0 forks source link

Add decay time efficiency #6

Open MannyMoo opened 5 years ago

MannyMoo commented 5 years ago

Update TimeDependentGenerator and genTimeDependent to pass an optional histogram that describes the efficiency vs decay time, then apply this efficiency in the generation.

Validate that it works by generating a single dataset and comparing the decaytime distribution to that in real data.

NiallMcHugh commented 5 years ago

decayTimes_withEfficiency

Looks like efficiency effects are working. Attached is a plot of decay time for small number (5000) of events simulated using the 'data_3SigmaCPV' integrators.

(File is: /nfs/lhcb/d2hh01/hhpi0/data/mint/data_3SigmaCPV/pipipi0_effTest.root)