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

Go to the documentation of this file.
00001 #ifndef ROOT_MTMicrorocChip
00002 #define ROOT_MTMicrorocChip
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 MicrorocChip;
00017 
00018 ////////////////////////////////////////////////////////////////////////////////////////
00019 ///     CLASS MTMICROROCCHIP(containing  microroc chip configuration)
00020 ///////////////////////////////////////////////////////////////////////////////////////
00021 class MTMicrorocChip : public MTChip {
00022 
00023 public:
00024    MTMicrorocChip(UInt_t id = 0);
00025    MTMicrorocChip(const MicrorocChip& aChip);
00026    ~MTMicrorocChip();
00027     MTMicrorocChip& operator=(const MicrorocChip& aChip);
00028 
00029 private:
00030 
00031    // equivalent informations are stored in Chip class
00032    // ThresholdDac
00033    UInt_t thresholdDac_0;
00034    UInt_t thresholdDac_1;
00035    UInt_t thresholdDac_2;
00036 
00037   // Shaper  2 bits
00038    UInt_t shaper_lg;  // low gain
00039    UInt_t shaper_hg;  // hight gain
00040 
00041 
00042 public:
00043 
00044    // ThresholdDac
00045    UInt_t GetThresholdDac_0() const { return thresholdDac_0;};
00046    UInt_t GetThresholdDac_1() const { return thresholdDac_1;};
00047    UInt_t GetThresholdDac_2() const { return thresholdDac_2;};
00048 
00049    void SetThresholdDac_0(UInt_t value)  { thresholdDac_0 = value;};
00050    void SetThresholdDac_1(UInt_t value)  { thresholdDac_1 = value;};
00051    void SetThresholdDac_2(UInt_t value)  { thresholdDac_2 = value;};
00052 
00053   // Shaper
00054    UInt_t GetShaper_lg() const { return shaper_lg;};
00055    UInt_t GetShaper_hg() const { return shaper_hg;};
00056 
00057    void SetShaper_lg(UInt_t value)  { shaper_lg = value;};
00058    void SetShaper_hg(UInt_t value)  { shaper_hg = value;};
00059 
00060    void  Info(void) const;
00061 
00062    ClassDef(MTMicrorocChip, 34)  //MTChip structure
00063 };
00064 
00065 
00066 #endif

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