1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: PFTauIDMod.h,v 1.6 2009/06/15 15:00:21 loizides Exp $
|
3 |
//
|
4 |
// PFTauIDMod
|
5 |
//
|
6 |
// This module applies tau identification criteria and exports a pointer to a collection
|
7 |
// of "good Taus" according to the specified identification scheme.
|
8 |
//
|
9 |
// Authors: G.Ceballos
|
10 |
//--------------------------------------------------------------------------------------------------
|
11 |
|
12 |
#ifndef MITPHYSICS_MODS_PFTauIDMod_H
|
13 |
#define MITPHYSICS_MODS_PFTauIDMod_H
|
14 |
|
15 |
#include "MitAna/TreeMod/interface/BaseMod.h"
|
16 |
#include "MitAna/DataTree/interface/PFTauFwd.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class PFTauIDMod : public BaseMod
|
21 |
{
|
22 |
public:
|
23 |
PFTauIDMod(const char *name="PFTauIDMod",
|
24 |
const char *title="Tau identification module");
|
25 |
|
26 |
const char *GetPFTausName() const { return fPFTausName; }
|
27 |
const char *GetGoodPFTausName() const { return fGoodPFTausName; }
|
28 |
Double_t GetPtMin() const { return fPtMin; }
|
29 |
Double_t GetPtLeadChargedHadronPFCandMin() const { return fPtLeadChargedHadronPFCandMin; }
|
30 |
UInt_t GetIsoChargedHadronPtSumMax() const { return fIsoChargedHadronPtSumMax; }
|
31 |
UInt_t GetIsoGammaEtSumMax() const { return fIsoGammaEtSumMax; }
|
32 |
Double_t GetSignalMassMin() const { return fSignalMassMin; }
|
33 |
Double_t GetSignalMassMax() const { return fSignalMassMax; }
|
34 |
void SetPFTausName(const char *n) { fPFTausName = n; }
|
35 |
void SetPtMin(Double_t x) { fPtMin = x; }
|
36 |
void SetPtLeadChargedHadronPFCandMin(Double_t x){ fPtLeadChargedHadronPFCandMin = x; }
|
37 |
void SetIsoChargedHadronPtSumMax(Double_t x) { fIsoChargedHadronPtSumMax = x; }
|
38 |
void SetIsoGammaEtSumMax(Double_t x) { fIsoGammaEtSumMax = x; }
|
39 |
void SetSignalMassMin(Double_t x) { fSignalMassMin = x; }
|
40 |
void SetSignalMassMax(Double_t x) { fSignalMassMax = x; }
|
41 |
|
42 |
protected:
|
43 |
void Process();
|
44 |
void SlaveBegin();
|
45 |
|
46 |
TString fPFTausName; //name of tau collection (input)
|
47 |
TString fGoodPFTausName; //name of exported good PFTau collection (output)
|
48 |
Double_t fPtMin; //min tau pt cut
|
49 |
Double_t fPtLeadChargedHadronPFCandMin; //min LeadChargedHadronPFCand pt cut
|
50 |
Double_t fIsoChargedHadronPtSumMax; //maximum of Pt iso tracks
|
51 |
Double_t fIsoGammaEtSumMax; //maximum of Pt iso neutrals
|
52 |
Double_t fSignalMassMin; //minimum of tau mass
|
53 |
Double_t fSignalMassMax; //maximum of tau mass
|
54 |
const PFTauCol *fPFTaus; //!tau branch
|
55 |
|
56 |
ClassDef(PFTauIDMod, 1) // Tau identification module
|
57 |
};
|
58 |
}
|
59 |
#endif
|