Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PulserFromRawLiBlock.cxx

Go to the documentation of this file.
00001 
00002 // $Id: PulserFromRawLiBlock.cxx,v 1.2 2003/02/06 21:38:33 rjn Exp $
00003 //
00004 // PulserFromRawLiBlock.cxx
00005 //
00006 // List of averages of pulser summaries
00007 //
00008 // Author: Phil Adamson 4/2001
00009 //
00010 // $Log: PulserFromRawLiBlock.cxx,v $
00011 // Revision 1.2  2003/02/06 21:38:33  rjn
00012 // I don't understand why every file appears modified. I have just added the files listed below. And changed one or two messages.
00013 //
00014 // Revision 1.2  2002/08/07 16:16:52  phil.adamson
00015 // Minor cosmetic details, plus provide ZeroCorr() methods in PulserSummary.
00016 // Phil.
00017 //
00018 //
00020 
00021 
00022 #include "TNamed.h"
00023 #include "MessageService/MsgService.h"
00024 #include "Validity/VldContext.h"
00025 #include "PulserCalibration/PulserFromRawLiBlock.h"
00026 #include "PulserCalibration/PulserSummary.h"
00027 #include "RawData/RawLIAdcSummaryBlock.h"
00028 #include "RawData/RawLIAdcSummary.h"
00029 #include "Plex/PlexHandle.h"
00030 #include "Plex/PlexusABC.h"
00031 #include "RawData/RawChannelId.h"
00032 
00033 ClassImp(PulserFromRawLiBlock)
00034   
00035   // ............
00036 
00037 CVSID("$Id: PulserFromRawLiBlock.cxx,v 1.2 2003/02/06 21:38:33 rjn Exp $");
00038 
00039 PulserFromRawLiBlock::PulserFromRawLiBlock()  
00040 {
00041    MSG("Pulser",Msg::kVerbose) <<" PulserFromRawLiBlock ctor \n";
00042 
00043 }
00044 
00045 PulserFromRawLiBlock::~PulserFromRawLiBlock() 
00046 {
00047    MSG("Pulser",Msg::kVerbose) <<" PulserFromRawLiBlock dtor \n";
00048 
00049 }
00050 
00051 PulserFromRawLiBlock::PulserFromRawLiBlock(const RawLIAdcSummaryBlock &rawsum) :  
00052    fCalibType(rawsum.GetCalibType()), 
00053    fCalibPoint(rawsum.GetCalibPoint()), 
00054    fPulserBox(rawsum.GetPulserBox()),
00055    fLed(rawsum.GetLed()), 
00056    fPulseHeight(rawsum.GetPulseHeight()),
00057    fPulseWidth(rawsum.GetPulseWidth()), 
00058    fPulses(rawsum.GetPulses()), 
00059    fPeriod(rawsum.GetPeriod()), 
00060    fCount(rawsum.GetCount()),
00061    fVldCon(rawsum.GetVldContext()),
00062    fVldTim(rawsum.GetTimeStamp())
00063 {
00064    MSG("Pulser",Msg::kVerbose) <<" PulserFromRawLiBlock ctor \n";
00065 
00066 }
00067 
00068 void PulserFromRawLiBlock::New(const RawLIAdcSummaryBlock &rawsum) 
00069 {
00070    fCalibType=rawsum.GetCalibType(); 
00071    fCalibPoint=rawsum.GetCalibPoint(); 
00072    fPulserBox=rawsum.GetPulserBox();
00073    fLed=rawsum.GetLed(); 
00074    fPulseHeight=rawsum.GetPulseHeight();
00075    fPulseWidth=rawsum.GetPulseWidth(); 
00076    fPulses=rawsum.GetPulses(); 
00077    fPeriod=rawsum.GetPeriod(); 
00078    fCount=rawsum.GetCount();
00079    fVldCon=rawsum.GetVldContext();
00080    fVldTim=rawsum.GetTimeStamp();
00081       
00082    MSG("Pulser",Msg::kVerbose) <<" PulserFromRawLiBlock::New \n";
00083 
00084 }
00085 
00086 
00087 

Generated on Mon Feb 15 11:07:26 2010 for loon by  doxygen 1.3.9.1