-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSelectionFunctions.h
24 lines (14 loc) · 1020 Bytes
/
SelectionFunctions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SelectionFunctions_h
#define SelectionFunctions_h
#include <iostream>
using namespace std;
#include "Lepton.h"
#include <vector>
static const Double_t Mass_Z = 91.1876;
static const Double_t Mass_W = 80.398;
Bool_t isGoodEvent(Int_t nVertex, std::vector<Double_t> Vertex_Ndof, std::vector<Double_t> Vertex_X, std::vector<Double_t> Vertex_Y, std::vector<Double_t> Vertex_Z, Double_t beamspot_x, Double_t beamspot_y, Bool_t *goodVerticies);
Bool_t isGoodEvent(Int_t nVertex, std::vector<Bool_t> Vertex_Fake, std::vector<Double_t> Vertex_Ndof, std::vector<Double_t> Vertex_X, std::vector<Double_t> Vertex_Y, std::vector<Double_t> Vertex_Z, Bool_t *goodVerticies);
Bool_t ZandWveto(std::vector<Lepton>& leptonColl, Double_t MET, Double_t METPhi);
Bool_t Zselection(std::vector<Lepton>& leptonColl, Double_t MET);
Bool_t TriggerSelector (std::vector<TString> triggernames, std::vector<string> inputtriggers, std::vector<Bool_t> triggerdecision, std::vector<Int_t> HLTPrescales, Int_t &prescaler);
#endif