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

CDCrossTalker.h

Go to the documentation of this file.
00001 
00002 
00003 // Program name: CDCrossTalker.h
00004 //
00005 // Package: CalDetTracker
00006 //
00007 // Purpose: 
00008 //
00009 // Contact: Chris Smith, Ryan Nichol, Leo Jenner or Jeff Hartnell
00011 
00012 #ifndef CDCROSSTALKER_H
00013 #define CDCROSSTALKER_H
00014 
00015 #include <map>
00016 
00017 class TClonesArray;
00018 
00019 #include "RecoBase/CandStripHandle.h"
00020 
00021 class CDCrossTalker
00022 {
00023  public:
00024    
00025   CDCrossTalker(std::map<Int_t,CandStripHandle>, Float_t opt, Int_t cosmic);
00026 
00027   std::map<Int_t,CandStripHandle> GetCleanStripMap();
00028   void GetXTalkStripInfo(TClonesArray *);
00029   Int_t GetNumHitsRemoved() {return fnum_xtalk_hits;}
00030   std::map<Int_t,CandStripHandle> GetXTalkStripMap();
00031   std::map<Int_t,Int_t> GetXTalkSourceStrips();
00032   Int_t SetMap(std::map<Int_t,CandStripHandle> stripmap);
00033   Int_t SetOption(Float_t opt);
00034   
00035  private:
00036 
00037    std::map<Int_t,CandStripHandle> fAllStrips;      
00038    std::map<Int_t,CandStripHandle> fCleanedStrips;
00039    Float_t fopt;
00040    std::map<Int_t,CandStripHandle> fXTalkStrips;
00041    std::map<Int_t,Int_t> fXTalkSource;
00042    std::map<Int_t,Int_t> fNumSurround;
00043    Int_t fnum_xtalk_hits;
00044    Int_t fcosmic; //toggle for beam or cosmic mode. 
00045                   //cosmic==1, beam==0
00046 };
00047 #endif // CDCROSSTALKER_H

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