#include <CoherenceFactorCalculator.h>
Definition at line 27 of file CoherenceFactorCalculator.h.
◆ CoherenceFactorCalculator()
Definition at line 21 of file CoherenceFactorCalculator.cpp.
MINT::counted_ptr< MINT::IEventGenerator< IDalitzEvent > > _myOwnGenAplusAbar
std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate > > _cfList
◆ effA()
double CoherenceFactorCalculator::effA |
( |
| ) |
const |
◆ effAbar()
double CoherenceFactorCalculator::effAbar |
( |
| ) |
const |
◆ effAbarSigma()
double CoherenceFactorCalculator::effAbarSigma |
( |
| ) |
const |
◆ effAbarVar()
double CoherenceFactorCalculator::effAbarVar |
( |
| ) |
const |
◆ effASigma()
double CoherenceFactorCalculator::effASigma |
( |
| ) |
const |
◆ effAVar()
double CoherenceFactorCalculator::effAVar |
( |
| ) |
const |
◆ estimatedPrecision()
double CoherenceFactorCalculator::estimatedPrecision |
( |
| ) |
const |
Definition at line 214 of file CoherenceFactorCalculator.cpp.
216 for(
unsigned int i=0; i <
_cfList.size(); i++){
217 double tp =
_cfList[i]->estimatedPrecision();
218 if(tp > prec) prec = tp;
std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate > > _cfList
◆ evaluate()
complex< double > CoherenceFactorCalculator::evaluate |
( |
| ) |
|
Definition at line 150 of file CoherenceFactorCalculator.cpp.
152 if(dbThis) cout <<
"Hello from CoherenceFactorCalculator::evaluate()" << endl;
154 long int rediculousNumber = 1000000000;
156 int printEvery = 10000;
157 int makeHistosEvery = 100000;
159 for(
int i=0; i < 1000; i++){
161 bool printout = tries < 10 || (0 == tries%printEvery);
162 bool makeHistos = (0 == tries%makeHistosEvery);
165 if(dbThis) cout <<
"WARNING in CoherenceFactor::getR()" 166 <<
" got evtPtr = " << evtPtr << endl;
170 for(
unsigned int i=0; i <
_cfList.size(); i++){
175 cout <<
" DalitzEvent::EventCounter() " 178 cout <<
"INFO from CoherenceFactor::getR()" 179 <<
"\n\t tries: " << tries
187 cout <<
" --------------------------------- " << endl;
MINT::counted_ptr< IDalitzEvent > newEvent()
std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate > > _cfList
static long int eventCounter()
void printResult(std::ostream &os=std::cout) const
double estimatedPrecision() const
◆ getGenerator()
Definition at line 48 of file CoherenceFactorCalculator.cpp.
51 if(dbThis) cout <<
"CoherenceFactorCalculator::getGenerator(): " 52 <<
"making generator" << endl;
57 if(dbThis) cout <<
"made generator." << endl;
MINT::counted_ptr< MINT::IEventGenerator< IDalitzEvent > > _myOwnGenAplusAbar
DalitzEventPattern getTreePattern() const
virtual FitAmplitude * getAmpPtr(unsigned int i)
virtual DalitzBWBoxSet makeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual unsigned int size() const
◆ newEvent()
Definition at line 62 of file CoherenceFactorCalculator.cpp.
virtual counted_ptr< RETURN_TYPE > newEvent()=0
MINT::counted_ptr< MINT::IEventGenerator< IDalitzEvent > > getGenerator()
◆ printResult()
void CoherenceFactorCalculator::printResult |
( |
std::ostream & |
os = std::cout | ) |
const |
Definition at line 115 of file CoherenceFactorCalculator.cpp.
119 os <<
"Efficiencies from CoherenceFactorCalculater\n";
123 os <<
"\n Coherence Factors";
124 for(
unsigned int i=0; i <
_cfList.size(); i++){
126 os <<
"\n * No efficiency effects " 127 <<
" - 100% efficient detector\n";
129 os <<
"\n * Including efficiency effects\n";
133 os <<
"\n ....difference..relative..to..no..efficiency..effects:....";
134 os <<
"\n diff R= " <<
_cfList[i]->absR() - R0
137 os <<
"\n relative diff R= " 139 <<
" +/- " << (sqrt(
_cfList[i]->varAbs() +
_cfList[0]->varAbs())/R0);
140 os <<
"\n diff phase= " 142 <<
" +/- " << sqrt(
_cfList[i]->varAngleDeg() +
_cfList[0]->varAngleDeg())
std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate > > _cfList
double effAbarSigma() const
std::string anythingToString(const T &anything)
◆ setPrecision()
void CoherenceFactorCalculator::setPrecision |
( |
double |
prec | ) |
|
◆ _A_plus_Abar
FitAmpSum CoherenceFactorCalculator::_A_plus_Abar |
|
private |
◆ _cfList
◆ _myOwnGenAplusAbar
◆ _name
std::string CoherenceFactorCalculator::_name |
|
private |
◆ _precision
double CoherenceFactorCalculator::_precision |
|
private |
The documentation for this class was generated from the following files: