-
Notifications
You must be signed in to change notification settings - Fork 0
/
PseudoExp.h
executable file
·56 lines (40 loc) · 1.18 KB
/
PseudoExp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef PseudoExp_H
#define PseudoExp_H
#include <TObject.h>
#include <TMinuit.h>
#include <TLorentzVector.h>
#include <TMath.h>
#include <TString.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TRandom.h>
#include <TRandom2.h>
#include <TRandom3.h>
#include <TCanvas.h>
#include <TSystem.h>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <algorithm>
#include <string>
#include "MassAnaInput.h"
class PseudoExp : public TObject {
private:
MassAnaInput* fitInput;
vector<double> jetCuts;
vector<double> muonCuts;
public:
PseudoExp();
~PseudoExp();
// random seed = 0 => using the system time for the seed
vector< pair<int,int> > GetEnsemble( string fileName, double pMean, int RandomSeed = 0 );
vector<int> GetEnsemble( string fileName, TString treeName, double pMean, int RandomSeed = 0 );
vector<int> EventShuffle( int theSize, int RandomSeed );
void PhaseSmearing( vector<TLorentzVector>& vs, int RandomSeed = 0, double jes = 0, bool ReMET = false ) ;
void JetEtReSort( vector<TLorentzVector>& vs );
//ClassDef(PseudoExp, 1);
};
//#if !defined(__CINT__)
// ClassImp(PseudoExp);
#endif