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

Go to the documentation of this file.
00001 #ifndef ROOT_MTDiracChip
00002 #define ROOT_MTDiracChip
00003 
00004 
00005 #include "TObject.h"
00006 #include "TClonesArray.h"
00007 #include "TRefArray.h"
00008 #include "TRef.h"
00009 #include "TH1.h"
00010 #include "TMath.h"
00011 #include <vector>
00012 #include <map>
00013 
00014 #include "root/MTChip.hh"
00015 
00016 class DiracChip;
00017 
00018 ////////////////////////////////////////////////////////////////////////////////////////
00019 ///     CLASS MTDIRACCHIP(containing  dirac chip configuration)
00020 ///////////////////////////////////////////////////////////////////////////////////////
00021 class MTDiracChip : public MTChip {
00022 
00023 public:
00024    MTDiracChip(UInt_t id = 0);
00025    MTDiracChip(const DiracChip& aChip);
00026    ~MTDiracChip();
00027     MTDiracChip& operator=(const DiracChip& aChip);
00028 
00029 private:
00030 
00031    // equivalent informations are stored in Chip class
00032    UInt_t bLoThreshold;   // <- Chip config DIRAC
00033    UInt_t bMidThreshold;  // <- Chip config DIRAC
00034    UInt_t bHiThreshold;   // <- Chip config DIRAC
00035    UInt_t aLoThreshold;   // <- Chip config DIRAC
00036    UInt_t aMidThreshold;  // <- Chip config DIRAC
00037    UInt_t aHiThreshold;   // <- Chip config DIRAC
00038 
00039 
00040 public:
00041 
00042    UInt_t GetBLoThreshold() const  { return  bLoThreshold;};
00043    UInt_t GetBMidThreshold() const { return bMidThreshold;};
00044    UInt_t GetBHiThreshold() const  { return  bHiThreshold;};
00045 
00046    UInt_t GetALoThreshold() const { return  aLoThreshold;};
00047    UInt_t GetAMidThreshold() const { return aMidThreshold;};
00048    UInt_t GetAHiThreshold() const  { return  aHiThreshold;};
00049 
00050    void SetBLoThreshold(UInt_t value)  { bLoThreshold = value;};
00051    void SetBMidThreshold(UInt_t value) { bMidThreshold = value;};
00052    void SetBHiThreshold(UInt_t value)  { bHiThreshold = value;};
00053 
00054    void SetALoThreshold(UInt_t value)  { aLoThreshold = value;};
00055    void SetAMidThreshold(UInt_t value) { aMidThreshold = value;};
00056    void SetAHiThreshold(UInt_t value)  { aHiThreshold = value;};
00057 
00058    void  Info(void) const;
00059    ClassDef(MTDiracChip, 30)  //MTChip structure
00060 };
00061 
00062 
00063 #endif

Generated on Mon Jun 11 16:55:45 2012 for MicromegasFramework by  doxygen 1.4.7