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

AlgCosmicMuonRemoval.h

Go to the documentation of this file.
00001 #ifndef AlgCosmicMuonRemoval_h
00002 #define AlgCosmicMuonRemoval_h
00003 
00004 #include "Algorithm/AlgBase.h"
00005 
00006 class CandTrackHandle;
00007 class CandShowerHandle;
00008 class CandEventHandle;
00009 
00010 class AlgCosmicMuonRemoval : public AlgBase
00011 {
00012 public:
00013    AlgCosmicMuonRemoval();
00014    virtual ~AlgCosmicMuonRemoval();
00015    virtual void RunAlg(AlgConfig &ac, CandHandle &ch, CandContext &cx);
00016    virtual void Trace(const char *c) const;
00017 
00018 private:
00019         
00020    //config stuff
00021    Int_t  cTrackLikePlanes;   // # of planes before and after the shower cluster to calculat the mip
00022    Int_t  cShowerLikePlanes;  // # of planes before and aftet the shower cluster, has more than one strip hit
00023 
00024    //event by event stuff
00025    Float_t         fTrkQ[500];
00026    Float_t         fPlnQ[500];
00027    Float_t         fTrkMIPDcosz[500];
00028    Int_t           fTrkStrip[500];
00029    Int_t           fNTrackStrip[500];
00030    Int_t           fNTotalStrip[500];
00031    bool            fTrkMIPCalibOkay;
00032    Float_t         fTrkMIPDcoszMean;
00033    Int_t           fMinTrackPlane;
00034    Int_t           fMaxTrackPlane;
00035    Double_t        fMinTrackAngle;      
00036    Double_t        fMaxTrackAngle;
00037    Int_t           fMinShowerPlane;
00038    Int_t           fMaxShowerPlane;
00039    
00040    void            Reset();
00041    
00042    void FillTrkInfo(const CandEventHandle* event, const CandTrackHandle* track);   
00043    void FillEvtInfo(const CandEventHandle* event, const CandTrackHandle* track, const CandShowerHandle* shower);
00044    
00045 ClassDef(AlgCosmicMuonRemoval,1) 
00046 };
00047 
00048 #endif                                                

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