1 |
|
#include <iostream> |
2 |
|
#include <vector> |
3 |
|
#include <sys/stat.h> |
4 |
+ |
#include <algorithm> |
5 |
+ |
#include <cmath> |
6 |
|
|
7 |
|
#include <TMath.h> |
8 |
|
#include <TColor.h> |
332 |
|
|
333 |
|
|
334 |
|
//____________________________________________________________________________________ |
335 |
< |
// Total selection efficiency (MC) |
335 |
> |
// Selection efficiency for one process (MC) |
336 |
|
vector<float> processMCefficiency(TTree *events,string mcjzb,bool requireZ,int Neventsinfile, string addcut) { |
337 |
|
vector<float> process_efficiencies; |
338 |
|
for(int iprocess=0;iprocess<=10;iprocess++) { |