DAS
3.0
Das Analysis System
|
Performs a fit of the resolution with the NSC function, including ad-hoc modification $d$ for possibly non-linearities in the jet resolution:
\[ \frac{\sigma}{p_\mathrm{T}} = \sqrt{ \frac{N^2}{p_\mathrm{T}^2} + \frac{S^2}{p_\mathrm{T}^d} + C^2 } \]
where N stands for noise, S for stochastic, and C for constant.
Public Types | |
enum | { N = 0, S, C, d, NPARS } |
enum | Status { failed = 0b0000, base = 0b0001, modified = 0b0010 } |
Public Member Functions | |
ResolutionFit (const unique_ptr< TH1 > &h, ostream &cout) | |
void | NSC () |
void | NSCd () |
~ResolutionFit () | |
Public Member Functions inherited from AbstractFit | |
virtual bool | good () const |
Private Member Functions | |
void | Write (const char *) override |
Additional Inherited Members | |
Public Attributes inherited from AbstractFit | |
const std::unique_ptr< TH1 > & | h |
std::uint32_t | status |
std::ostream & | cout |
double * | p |
double * | e |
std::unique_ptr< TF1 > | f |
std::optional< double > | chi2ndf |
std::optional< double > | chi2ndfErr |
std::pair< float, float > | interval |
Protected Member Functions inherited from AbstractFit | |
AbstractFit (const unique_ptr< TH1 > &h, ostream &cout, int npars) | |
virtual | ~AbstractFit () |
void | fit (std::pair< float, float >, const char *) |
enum Status |
|
inline |
|
inline |
void NSC | ( | ) |
void NSCd | ( | ) |
|
overrideprivatevirtual |
Write best current estimate in current directory.
Three color codes are used to categorize fits on their final state (after all 3 fits are performed):
Reimplemented from AbstractFit.