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

Comparing UserCode/MitPhysics/Utils/interface/JetIDMVA.h (file contents):
Revision 1.7 by pharris, Fri May 25 20:01:40 2012 UTC vs.
Revision 1.9 by pharris, Tue Sep 25 15:39:15 2012 UTC

# Line 39 | Line 39 | namespace mithep {
39          kBaseline = 0,
40          k42       = 1,
41          k52       = 2,
42 <        kCut      = 3
42 >        kCut      = 3,
43 >        kQGP      = 4
44        };
45  
46        enum CutType {
# Line 54 | Line 55 | namespace mithep {
55                            TString           iHighPtWeights="$CMSSW_BASE/src/MitPhysics/data/mva_JetID_highpt.weights.xml",
56                            JetIDMVA::MVAType iType=kBaseline,
57                            TString           iCutFileName  ="$CMSSW_BASE/src/MitPhysics/Utils/python/JetIdParams_cfi.py");
58 <      
58 >    
59        Bool_t   IsInitialized() const { return fIsInitialized; }
60        Double_t MVAValue(    
61                          Float_t iNPV    ,
# Line 78 | Line 79 | namespace mithep {
79        //Cut Based
80        Bool_t passCut(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices);
81  
82 +      Bool_t passPt(const PFJet *iJet, FactorizedJetCorrector *iJetCorrector=0,
83 +                    const PileupEnergyDensityCol *iPileupEnergyDensity=0,
84 +                    RhoUtilities::RhoType type=RhoUtilities::DEFAULT);
85        //UNcorrected Jets
86        Bool_t   pass(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices,
87                      FactorizedJetCorrector *iJetCorrector,
# Line 93 | Line 97 | namespace mithep {
97                          const PileupEnergyDensityCol *iPileupEnergyDensity,
98                          Bool_t printDebug=false);
99  
100 +      Double_t* QGValue(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices, //Vertex here is the PV
101 +                        FactorizedJetCorrector *iJetCorrector,
102 +                        const PileupEnergyDensityCol *iPileupEnergyDensity,
103 +                        Bool_t printDebug);
104 +
105        //Corrected Jets
106        Double_t MVAValue(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices,
107                          Bool_t printDebug=false);
# Line 100 | Line 109 | namespace mithep {
109  
110        double  correctedPt(const PFJet *iJet, FactorizedJetCorrector *iJetCorrector,
111                            const PileupEnergyDensityCol *iPUEnergyDensity,
112 <                          RhoUtilities::RhoType type = RhoUtilities::DEFAULT);
112 >                          RhoUtilities::RhoType type = RhoUtilities::DEFAULT,int iId=-1);
113  
114        Float_t                  fJetPtMin;
115        Float_t                  fDZCut;
# Line 127 | Line 136 | namespace mithep {
136        Float_t fBetaStar ;
137        Float_t fNCharged ;
138        Float_t fNNeutrals;
139 +      Float_t fNParticles;
140        Float_t fDRMean   ;
141 +      Float_t fPtD      ;
142        Float_t fFrac01   ;
143        Float_t fFrac02   ;
144        Float_t fFrac03   ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines