/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/root/CaloRun.hh

Go to the documentation of this file.
00001 /* @version $Revision: 1416 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-11-18 16:11:02 +0100 (Fri, 18 Nov 2011) $ */
00002 
00003 
00004 #ifndef ROOT_CALORUN
00005 #define ROOT_CALORUN
00006 
00007 /*!
00008  * \file CaloRun.hh
00009  * \brief Contains Run's parameters:
00010  * 
00011  * -runId :Id du run
00012  *
00013  * -Average run temperature: fTemp
00014  * 
00015  * -Average run pressure: fPress
00016  * 
00017  * -offsetX => ???
00018  *
00019  * -offsetY => ???
00020  *
00021  * \author Jean Jacquemier
00022  * \version "$Revision: 1416 $"
00023  */
00024 
00025 #include "TObject.h"
00026 #include "TClonesArray.h"
00027 
00028 
00029 //////////////////////////////////////////////////////////////////////////
00030 //                                                                      //
00031 // CaloRun                                                                              //
00032 //                                                                      //
00033 //////////////////////////////////////////////////////////////////////////
00034 
00035 /*! \class CaloRun
00036  * \briefContains Run's parameters:
00037  * -runId :Id du run
00038  *
00039  * -Average run temperature: fTemp
00040  * 
00041  * -Average run pressure: fPress
00042  * 
00043  * -offsetX => ???
00044  *
00045  * -offsetY => ???
00046  */
00047 class CaloRun :  public TObject {
00048 
00049 public:
00050  /*!
00051  *  \brief Constructor
00052  *
00053  *  CaloRun class constructor
00054  *
00055  *  \param none
00056  */
00057    CaloRun();
00058 
00059  /**
00060  * \fn GetRunId(void)
00061  * \brief Getter for run id.
00062  * \param void.
00063  * \return UInt_t for run id.
00064  */
00065    inline UInt_t GetRunId(void) const { return fRunId;     } ;
00066  /**
00067  * \fn GetTemperature(void)
00068  * \brief Getter for temperature.
00069  * \param void.
00070  * \return Double32_t for average run temperature value.
00071  */
00072    inline Double32_t GetTemperature(void) const { return fTemp;     } ;
00073  /**
00074  * \fn GetPressure(void)
00075  * \brief Getter for pressure.
00076  * \param void.
00077  * \return Double32_t for average run pressure value.
00078  */
00079    inline Double32_t GetPressure(void) const { return fPress;    } ;
00080  /**
00081  * \fn SetTemperature(Double32_t value)
00082  * \brief Setter for Temperature.
00083  * \param Double32_t value for assigning the new value of average temperature
00084  * \return void.
00085  */
00086    inline void SetTemperature(const Double32_t value) { fTemp = value; };
00087  /**
00088  * \fn SetPressure(Double32_t value)
00089  * \brief Setter for Pressure.
00090  * \param Double32_t value for assigning the new value of average pressure
00091  * \return void.
00092  */
00093    inline void SetPressure(const Double32_t value) { fPress = value; };
00094  /**
00095  * \fn SetRunId(UInt_t value)
00096  * \brief Setter for runId value.
00097  * \param UInt_t value for assigning the new run id
00098  * \return void.
00099  */
00100    inline void SetRunId(const UInt_t value) { fRunId = value; };
00101 
00102 
00103 
00104   /*!
00105   \brief Destructor
00106   *
00107   * CaloRun class  Destructor
00108   */
00109    virtual ~CaloRun();   // virtual to call ~TObject
00110 
00111 private:
00112    UInt_t         fRunId;
00113    Double32_t     fTemp;
00114    Double32_t     fPress;
00115    UInt_t         fdeltaTmax;
00116 
00117   /*!
00118   *
00119   * \brief root dictionnary class version
00120   */
00121    ClassDef(CaloRun, 34)  //MTEvent structure
00122 
00123 };
00124 
00125 #endif

Generated on Mon Jan 7 13:15:20 2013 for MicromegasFramework by  doxygen 1.4.7