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