ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/IsolationTools.h
Revision: 1.3
Committed: Tue Feb 17 06:49:01 2009 UTC (16 years, 2 months ago) by phedex
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009, Mit_008, Mit_008pre2, Mit_008pre1
Changes since 1.2: +6 -5 lines
Log Message:
change collection that we loop over into const as well, since this is how it will be used.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: IsolationTools.h,v 1.2 2008/11/27 16:28:58 loizides Exp $
3 //
4 // IsolationTools
5 //
6 // Isolation functions to compute various kinds of isolation.
7 //
8 // Authors: S.Xie
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITANA_UTILS_ISOLATIONTOOLS_H
12 #define MITANA_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