/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/event/ChannelHit.cpp

Go to the documentation of this file.
00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */
00002 #include "event/ChannelHit.hh"
00003 
00004 #include "tools/Log.hh"
00005 
00006 #include <iostream>
00007 
00008 
00009 
00010 
00011 using namespace std;
00012 
00013 //--------------- Constructeur -------------//
00014 ChannelHit::ChannelHit(const Channel& aChannel):channel(aChannel)
00015 {
00016   timestamp = 0;
00017   bcId_Abs = bcId_Dif = bcId_Hit = bcId_Hit_Fine = memoryOrder =  0;
00018 //  FILE_LOG(logDEBUG) << "-----ChannelHit constructor"<< endl;
00019 }
00020 
00021 //--------------- Constructeur -------------//
00022 ChannelHit::ChannelHit(const Channel& aChannel, const i16 aDigitalValue, const i16 aAnalogValue) : channel(aChannel), digitalValue(aDigitalValue), analogValue(aAnalogValue)
00023 {
00024   timestamp = 0;
00025   bcId_Abs = bcId_Dif = bcId_Hit = bcId_Hit_Fine = 0;
00026   //threshold_0 = 0;
00027   //threshold_1 = 0;
00028  // threshold_2 = 0;
00029   //FILE_LOG(logDEBUG) << "-----ChannelHit constructor"<< endl;
00030 }
00031 
00032 //--------------- Destructeur -------------//
00033 ChannelHit::~ChannelHit()
00034 {
00035   //FILE_LOG(logDEBUG) << "------ChannelHit destructeur:" <<  endl;
00036 }
00037 //-------------------------------------------//
00038 void ChannelHit::print() const
00039 {
00040   //FILE_LOG(logDEBUG) << "---ChannelHit.print():" <<   endl;
00041   channel.print();
00042   FILE_LOG(logINFO) << "Digital value: " << digitalValue << endl;
00043   FILE_LOG(logINFO) << "Analog value: " << analogValue << endl;
00044 }
00045 

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