/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/root/MTHardroc1Chip.cpp

Go to the documentation of this file.
00001 /* @version $Revision: 1566 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2012-03-08 14:00:10 +0100 (Thu, 08 Mar 2012) $ */
00002 #include "root/MTHardroc1Chip.hh"
00003 #include "geometry/Chip.hh"
00004 #include "geometry/Hardroc1Chip.hh"
00005 
00006 #include "tools/MicroException.hh"
00007 #include "tools/Log.hh"
00008 
00009 
00010 #include <iostream>
00011 using namespace std;
00012 
00013 ClassImp(MTHardroc1Chip)
00014 
00015 MTHardroc1Chip::MTHardroc1Chip(UInt_t _id)
00016 {
00017    thresholdDac_0 = thresholdDac_1  = 0;
00018 }
00019 
00020 //______________________________________________________________________________
00021  MTHardroc1Chip::MTHardroc1Chip(const Hardroc1Chip& aChip)
00022 :MTChip(dynamic_cast<const Chip&>(aChip))
00023  {
00024    (*this) = aChip;  // appelle operator
00025  }
00026 
00027 
00028 //______________________________________________________________________________
00029 MTHardroc1Chip::~MTHardroc1Chip()
00030 {
00031 
00032 }
00033 //______________________________________________________________________________
00034 MTHardroc1Chip& MTHardroc1Chip::operator=(const Hardroc1Chip& aChip)
00035 {
00036 // FILE_LOG(logINFO) << "MTHardroc1Chip& MTHardroc1Chip::operator=(const Hardroc1Chip& aChip)" << endl;
00037    thresholdDac_0 = aChip.getThresholdDac_0();
00038    thresholdDac_1 = aChip.getThresholdDac_1();
00039 }
00040 
00041 //______________________________________________________________________________
00042 void  MTHardroc1Chip::Info (void)const
00043 {
00044 
00045    cout << "threshold Dac 0:[" << thresholdDac_0  << endl;
00046    cout << "threshold Dac 1:[" << thresholdDac_1  << endl;
00047 }

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