laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauAbsEffModel.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2014 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
37 #ifndef LAUABSEFFMODEL
38 #define LAUABSEFFMODEL
39 
40 #include "Rtypes.h"
41 
42 class LauDaughters;
43 class LauKinematics;
44 
45 
47 
48  public:
51 
53  virtual ~LauAbsEffModel() {}
54 
56 
60  virtual Double_t calcEfficiency( const LauKinematics* kinematics ) const=0;
61 
63 
67  virtual Bool_t passVeto( const LauKinematics* kinematics ) const=0;
68 
70  virtual Bool_t fluctuateEffHisto() const=0;
71 
73  /*
74  \return the LauDaughters object associated with the DP
75  */
76  virtual const LauDaughters* getDaughters() const=0;
77 
78  private:
80  LauAbsEffModel( const LauAbsEffModel& rhs );
81 
84 
85  ClassDef(LauAbsEffModel, 0) // pABC for the signal efficiency across the DP
86 
87 };
88 
89 #endif
virtual Bool_t fluctuateEffHisto() const =0
Determine whether the efficiency histogram has had its bins fluctuated within their errors...
LauAbsEffModel & operator=(const LauAbsEffModel &rhs)
Copy assignment operator - not implemented.
virtual const LauDaughters * getDaughters() const =0
Return the daughters object.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
Pure abstract base class for defining the efficiency description across the signal Dalitz plot...
virtual ~LauAbsEffModel()
Destructor.
LauAbsEffModel()
Constructor.
virtual Double_t calcEfficiency(const LauKinematics *kinematics) const =0
Determine the efficiency for a given point in the Dalitz plot.
Class for calculating 3-body kinematic quantities.
virtual Bool_t passVeto(const LauKinematics *kinematics) const =0
Determine whether the given DP position is outside the vetoes.