1 #ifndef FieldSettings_h
2 #define FieldSettings_h 1
10 #include "EVENT/LCGenericObject.h"
11 #include "IMPL/LCGenericObjectImpl.h"
13 namespace tpcconddata{
129 IMPL::LCGenericObjectImpl*
obj();
136 void print ( std::ostream& os = std::cout )
const;
151 return std::string(
"FieldSetting");
155 return std::string(
"i:#GEMs,GEMStatus,DriftFieldStatus,MagnetFieldStatus")+
156 std::string(
"f:CathodeVoltage,AnodeVoltage,GuardRingVoltage,GEMVoltages,Transferfields,Inductionfield");
float getGuardRingVoltage() const
return voltage (in V) of the guard ring on the gem modules
float getGEMVoltage(int GEMID) const
return the voltage of the given number GEM 0 is the nearest the drift region
virtual const std::string getTypeName() const
IMPL::LCGenericObjectImpl * obj()
void setMagneticField(float Value)
return the magnetic field (in T)
float getTransferField(int GEMID) const
return the field (in V/mm) between the GEM N and N+1
void print(std::ostream &os=std::cout) const
float getFloatVal(int index) const
IMPL::LCGenericObjectImpl * myObj
float getMagneticField() const
return the magnetic field (in T)
int getMagneticFieldStatus() const
return the status of the Magnet 0: off 1: running normally 2: ramping up 3: ramping down ...
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
void setAnodeVoltage(float Value)
set voltage (in V) of the anode of the field cage (e.g.
void setGEMVoltage(int GEMID, float Value)
set the voltage of the given number GEM 0 is the nearest the drift region
static std::string getDefaultColName()
float getDriftField(float maxDriftLegth) const
return the driftfield (in V/mm) if the length of the driftregion (in mm) is given ...
int getIntVal(int index) const
void setTransferField(int GEMID, float Value)
set the field (in V/mm) between the GEM N and N+1
int getNGEMs() const
return the Number of GEMs
int getGEMStatus() const
return the status of the GEM System 0: off 1: running normally 2: ramping up 3: ramping down 4: tripp...
void setCathodeVoltage(float Value)
set voltage (in V) of the cathode of the field cage
static std::string getRevision()
void setInductionField(float Value)
set the field (in V/mm) between the last GEM and the Pad-Readout-Plane
void setDriftFieldStatus(int Value)
set the status of a drift field (see getDriftFieldStatus)
float getAnodeVoltage() const
return voltage (in V) of the anode of the field cage (e.g.
void setNGEMs(int Value)
set the Number of GEMs is protected, numberof GEMs is to imported for consistence can only be set by ...
virtual const std::string getDataDescription() const
class to store the field setting of a TPC with GEM-based amplification system
float getInductionField() const
return the field (in V/mm) between the last GEM and the Pad-Readout-Plane
void setGEMStatus(int Value)
set the status of a GEM (see getGEMStatus)
float getCathodeVoltage() const
return voltage (in V) of the cathode of the field cage
void setMagneticFieldStatus(int Value)
set the status of a magnet (see getMagneticFieldStatus)
int getDriftFieldStatus() const
return the status of the DriftField System 0: off 1: running normally 2: ramping up 3: ramping down ...
double getDoubleVal(int index) const
void setGuardRingVoltage(float Value)
set voltage (in V) of the guard ring on gem module