1 |
samvel |
1.1 |
/**
|
2 |
|
|
* MuonInJet
|
3 |
|
|
* s8
|
4 |
|
|
*
|
5 |
|
|
* Created by Samvel Khalatian on Nov 16, 2010
|
6 |
|
|
* Copyright 2010, All rights reserved
|
7 |
|
|
*/
|
8 |
|
|
|
9 |
|
|
#ifndef S8_MUON_IN_JET
|
10 |
|
|
#define S8_MUON_IN_JET
|
11 |
|
|
|
12 |
|
|
#include <memory>
|
13 |
|
|
|
14 |
|
|
#include "Utility/interface/LeptonInJetDelegate.h"
|
15 |
|
|
|
16 |
|
|
namespace s8
|
17 |
|
|
{
|
18 |
|
|
class Event;
|
19 |
|
|
class Jet;
|
20 |
|
|
class Lepton;
|
21 |
|
|
class LeptonInJet;
|
22 |
|
|
class MuonInJetDelegate;
|
23 |
|
|
class TaggerOperatingPoint;
|
24 |
|
|
|
25 |
|
|
class MuonInJet: public LeptonInJetDelegate
|
26 |
|
|
{
|
27 |
|
|
public:
|
28 |
|
|
MuonInJet() throw();
|
29 |
|
|
virtual ~MuonInJet() throw();
|
30 |
|
|
|
31 |
|
|
MuonInJetDelegate *delegate() const;
|
32 |
|
|
void setDelegate(MuonInJetDelegate *);
|
33 |
|
|
|
34 |
|
|
void setAwayJetTaggerOperatingPoint(const TaggerOperatingPoint *);
|
35 |
|
|
|
36 |
|
|
virtual void operator()(const Event *);
|
37 |
|
|
|
38 |
|
|
// LeptonInJetDelegate interface
|
39 |
|
|
//
|
40 |
|
|
virtual void leptonIsInJet(const Lepton *,
|
41 |
|
|
const Jet *);
|
42 |
|
|
|
43 |
|
|
virtual bool shouldLookForMoreLeptons();
|
44 |
|
|
|
45 |
|
|
private:
|
46 |
|
|
MuonInJetDelegate *_delegate;
|
47 |
|
|
|
48 |
|
|
std::auto_ptr<LeptonInJet> _leptonInJet;
|
49 |
|
|
const TaggerOperatingPoint *_awayJetTaggerOperatingPoint;
|
50 |
|
|
|
51 |
|
|
const Lepton *_lepton;
|
52 |
|
|
const Jet *_jet;
|
53 |
|
|
};
|
54 |
|
|
}
|
55 |
|
|
|
56 |
|
|
#endif
|