8 |
|
// Authors: S.Xie |
9 |
|
//-------------------------------------------------------------------------------------------------- |
10 |
|
|
11 |
< |
#ifndef MITANA_UTILS_ISOLATIONTOOLS_H |
12 |
< |
#define MITANA_UTILS_ISOLATIONTOOLS_H |
11 |
> |
#ifndef MITPHYSICS_UTILS_ISOLATIONTOOLS_H |
12 |
> |
#define MITPHYSICS_UTILS_ISOLATIONTOOLS_H |
13 |
|
|
14 |
|
#include <TMath.h> |
15 |
|
#include "MitAna/DataTree/interface/Track.h" |
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 |
< |
mithep::Collection<mithep::Track> *tracks); |
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 |
< |
mithep::Collection<mithep::BasicCluster> *basicClusters); |
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 |
< |
mithep::Collection<mithep::CaloTower> *caloTowers); |
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 |
< |
mithep::Collection<mithep::CaloTower> *caloTowers); |
35 |
> |
const mithep::Collection<mithep::CaloTower> *caloTowers); |
36 |
> |
|
37 |
> |
ClassDef(IsolationTools, 0) // Isolation tools |
38 |
|
}; |
39 |
|
} |
40 |
|
#endif |