-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscan_highMet.C
29 lines (18 loc) · 1.04 KB
/
scan_highMet.C
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
void scan_highMet(){
for (int i=1; i<=111; i++){
char filename[500];
// PHY14 PHYS14_720_Dec23_2014 set
//sprintf (filename, "/data3/store/user/lpcsusyhad/PHYS14_720_Dec23_2014/lhx/PU20bx25_TTJets_MSDecaysCKM_madgraph-tauola/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/PHYS14_PU20bx25_PHYS14_25_V1-FLAT/141224_052628/0000/stopFlatNtuples_%d.root",i);
// PHY14 set
sprintf (filename, "/data3/store/user/lpcsusyhad/PHYS14_720_Dec23_2014/lhx/PU20bx25_TTJets_MSDecaysCKM_madgraph-tauola/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/PHYS14_PU20bx25_PHYS14_25_V1-FLAT/141224_052628/0000/stopFlatNtuples_%d.root",i);
TFile *_file0 = TFile::Open(filename);
_file0->cd("stopTreeMaker");
printf("%s\n",filename);
//AUX->Scan();
//AUX->Scan("run,lumi,event,mht,mhtphi");
//AUX->Scan("run:lumi:event:mht:mhtphi");
//AUX->Scan("run:lumi:event:mht:mhtphi:ht:met:metphi");
AUX->Scan("run:lumi:event:mht:mhtphi:ht:met:metphi","event==1744747 || met>5000.");
//AUX->Draw("met");
}
}