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

CandDigitHandle.h

Go to the documentation of this file.
00001 
00002 // $Id: CandDigitHandle.h,v 1.14 2004/11/09 17:57:06 rhatcher Exp $
00003 //
00004 // CandDigitHandle.h
00005 //
00006 // CandDigitHandle is the specialized access handle to CandDigit.
00007 //
00008 // Each concrete CandHandle must define a DupHandle function.
00009 //
00010 // Author:  G. Irwin 5/2000
00012 
00013 #ifndef CANDDIGITHANDLE_H
00014 #define CANDDIGITHANDLE_H
00015 
00016 class CandDigit;
00017 #include "RawData/RawChannelId.h"
00018 #include "Plex/PlexSEIdAltL.h"
00019 #include "Candidate/CandHandle.h"
00020 #include "Conventions/CalDigitType.h"
00021 #include "Conventions/CalTimeType.h"
00022 #include "Navigation/XxxItr.h"
00023 
00024 class CandDigitHandle : public CandHandle
00025 {
00026 
00027 public:
00028    CandDigitHandle();
00029    CandDigitHandle(const CandDigitHandle &cdh);
00030    CandDigitHandle(CandDigit *cd);
00031    virtual ~CandDigitHandle();
00032    virtual CandDigitHandle *DupHandle() const;
00033 
00034    RawChannelId GetChannelId() const;
00035    Float_t GetCharge(CalDigitType::CalDigitType_t =
00036                                              CalDigitType::kNone) const;
00037    const PlexSEIdAltL &GetPlexSEIdAltL() const;
00038    PlexSEIdAltL &GetPlexSEIdAltLWritable();
00039    Int_t GetRawDigitIndex() const;
00040 
00041 // Return GetTime() value minus mother CandDigitList GetAbsTime() offset
00042    Double_t GetSubtractedTime(CalTimeType::CalTimeType_t =
00043                                               CalTimeType::kNone) const;
00044 
00045 // Return digit time without CandDigitList GetAbsTime offset subtraction
00046    Double_t GetTime(CalTimeType::CalTimeType_t =
00047                                               CalTimeType::kNone) const;
00048 
00049    Char_t GetVaErrorBits() const;
00050    Char_t GetQieErrorBits() const;
00051 
00052    void SetChannelId(RawChannelId chid);
00053    void SetCharge(Float_t chg);
00054    void SetPlexSEIdAltL(PlexSEIdAltL &altlist);
00055    void SetRawDigitIndex(Int_t rawdigitindex);
00056    void SetTime(Double_t time);
00057    void SetVaErrorBits(Char_t vaerrbits);
00058    void SetQieErrorBits(Char_t qieerrbits);
00059 
00060    virtual void Trace(const char *c = "") const;
00061 
00062 ClassDef(CandDigitHandle,1)           // User access handle to CandDigit
00063 
00064 };
00065 
00066 XXXITRDEF(CandDigitHandle)
00067 
00068 #endif                                              // CANDDIGITHANDLE_H

Generated on Mon Feb 15 11:06:28 2010 for loon by  doxygen 1.3.9.1