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

CandDeMuxDigitList.h

Go to the documentation of this file.
00001 
00002 // $Id: CandDeMuxDigitList.h,v 1.7 2006/04/07 18:15:17 kordosky Exp $
00003 //
00004 // CandDeMuxDigitList.h
00005 //
00006 // Concrete CandDeMuxDigitList class descended from CandBase.
00007 // CandBase must grant friendship to class CandRefer.
00008 //
00009 // Each concrete CandBase must define a Dup function.
00010 //
00011 // Author:  G. Irwin 5/2002
00013 
00014 #ifndef CANDDEMUXDIGITLIST_H
00015 #define CANDDEMUXDIGITLIST_H
00016 
00017 #include "CandDigit/CandDigitList.h"
00018 
00019 class AlgHandle;
00020 class CandContext;
00021 class CandDeMuxDigitListHandle;
00022 
00023 class CandDeMuxDigitList : public CandDigitList
00024 {
00025 
00026    friend class CandDeMuxDigitListHandle;
00027 
00028 public:
00029    typedef enum EDeMuxDigitListFlag {
00030      kDeMuxOK = 0x00,
00031      kNoVertex = 0x01,
00032      kTooFewValidPlanes = 0x02,
00033      kNonPhysicalStripSolution = 0x04,
00034      kEventFailedFilter = 0x08,
00035      kEventFailedFilterUViewOnly = 0x10,
00036      kEventFailedFilterVViewOnly = 0x20,
00037      kMultipleMuonEvent = 0x40
00038    } DeMuxDigitListFlag_t;
00039 
00040    static CandDeMuxDigitListHandle MakeCandidate(AlgHandle &ah,
00041                                                        CandContext &cx);
00042    CandDeMuxDigitList();                               // Public for I/O
00043 
00044    virtual std::ostream& FormatToOStream(std::ostream& os,
00045                                          Option_t *option) const;
00046 
00047    static const char* AsString(DeMuxDigitListFlag_t);
00048 
00049 protected:
00050    Int_t fDeMuxDigitListFlag; // DeMuxDigitList quality flag enum-bit wd
00051    Int_t fNumValidPlanesU;                   // Number of valid U planes
00052    Int_t fNumValidPlanesV;                   // Number of valid V planes
00053    Int_t fNumStrayPlanesU;                   // Number of stray U planes
00054    Int_t fNumStrayPlanesV;                   // Number of stray V planes
00055    Float_t fAvgTimeOffset;                        // Average time offset
00056 
00057    CandDeMuxDigitList(AlgHandle &ah);
00058    CandDeMuxDigitList(AlgHandle &ah, CandHandle &ch, CandContext &cx);
00059    CandDeMuxDigitList(const CandDeMuxDigitList &rhs);
00060    virtual ~CandDeMuxDigitList();
00061    virtual void CreateLocalHandle();
00062    virtual CandDeMuxDigitList *Dup() const;
00063    virtual Bool_t IsEquivalent(const TObject *rhs) const;
00064 
00065 ClassDef(CandDeMuxDigitList,3)    // Concrete DeMuxDigit Candidate Class
00066 
00067 };
00068 
00069 #endif                                           // CANDDEMUXDIGITLIST_H

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