![]() |
AmpTools
|
#include <ConfigurationInfo.h>
Public Member Functions | |
ReactionInfo (const string &reactionName, const vector< string > &particleList) | |
string | reactionName () const |
const vector< string > & | particleList () const |
const pair< string, vector< string > > & | data () const |
const pair< string, vector< string > > & | bkgnd () const |
const pair< string, vector< string > > & | genMC () const |
const pair< string, vector< string > > & | accMC () const |
string | normIntFile () const |
bool | normIntFileInput () const |
void | display (string fileName="", bool append=true) |
void | clear () |
void | setParticleList (const vector< string > &particleList) |
void | setData (const string &classname, const vector< string > &args) |
void | setBkgnd (const string &classname, const vector< string > &args) |
void | setGenMC (const string &classname, const vector< string > &args) |
void | setAccMC (const string &classname, const vector< string > &args) |
void | setNormIntFile (const string &normIntFile, bool input=false) |
The reaction info holds all information that is specific to a particular reaction or final state. It is typically characterized by a set of unique observable particles in the detector. In order to create a reaction it must be given a name that is unique in the fit and also a list of strings that identify the particles.
Definition at line 489 of file ConfigurationInfo.h.
|
inline |
The constructor.
[in] | reactionName | a unique name to identify this reaction |
[in] | particleList | a list of particles that define the reaction |
Definition at line 499 of file ConfigurationInfo.h.
|
inline |
Returns the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for ACCEPTED MC associated with this reaction.
Definition at line 552 of file ConfigurationInfo.h.
|
inline |
Returns the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for BACKGROUND associated with this reaction.
Definition at line 536 of file ConfigurationInfo.h.
void ReactionInfo::clear | ( | ) |
Clears all internal data for this reaction
Definition at line 914 of file ConfigurationInfo.cc.
|
inline |
Returns the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for DATA associated with this reaction.
Definition at line 528 of file ConfigurationInfo.h.
void ReactionInfo::display | ( | string | fileName = "" , |
bool | append = true |
||
) |
Displays information about this reaction to the screen or writes it to file if a file name is passed in.
[in] | fileName | (optional) name of file to write reaction info to |
[in] | append | (optional) if true (default) information will be appended to the file, if false is passed in the file will be overwritten |
Definition at line 661 of file ConfigurationInfo.cc.
|
inline |
Returns the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for GENERATED MC associated with this reaction.
Definition at line 544 of file ConfigurationInfo.h.
|
inline |
Returns the name of the file that the normalization integral cache is written out to.
Definition at line 560 of file ConfigurationInfo.h.
|
inline |
Returns a boolean that indicates whether this normIntFile should be used as input (true) or not (false).
Definition at line 568 of file ConfigurationInfo.h.
|
inline |
This returns the list of particles that characterize the reaction.
Definition at line 517 of file ConfigurationInfo.h.
|
inline |
This returns the unique name of the reaction.
Definition at line 510 of file ConfigurationInfo.h.
|
inline |
Sets the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for ACCEPTED MC associated with this reaction.
[in] | classname | the name of the DataReader that will read ACCEPTED MC |
[in] | args | arguments to the DataReader |
Definition at line 645 of file ConfigurationInfo.h.
|
inline |
Sets the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for BACKGROUND associated with this reaction.
[in] | classname | the name of the DataReader that will read DATA |
[in] | args | arguments to the DataReader |
Definition at line 621 of file ConfigurationInfo.h.
|
inline |
Sets the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for DATA associated with this reaction.
[in] | classname | the name of the DataReader that will read DATA |
[in] | args | arguments to the DataReader |
Definition at line 609 of file ConfigurationInfo.h.
|
inline |
Sets the name of a DataReader and a vector of arguments (e.g. file names) to that DataReader for GENERATED MC associated with this reaction.
[in] | classname | the name of the DataReader that will read GENERATED MC |
[in] | args | arguments to the DataReader |
Definition at line 633 of file ConfigurationInfo.h.
|
inline |
Sets the name of the file to use as the normalization integral cache
[in] | normIntFile | name of the normalization integral file |
[in] | input | use this normIntFile as input |
Definition at line 656 of file ConfigurationInfo.h.
|
inline |
Sets the vector of strings that provides the names of the final state particles.
[in] | particleList | vector of strings of final state particles |
Definition at line 598 of file ConfigurationInfo.h.