AmpTools
PlotGenerator Class Referenceabstract

#include <PlotGenerator.h>

Public Types

enum  { kData = 0, kGenMC, kAccMC, kNumTypes }
 

Public Member Functions

 PlotGenerator (const FitResults &fitResults)
 
virtual ~PlotGenerator ()
 
pair< double, double > intensity (bool accCorrected=true) const
 
bool haveAmp (const string &amp) const
 
const ConfigurationInfocfgInfo () const
 
const vector< string > & availablePlots () const
 
const vector< string > & fullAmplitudes () const
 
const vector< string > & uniqueAmplitudes () const
 
const vector< string > & uniqueSums () const
 
vector< string > reactions () const
 
Histogramprojection (unsigned int projectionIndex, string fsName, unsigned int type)
 
void disableReaction (const string &fsName)
 
void enableReaction (const string &fsName)
 
void disableAmp (unsigned int uniqueAmpIndex)
 
void enableAmp (unsigned int uniqueAmpIndex)
 
void disableSum (unsigned int uniqueSumIndex)
 
void enableSum (unsigned int uniqueSumIndex)
 
bool isReactionEnabled (const string &reactName) const
 
bool isAmpEnabled (unsigned int uniqueAmpIndex) const
 
bool isSumEnabled (unsigned int uniqueSumIndex) const
 

Protected Member Functions

void bookHistogram (int index, const string &title, Histogram *hist)
 
void bookHistogram (int index, Histogram *hist)
 
void fillHistogram (int index, double value)
 
void fillHistogram (int index, double valueX, double valueY)
 
void fillHistogram (int index, vector< double > &data, double weight=1)
 
unsigned int getAmpIndex (const string &ampName) const
 

Detailed Description

Definition at line 59 of file PlotGenerator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kData 
kGenMC 
kAccMC 
kNumTypes 

Definition at line 64 of file PlotGenerator.h.

Constructor & Destructor Documentation

◆ PlotGenerator()

PlotGenerator::PlotGenerator ( const FitResults fitResults)

Definition at line 51 of file PlotGenerator.cc.

Here is the call graph for this function:

◆ ~PlotGenerator()

PlotGenerator::~PlotGenerator ( )
virtual

Definition at line 159 of file PlotGenerator.cc.

Member Function Documentation

◆ availablePlots()

const vector< string >& PlotGenerator::availablePlots ( ) const
inline

Definition at line 77 of file PlotGenerator.h.

◆ bookHistogram() [1/2]

void PlotGenerator::bookHistogram ( int  index,
const string &  title,
Histogram hist 
)
protected

Definition at line 311 of file PlotGenerator.cc.

Here is the caller graph for this function:

◆ bookHistogram() [2/2]

void PlotGenerator::bookHistogram ( int  index,
Histogram hist 
)
protected

Definition at line 324 of file PlotGenerator.cc.

Here is the call graph for this function:

◆ cfgInfo()

const ConfigurationInfo* PlotGenerator::cfgInfo ( ) const
inline

Definition at line 75 of file PlotGenerator.h.

◆ disableAmp()

void PlotGenerator::disableAmp ( unsigned int  uniqueAmpIndex)

Definition at line 397 of file PlotGenerator.cc.

◆ disableReaction()

void PlotGenerator::disableReaction ( const string &  fsName)

Definition at line 531 of file PlotGenerator.cc.

◆ disableSum()

void PlotGenerator::disableSum ( unsigned int  uniqueSumIndex)

Definition at line 452 of file PlotGenerator.cc.

◆ enableAmp()

void PlotGenerator::enableAmp ( unsigned int  uniqueAmpIndex)

Definition at line 421 of file PlotGenerator.cc.

◆ enableReaction()

void PlotGenerator::enableReaction ( const string &  fsName)

Definition at line 537 of file PlotGenerator.cc.

◆ enableSum()

void PlotGenerator::enableSum ( unsigned int  uniqueSumIndex)

Definition at line 477 of file PlotGenerator.cc.

◆ fillHistogram() [1/3]

void PlotGenerator::fillHistogram ( int  index,
double  value 
)
protected

Definition at line 370 of file PlotGenerator.cc.

◆ fillHistogram() [2/3]

void PlotGenerator::fillHistogram ( int  index,
double  valueX,
double  valueY 
)
protected

Definition at line 377 of file PlotGenerator.cc.

◆ fillHistogram() [3/3]

void PlotGenerator::fillHistogram ( int  index,
vector< double > &  data,
double  weight = 1 
)
protected

Definition at line 385 of file PlotGenerator.cc.

◆ fullAmplitudes()

const vector< string >& PlotGenerator::fullAmplitudes ( ) const
inline

Definition at line 80 of file PlotGenerator.h.

◆ getAmpIndex()

unsigned int PlotGenerator::getAmpIndex ( const string &  ampName) const
protected

Definition at line 299 of file PlotGenerator.cc.

◆ haveAmp()

bool PlotGenerator::haveAmp ( const string &  amp) const

Definition at line 391 of file PlotGenerator.cc.

◆ intensity()

pair< double, double > PlotGenerator::intensity ( bool  accCorrected = true) const

Definition at line 193 of file PlotGenerator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAmpEnabled()

bool PlotGenerator::isAmpEnabled ( unsigned int  uniqueAmpIndex) const

Definition at line 509 of file PlotGenerator.cc.

◆ isReactionEnabled()

bool PlotGenerator::isReactionEnabled ( const string &  reactName) const

Definition at line 543 of file PlotGenerator.cc.

◆ isSumEnabled()

bool PlotGenerator::isSumEnabled ( unsigned int  uniqueSumIndex) const

Definition at line 520 of file PlotGenerator.cc.

◆ projection()

Histogram * PlotGenerator::projection ( unsigned int  projectionIndex,
string  fsName,
unsigned int  type 
)

Definition at line 216 of file PlotGenerator.cc.

Here is the call graph for this function:

◆ reactions()

vector< string > PlotGenerator::reactions ( ) const

Definition at line 613 of file PlotGenerator.cc.

Here is the call graph for this function:

◆ uniqueAmplitudes()

const vector< string >& PlotGenerator::uniqueAmplitudes ( ) const
inline

Definition at line 82 of file PlotGenerator.h.

◆ uniqueSums()

const vector< string >& PlotGenerator::uniqueSums ( ) const
inline

Definition at line 84 of file PlotGenerator.h.


The documentation for this class was generated from the following files: