ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/IsolationTools.h
Revision: 1.6
Committed: Sat Feb 5 05:48:13 2011 UTC (14 years, 2 months ago) by ceballos
Content type: text/plain
Branch: MAIN
Changes since 1.5: +11 -2 lines
Log Message:
isolation

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 ceballos 1.6 // $Id: IsolationTools.h,v 1.5 2009/07/20 04:55:33 loizides Exp $
3 loizides 1.1 //
4     // IsolationTools
5     //
6     // Isolation functions to compute various kinds of isolation.
7     //
8     // Authors: S.Xie
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.4 #ifndef MITPHYSICS_UTILS_ISOLATIONTOOLS_H
12     #define MITPHYSICS_UTILS_ISOLATIONTOOLS_H
13 loizides 1.1
14     #include <TMath.h>
15     #include "MitAna/DataTree/interface/Track.h"
16     #include "MitAna/DataTree/interface/BasicCluster.h"
17     #include "MitAna/DataTree/interface/SuperCluster.h"
18     #include "MitAna/DataTree/interface/CaloTower.h"
19 ceballos 1.6 #include "MitAna/DataTree/interface/VertexCol.h"
20     #include "MitAna/DataTree/interface/MuonCol.h"
21     #include "MitAna/DataTree/interface/ElectronCol.h"
22     #include "MitAna/DataTree/interface/PFCandidateCol.h"
23 loizides 1.1
24     namespace mithep
25     {
26     class IsolationTools {
27     public:
28     static Double_t TrackIsolation(const mithep::Track *p, Double_t extRadius,
29 loizides 1.2 Double_t intRadius, Double_t ptLow, Double_t maxVtxZDist,
30 phedex 1.3 const mithep::Collection<mithep::Track> *tracks);
31 loizides 1.1 static Double_t EcalIsolation(const SuperCluster *sc, Double_t coneSize, Double_t etLow,
32 phedex 1.3 const mithep::Collection<mithep::BasicCluster> *basicClusters);
33 loizides 1.1 static Double_t CaloTowerHadIsolation(const ThreeVector *p, Double_t extRadius,
34     Double_t intRadius, Double_t etLow,
35 phedex 1.3 const mithep::Collection<mithep::CaloTower>
36     *caloTowers);
37 loizides 1.1 static Double_t CaloTowerEmIsolation(const ThreeVector *p, Double_t extRadius,
38     Double_t intRadius, Double_t etLow,
39 phedex 1.3 const mithep::Collection<mithep::CaloTower> *caloTowers);
40 ceballos 1.6 static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands,
41     const VertexCol *vertices, Double_t delta_z,
42     Double_t extRadius, Double_t intRadius, int isoType);
43     static Double_t PFElectronIsolation(const Electron *p, const PFCandidateCol *PFCands,
44     const VertexCol *vertices, Double_t delta_z,
45     Double_t extRadius, Double_t intRadius, int isoType);
46 loizides 1.5 ClassDef(IsolationTools, 0) // Isolation tools
47 loizides 1.1 };
48     }
49     #endif