53using std::cout, std::endl;
57#define Debug_RooNonCPEigenDecay 1
80 _acp (
"acp",
"acp",
this,
acp ),
81 _avgC (
"C",
"C",
this, C ),
82 _delC (
"delC",
"delC",
this,
delC ),
83 _avgS (
"S",
"S",
this, S ),
84 _delS (
"delS",
"delS",
this,
delS ),
85 _avgW (
"avgW",
"Average mistag rate",
this,
avgW ),
86 _delW (
"delW",
"Shift mistag rate",
this,
delW ),
87 _t (
"t",
"time",
this, t ),
88 _tau (
"tau",
"decay time",
this, tau ),
89 _dm (
"dm",
"mixing frequency",
this, dm ),
90 _tag (
"tag",
"CP state",
this, tag ),
91 _rhoQ (
"rhoQ",
"Charge of the rho",
this,
rhoQ ),
92 _correctQ (
"correctQ",
"correction of rhoQ",
this,
correctQ ),
93 _wQ (
"wQ",
"mischarge",
this,
wQ ),
137 _acp (
"acp",
"acp",
this,
acp ),
138 _avgC (
"C",
"C",
this, C ),
139 _delC (
"delC",
"delC",
this,
delC ),
140 _avgS (
"S",
"S",
this, S ),
141 _delS (
"delS",
"delS",
this,
delS ),
142 _avgW (
"avgW",
"Average mistag rate",
this,
avgW ),
143 _delW (
"delW",
"Shift mistag rate",
this,
delW ),
144 _t (
"t",
"time",
this, t ),
145 _tau (
"tau",
"decay time",
this, tau ),
146 _dm (
"dm",
"mixing frequency",
this, dm ),
147 _tag (
"tag",
"CP state",
this, tag ),
148 _rhoQ (
"rhoQ",
"Charge of the rho",
this,
rhoQ ),
149 _correctQ (
"correctQ",
"correction of rhoQ",
this,
correctQ ),
152 _genRhoPlusFrac( 0 ),
191 _correctQ (
"correctQ",
this,
other._correctQ ),
193 _genB0Frac (
other._genB0Frac ),
194 _genRhoPlusFrac(
other._genRhoPlusFrac ),
195 _type (
other._type ),
196 _basisExp (
other._basisExp ),
197 _basisSin (
other._basisSin ),
198 _basisCos (
other._basisCos )
233 }
else if (
rhoQc == +1) {
248 }
else if (
rhoQc == +1) {
267 if (rangeName)
return 0 ;
280 Int_t code,
const char* )
const
347 if (code == 2 || code == 4) {
359 cout <<
" o RooNonCPEigenDecay::initgenerator: genB0Frac : " <<
_genB0Frac
360 <<
", tag dilution: " << (1 - 2 *
_avgW) << endl;
364 if (code == 3 || code == 4) {
376 cout <<
" o RooNonCPEigenDecay::initgenerator: genRhoPlusFrac: " <<
_genRhoPlusFrac << endl;
#define Debug_RooNonCPEigenDecay
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Base class for PDFs that represent a physics model that can be analytically convolved with a resoluti...
Int_t declareBasis(const char *expression, const RooArgList ¶ms)
Declare a basis function for use in this physics model.
friend class RooRealIntegral
A space to attach TBranches.
Abstract base class for objects that represent a real value and implements functionality common to al...
bool matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Time-dependent RooAbsAnaConvPdf for CP violating decays to Non-CP eigenstates (eg,...
Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Default implementation of function advertising integration capabilities.
double coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=nullptr) const override
correct for the right/wrong charge...
void generateEvent(Int_t code) override
Interface for generation of an event using the algorithm corresponding to the specified code.
double coefficient(Int_t basisIndex) const override
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const override
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
void initGenerator(Int_t code) override
Interface for one-time initialization to setup the generator for the specified code.
RooRealProxy _wQ
dummy mischarge (must be set to zero!)
static double uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
Variable that can be changed from the outside.
RooResolutionModel is the base class for PDFs that represent a resolution model that can be convolute...
double max(const char *rname=nullptr) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
const T & arg() const
Return reference to object held in proxy.
double min(const char *rname=nullptr) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.