EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Container to store experimental conditions. More...
#include <ExperimentalConditions.h>
Public Member Functions | |
ExperimentalConditions () | |
ExperimentalConditions (double leptonEnergy, ParticleType::Type leptonType, int leptonHelicity, double hadronEnergy, ParticleType::Type hadronType, const NumA::Vector3D &hadronPolarisation) | |
ExperimentalConditions (const ExperimentalConditions &other) | |
virtual | ~ExperimentalConditions () |
virtual std::string | toString () const |
double | getLeptonEnergyFixedTargetEquivalent () const |
double | getLeptonEnergy () const |
void | setLeptonEnergy (double leptonEnergy) |
ParticleType::Type | getLeptonType () const |
void | setLeptonType (ParticleType::Type leptonType) |
int | getLeptonHelicity () const |
void | setLeptonHelicity (int leptonHelicity) |
double | getHadronEnergy () const |
void | setHadronEnergy (double hadronEnergy) |
ParticleType::Type | getHadronType () const |
void | setHadronType (ParticleType::Type hadronType) |
const NumA::Vector3D & | getHadronPolarisation () const |
void | setHadronPolarisation (const NumA::Vector3D &hadronPolarisation) |
Static Public Member Functions | |
static ExperimentalConditions | fromTask (const MonteCarloTask &task) |
Container to store experimental conditions.
This class acts as a container to store experimental conditions.
EPIC::ExperimentalConditions::ExperimentalConditions | ( | ) |
Default constructor.
EPIC::ExperimentalConditions::ExperimentalConditions | ( | double | leptonEnergy, |
ParticleType::Type | leptonType, | ||
int | leptonHelicity, | ||
double | hadronEnergy, | ||
ParticleType::Type | hadronType, | ||
const NumA::Vector3D & | hadronPolarisation | ||
) |
Assignment constructor.
EPIC::ExperimentalConditions::ExperimentalConditions | ( | const ExperimentalConditions & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
static |
Build from task.
double EPIC::ExperimentalConditions::getHadronEnergy | ( | ) | const |
Get hadron energy.
const NumA::Vector3D & EPIC::ExperimentalConditions::getHadronPolarisation | ( | ) | const |
Get hadron polarisation.
ParticleType::Type EPIC::ExperimentalConditions::getHadronType | ( | ) | const |
Get hadron type.
double EPIC::ExperimentalConditions::getLeptonEnergy | ( | ) | const |
Get lepton energy.
double EPIC::ExperimentalConditions::getLeptonEnergyFixedTargetEquivalent | ( | ) | const |
Get lepton energy fixed target equivalent.
int EPIC::ExperimentalConditions::getLeptonHelicity | ( | ) | const |
Get lepton helicity.
ParticleType::Type EPIC::ExperimentalConditions::getLeptonType | ( | ) | const |
Get lepton type.
void EPIC::ExperimentalConditions::setHadronEnergy | ( | double | hadronEnergy | ) |
Set hadron energy.
void EPIC::ExperimentalConditions::setHadronPolarisation | ( | const NumA::Vector3D & | hadronPolarisation | ) |
Set hadron polarisation.
void EPIC::ExperimentalConditions::setHadronType | ( | ParticleType::Type | hadronType | ) |
Set hadron type.
void EPIC::ExperimentalConditions::setLeptonEnergy | ( | double | leptonEnergy | ) |
Set lepton energy.
void EPIC::ExperimentalConditions::setLeptonHelicity | ( | int | leptonHelicity | ) |
Set lepton helicity.
void EPIC::ExperimentalConditions::setLeptonType | ( | ParticleType::Type | leptonType | ) |
Set lepton type.