16 |
|
#include "MitAna/DataTree/interface/BasicCluster.h" |
17 |
|
#include "MitAna/DataTree/interface/SuperCluster.h" |
18 |
|
#include "MitAna/DataTree/interface/CaloTower.h" |
19 |
+ |
#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 |
+ |
#include "MitAna/DataTree/interface/TrackCol.h" |
24 |
|
|
25 |
|
namespace mithep |
26 |
|
{ |
38 |
|
static Double_t CaloTowerEmIsolation(const ThreeVector *p, Double_t extRadius, |
39 |
|
Double_t intRadius, Double_t etLow, |
40 |
|
const mithep::Collection<mithep::CaloTower> *caloTowers); |
41 |
+ |
static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands, |
42 |
+ |
const Vertex *vertex, Double_t delta_z, Double_t ptMin, |
43 |
+ |
Double_t extRadius, Double_t intRadius, int isoType, |
44 |
+ |
Double_t beta, const MuonCol *goodMuons, |
45 |
+ |
const ElectronCol *goodElectrons); |
46 |
+ |
static Double_t PFElectronIsolation(const Electron *p, const PFCandidateCol *PFCands, |
47 |
+ |
const Vertex *vertex, Double_t delta_z, Double_t ptMin, |
48 |
+ |
Double_t extRadius, Double_t intRadius, int isoType, |
49 |
+ |
Double_t beta, const MuonCol *goodMuons, |
50 |
+ |
const ElectronCol *goodElectrons); |
51 |
+ |
static Double_t BetaM(const TrackCol *tracks, const Muon *p, const Vertex *vertex, |
52 |
+ |
Double_t ptMin, Double_t delta_z, Double_t extRadius, |
53 |
+ |
Double_t intRadius); |
54 |
+ |
static Double_t BetaE(const TrackCol *tracks, const Electron *p, const Vertex *vertex, |
55 |
+ |
Double_t ptMin, Double_t delta_z, Double_t extRadius, |
56 |
+ |
Double_t intRadius); |
57 |
+ |
|
58 |
+ |
// method added by F.Stoeckli: computes the track isolation with NO constrint on the OV-track compatibility |
59 |
+ |
static Double_t TrackIsolationNoPV(const mithep::Particle*, const BaseVertex*, |
60 |
+ |
Double_t extRadius, |
61 |
+ |
Double_t intRadius, |
62 |
+ |
Double_t ptLow, |
63 |
+ |
Double_t etaStrip, |
64 |
+ |
Double_t maxD0, |
65 |
+ |
mithep::TrackQuality::EQuality, |
66 |
+ |
const mithep::Collection<mithep::Track> *tracks); |
67 |
|
|
68 |
|
ClassDef(IsolationTools, 0) // Isolation tools |
69 |
|
}; |