ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/MuonIDMod.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/MuonIDMod.h (file contents):
Revision 1.8 by loizides, Fri Nov 28 20:12:09 2008 UTC vs.
Revision 1.9 by loizides, Thu Dec 4 13:53:33 2008 UTC

# Line 25 | Line 25 | namespace mithep
25                  const char *title="Muon identification module");
26        ~MuonIDMod() {}
27  
28 <      const char   *GetMuonBranchName(const char *name) const { return fMuonBranchName;    }  
29 <      const char   *GetCleanMuonsName(const char *name) const { return fCleanMuonsName;    }  
30 <      const char   *GetMuonIDType(const char *type)     const { return fMuonIDType;        }
31 <      const char   *GetMuonIsoType(const char *type)    const { return fMuonIsoType;       }
32 <      const char   *GetMuonClassType(const char *type)  const { return fMuonClassType;     }
33 <      Double_t      GetTrackIsolationCut(Double_t cut)  const { return fTrackIsolationCut; }
34 <      Double_t      GetCaloIsolationCut(Double_t cut)   const { return fCaloIsolationCut;  }
35 <      Double_t      GetCombIsolationCut(Double_t cut)   const { return fCombIsolationCut;  }
36 <      Double_t      GetMuonPtMin(Double_t pt)           const { return fMuonPtMin;         }
37 <      void          SetMuonBranchName(const char *name)  { fMuonBranchName    = name; }  
38 <      void          SetCleanMuonsName(const char *name)  { fCleanMuonsName    = name; }  
39 <      void          SetMuonIDType(const char *type)      { fMuonIDType        = type; }
40 <      void          SetMuonIsoType(const char *type)     { fMuonIsoType       = type; }
41 <      void          SetMuonClassType(const char *type)   { fMuonClassType     = type; }
42 <      void          SetTrackIsolationCut(Double_t cut)   { fTrackIsolationCut = cut;  }
43 <      void          SetCaloIsolationCut(Double_t cut)    { fCaloIsolationCut  = cut;  }
44 <      void          SetCombIsolationCut(Double_t cut)    { fCombIsolationCut  = cut;  }
45 <      void          SetMuonPtMin(Double_t pt)            { fMuonPtMin         = pt;   }
28 >      const char    *GetMuonBranchName(const char *name) const { return fMuonBranchName;    }  
29 >      const char    *GetCleanMuonsName(const char *name) const { return fCleanMuonsName;    }  
30 >      const char    *GetMuonIDType(const char *type)     const { return fMuonIDType;       }
31 >      const char    *GetMuonIsoType(const char *type)    const { return fMuonIsoType;      }
32 >      const char    *GetMuonClassType(const char *type)  const { return fMuonClassType;     }
33 >      Double_t       GetTrackIsolationCut(Double_t cut)  const { return fTrackIsolationCut; }
34 >      Double_t       GetCaloIsolationCut(Double_t cut)   const { return fCaloIsolationCut;  }
35 >      Double_t       GetCombIsolationCut(Double_t cut)   const { return fCombIsolationCut;  }
36 >      Double_t       GetMuonPtMin(Double_t pt)           const { return fMuonPtMin;         }
37 >      void           SetMuonBranchName(const char *name)       { fMuonBranchName    = name; }  
38 >      void           SetCleanMuonsName(const char *name)       { fCleanMuonsName    = name; }  
39 >      void           SetMuonIDType(const char *type)           { fMuonIDType       = type; }
40 >      void           SetMuonIsoType(const char *type)          { fMuonIsoType      = type; }
41 >      void           SetMuonClassType(const char *type)        { fMuonClassType     = type; }
42 >      void           SetTrackIsolationCut(Double_t cut)        { fTrackIsolationCut = cut;  }
43 >      void           SetCaloIsolationCut(Double_t cut)         { fCaloIsolationCut  = cut;  }
44 >      void           SetCombIsolationCut(Double_t cut)         { fCombIsolationCut  = cut;  }
45 >      void           SetMuonPtMin(Double_t pt)                 { fMuonPtMin         = pt;  }
46  
47        enum EMuIdType {
48          kIdUndef = 0,       //not defined
# Line 67 | Line 67 | namespace mithep
67        };
68  
69      protected:
70 <      TString       fMuonBranchName;            //name of muon collection (in branch)
71 <      TString       fCleanMuonsName;            //name of exported "good muon" collection
72 <      TString       fMuonIDType;                //type of muon id scheme we impose
73 <      TString       fMuonIsoType;               //type of muon isolations scheme we impose
74 <      TString       fMuonClassType;             //type of muon class we impose
75 <      Double_t      fTrackIsolationCut;         //cut value for track isolation
76 <      Double_t      fCaloIsolationCut;          //cut value for calo isolation
77 <      Double_t      fCombIsolationCut;          //cut value for combined isolation
78 <      Double_t      fMuonPtMin;                 //min muon pt
79 <      MuonCol      *fMuons;                     //!muon branch
80 <      MuonTools    *fMuonTools;                 //!muon tool
81 <      EMuIdType     fMuIDType;                  //!muon id type (imposed)
82 <      EMuIsoType    fMuIsoType;                 //!muon iso type (imposed)
83 <      EMuClassType  fMuClassType;               //!muon class type (imposed)
70 >      TString        fMuonBranchName;            //name of muon collection (in branch)
71 >      TString        fCleanMuonsName;            //name of exported "good muon" collection
72 >      TString        fMuonIDType;                //type of muon id scheme we impose
73 >      TString        fMuonIsoType;               //type of muon isolations scheme we impose
74 >      TString        fMuonClassType;             //type of muon class we impose
75 >      Double_t       fTrackIsolationCut;         //cut value for track isolation
76 >      Double_t       fCaloIsolationCut;          //cut value for calo isolation
77 >      Double_t       fCombIsolationCut;          //cut value for combined isolation
78 >      Double_t       fMuonPtMin;                 //min muon pt
79 >      const MuonCol *fMuons;                     //!muon branch
80 >      MuonTools     *fMuonTools;                 //!muon tool
81 >      EMuIdType      fMuIDType;                  //!muon id type (imposed)
82 >      EMuIsoType     fMuIsoType;                 //!muon iso type (imposed)
83 >      EMuClassType   fMuClassType;               //!muon class type (imposed)
84  
85 <      void          Process();
86 <      void          SlaveBegin();
85 >      void           Process();
86 >      void           SlaveBegin();
87      
88        ClassDef(MuonIDMod,1) // Muon identification module
89    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines