ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/IsolationTools.h
Revision: 1.4
Committed: Mon May 11 08:01:31 2009 UTC (15 years, 11 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009c, Mit_009b, Mit_009a
Changes since 1.3: +3 -3 lines
Log Message:
Corrected header protection

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: IsolationTools.h,v 1.3 2009/02/17 06:49:01 phedex Exp $
3 //
4 // IsolationTools
5 //
6 // Isolation functions to compute various kinds of isolation.
7 //
8 // Authors: S.Xie
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPHYSICS_UTILS_ISOLATIONTOOLS_H
12 #define MITPHYSICS_UTILS_ISOLATIONTOOLS_H
13
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
20 namespace mithep
21 {
22 class IsolationTools {
23 public:
24 static Double_t TrackIsolation(const mithep::Track *p, Double_t extRadius,
25 Double_t intRadius, Double_t ptLow, Double_t maxVtxZDist,
26 const mithep::Collection<mithep::Track> *tracks);
27 static Double_t EcalIsolation(const SuperCluster *sc, Double_t coneSize, Double_t etLow,
28 const mithep::Collection<mithep::BasicCluster> *basicClusters);
29 static Double_t CaloTowerHadIsolation(const ThreeVector *p, Double_t extRadius,
30 Double_t intRadius, Double_t etLow,
31 const mithep::Collection<mithep::CaloTower>
32 *caloTowers);
33 static Double_t CaloTowerEmIsolation(const ThreeVector *p, Double_t extRadius,
34 Double_t intRadius, Double_t etLow,
35 const mithep::Collection<mithep::CaloTower> *caloTowers);
36 };
37 }
38 #endif