TPCCondData
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tpcconddata::GasConditions Class Reference

class to store the condition of the gas in a gaseous detector (e.g. More...

#include <GasConditions.h>

Inheritance diagram for tpcconddata::GasConditions:

Public Member Functions

 GasConditions ()
 constructor wich only sets channel More...
 
 GasConditions (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database. More...
 
virtual ~GasConditions ()
 Important for memory handling. More...
 
float getMixture (int Content) const
 return fraction of the mixtrue of the gas in of the following contents More...
 
float getTemperature () const
 return the temperature of the gas in C More...
 
float getPressure () const
 return the pressure of the gas in hPa More...
 
float getOverPressure () const
 return the over pressure of the sytem (to the athmosphere) in mbar More...
 
float getFlow () const
 return the flow of the gas in l/h More...
 
float getWaterContent () const
 return the water content in the gas in ppmV More...
 
float getOxygenContent () const
 return the oxygen content in the gas in ppmV More...
 
void setMixture (int Content, float Value)
 
void setTemperature (float Value)
 
void setPressure (float Value)
 
void setOverPressure (float Value)
 
void setFlow (float Value)
 
void setWaterContent (float Value)
 
void setOxygenContent (float Value)
 
void print (std::ostream &os=std::cout) const
 
IMPL::LCGenericObjectImpl * obj ()
 
virtual int id ()
 
int getNInt () const
 
int getNFloat () const
 
int getNDouble () const
 
int getIntVal (int index) const
 
float getFloatVal (int index) const
 
double getDoubleVal (int index) const
 
bool isFixedSize () const
 
const std::string getTypeName () const
 
const std::string getDataDescription () const
 

Static Public Member Functions

static std::string getRevision ()
 
static std::string getDefaultColName ()
 

Protected Member Functions

int getNMixtureContents () const
 
int getContent (int Index) const
 
float getFraction (int Index) const
 
void setFraction (int Index, float Fraction)
 
void addMixtureContents (int Content, float Fraction)
 

Protected Attributes

bool createObj
 
IMPL::LCGenericObjectImpl * myObj
 

Detailed Description

class to store the condition of the gas in a gaseous detector (e.g.

TPC)

Definition at line 19 of file GasConditions.h.

Constructor & Destructor Documentation

tpcconddata::GasConditions::GasConditions ( )

constructor wich only sets channel

Definition at line 17 of file GasConditions.cc.

tpcconddata::GasConditions::GasConditions ( EVENT::LCObject *  obj)

'Copy constructor' needed to interpret LCCollection read from file/database.

Definition at line 30 of file GasConditions.cc.

tpcconddata::GasConditions::~GasConditions ( )
virtual

Important for memory handling.

Definition at line 43 of file GasConditions.cc.

Member Function Documentation

void tpcconddata::GasConditions::addMixtureContents ( int  Content,
float  Fraction 
)
protected

Definition at line 167 of file GasConditions.cc.

int tpcconddata::GasConditions::getContent ( int  Index) const
protected

Definition at line 150 of file GasConditions.cc.

const std::string tpcconddata::GasConditions::getDataDescription ( ) const
inline

Definition at line 88 of file GasConditions.h.

std::string tpcconddata::GasConditions::getDefaultColName ( )
static

Definition at line 13 of file GasConditions.cc.

double tpcconddata::GasConditions::getDoubleVal ( int  index) const

Definition at line 182 of file GasConditions.cc.

float tpcconddata::GasConditions::getFloatVal ( int  index) const

Definition at line 179 of file GasConditions.cc.

float tpcconddata::GasConditions::getFlow ( ) const

return the flow of the gas in l/h

Definition at line 68 of file GasConditions.cc.

float tpcconddata::GasConditions::getFraction ( int  Index) const
protected

Definition at line 156 of file GasConditions.cc.

int tpcconddata::GasConditions::getIntVal ( int  index) const

Definition at line 176 of file GasConditions.cc.

float tpcconddata::GasConditions::getMixture ( int  Content) const

return fraction of the mixtrue of the gas in of the following contents

Definition at line 47 of file GasConditions.cc.

int tpcconddata::GasConditions::getNDouble ( ) const

Definition at line 174 of file GasConditions.cc.

int tpcconddata::GasConditions::getNFloat ( ) const

Definition at line 173 of file GasConditions.cc.

int tpcconddata::GasConditions::getNInt ( ) const

Definition at line 172 of file GasConditions.cc.

int tpcconddata::GasConditions::getNMixtureContents ( ) const
protected

Definition at line 147 of file GasConditions.cc.

float tpcconddata::GasConditions::getOverPressure ( ) const

return the over pressure of the sytem (to the athmosphere) in mbar

Definition at line 64 of file GasConditions.cc.

float tpcconddata::GasConditions::getOxygenContent ( ) const

return the oxygen content in the gas in ppmV

Definition at line 76 of file GasConditions.cc.

float tpcconddata::GasConditions::getPressure ( ) const

return the pressure of the gas in hPa

Definition at line 60 of file GasConditions.cc.

std::string tpcconddata::GasConditions::getRevision ( )
static

Definition at line 9 of file GasConditions.cc.

float tpcconddata::GasConditions::getTemperature ( ) const

return the temperature of the gas in C

Definition at line 56 of file GasConditions.cc.

const std::string tpcconddata::GasConditions::getTypeName ( ) const
inline

Definition at line 85 of file GasConditions.h.

float tpcconddata::GasConditions::getWaterContent ( ) const

return the water content in the gas in ppmV

Definition at line 72 of file GasConditions.cc.

virtual int tpcconddata::GasConditions::id ( )
inlinevirtual

Definition at line 71 of file GasConditions.h.

bool tpcconddata::GasConditions::isFixedSize ( ) const
inline

Definition at line 83 of file GasConditions.h.

IMPL::LCGenericObjectImpl* tpcconddata::GasConditions::obj ( )
inline

Definition at line 69 of file GasConditions.h.

void tpcconddata::GasConditions::print ( std::ostream &  os = std::cout) const

Definition at line 114 of file GasConditions.cc.

void tpcconddata::GasConditions::setFlow ( float  Value)

Definition at line 102 of file GasConditions.cc.

void tpcconddata::GasConditions::setFraction ( int  Index,
float  Fraction 
)
protected

Definition at line 162 of file GasConditions.cc.

void tpcconddata::GasConditions::setMixture ( int  Content,
float  Value 
)

Definition at line 80 of file GasConditions.cc.

void tpcconddata::GasConditions::setOverPressure ( float  Value)

Definition at line 98 of file GasConditions.cc.

void tpcconddata::GasConditions::setOxygenContent ( float  Value)

Definition at line 110 of file GasConditions.cc.

void tpcconddata::GasConditions::setPressure ( float  Value)

Definition at line 94 of file GasConditions.cc.

void tpcconddata::GasConditions::setTemperature ( float  Value)

Definition at line 90 of file GasConditions.cc.

void tpcconddata::GasConditions::setWaterContent ( float  Value)

Definition at line 106 of file GasConditions.cc.

Member Data Documentation

bool tpcconddata::GasConditions::createObj
protected

Definition at line 96 of file GasConditions.h.

IMPL::LCGenericObjectImpl* tpcconddata::GasConditions::myObj
protected

Definition at line 97 of file GasConditions.h.


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