1 #ifndef GasConditions_h 
    2 #define GasConditions_h 1 
   10 #include "EVENT/LCGenericObject.h" 
   11 #include "IMPL/LCGenericObjectImpl.h" 
   13 namespace tpcconddata{
 
   67     void print( std::ostream& os = std::cout ) 
const;
 
   69     IMPL::LCGenericObjectImpl* 
obj(){
return myObj;}
 
   86         return "GasConditions";
 
   89         return std::string(
"i:NContents,MixtureContents,")+
 
   90             std::string(
"f:Temperture,Preasure,Overpreasure,Flow,")+
 
   91             std::string(
"WaterContent,OxygenContent,MixtureFractions");
 
   97     IMPL::LCGenericObjectImpl* 
myObj;
 
IMPL::LCGenericObjectImpl * obj()
 
void setTemperature(float Value)
 
float getTemperature() const 
return the temperature of the gas in C 
 
virtual ~GasConditions()
Important for memory handling. 
 
float getOxygenContent() const 
return the oxygen content in the gas in ppmV 
 
const std::string getTypeName() const 
 
float getFloatVal(int index) const 
 
void setFlow(float Value)
 
void setOxygenContent(float Value)
 
GasConditions()
constructor wich only sets channel 
 
void setPressure(float Value)
 
float getFlow() const 
return the flow of the gas in l/h 
 
float getFraction(int Index) const 
 
const std::string getDataDescription() const 
 
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
 
void setMixture(int Content, float Value)
 
void print(std::ostream &os=std::cout) const 
 
float getOverPressure() const 
return the over pressure of the sytem (to the athmosphere) in mbar 
 
int getNMixtureContents() const 
 
void setWaterContent(float Value)
 
static std::string getDefaultColName()
 
void addMixtureContents(int Content, float Fraction)
 
double getDoubleVal(int index) const 
 
void setOverPressure(float Value)
 
int getIntVal(int index) const 
 
void setFraction(int Index, float Fraction)
 
class to store the condition of the gas in a gaseous detector (e.g. 
 
float getWaterContent() const 
return the water content in the gas in ppmV 
 
static std::string getRevision()
 
float getPressure() const 
return the pressure of the gas in hPa 
 
IMPL::LCGenericObjectImpl * myObj
 
float getMixture(int Content) const 
return fraction of the mixtrue of the gas in of the following contents 
 
int getContent(int Index) const