1 |
khahn |
1.1 |
#ifndef CONTROL_SELECTION
|
2 |
|
|
#define CONTROL_SELECTION
|
3 |
|
|
|
4 |
|
|
#include <TClonesArray.h> // ROOT array class
|
5 |
|
|
|
6 |
|
|
#include "TEventInfo.hh"
|
7 |
|
|
#include "TElectron.hh"
|
8 |
|
|
#include "TMuon.hh"
|
9 |
|
|
|
10 |
|
|
#include "ParseArgs.h"
|
11 |
khahn |
1.2 |
#include "EventData.h"
|
12 |
|
|
|
13 |
khahn |
1.1 |
|
14 |
|
|
//
|
15 |
|
|
// defines
|
16 |
|
|
//
|
17 |
|
|
#define EVTFAIL_JSON 0
|
18 |
|
|
#define EVTFAIL_TRIGGER 1
|
19 |
|
|
#define EVTFAIL_Z1 2
|
20 |
|
|
#define EVTFAIL_Z1_PLUSL 3
|
21 |
|
|
#define EVTFAIL_4L 4
|
22 |
|
|
#define EVTFAIL_ISOLATION 5
|
23 |
|
|
#define EVTFAIL_IP 6
|
24 |
|
|
#define EVTFAIL_KINEMATICS 7
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
khahn |
1.2 |
void initEMUFR(ControlFlags ctrl);
|
29 |
|
|
EventData fails_Control_selection(ControlFlags &ctrl, // input control
|
30 |
|
|
mithep::TEventInfo *info, // input event inof
|
31 |
|
|
TClonesArray *electronArr, // input electrons
|
32 |
|
|
SelectionStatus (*ElectronPreSelector)( ControlFlags &, const mithep::TElectron*),
|
33 |
|
|
SelectionStatus (*ElectronIDSelector)( ControlFlags &, const mithep::TElectron*),
|
34 |
|
|
SelectionStatus (*ElectronIsoSelector)( ControlFlags &, const mithep::TElectron*),
|
35 |
|
|
TClonesArray *muonArr,
|
36 |
|
|
SelectionStatus (*MuonPreSelector)( ControlFlags &, const mithep::TMuon*),
|
37 |
|
|
SelectionStatus (*MuonIDSelector)( ControlFlags &, const mithep::TMuon*),
|
38 |
|
|
SelectionStatus (*MuonIsoSelector)( ControlFlags &, const mithep::TMuon*) ) ;
|
39 |
khahn |
1.1 |
#endif
|