20 |
|
#define HUSH 1 |
21 |
|
#endif |
22 |
|
|
23 |
+ |
void define_SMS_sample(bool showList, samplecollection &allsamples, samplecollection &signalsamples, samplecollection &scansample) |
24 |
+ |
{ |
25 |
+ |
char hostname[1023]; |
26 |
+ |
gethostname(hostname,1023); |
27 |
|
|
28 |
+ |
if((int)((string)hostname).find("falda")>-1) { |
29 |
+ |
scansample.AddSample("/scratch/buchmann/mSUGRA3.root","T6Z",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1" |
30 |
+ |
} else { |
31 |
+ |
scansample.AddSample("/shome/pablom/SimplifiedModels.root","T6Z",1,1,false,true,1,kRed); // there is only one sample in the scan; we give each event weight "1" |
32 |
+ |
} |
33 |
+ |
} |
34 |
|
|
35 |
|
void define_samples(bool showList, samplecollection &allsamples, samplecollection &signalsamples, samplecollection &scansample) |
36 |
|
{ |
146 |
|
//scansample.AddSample("/scratch/buchmann/allfinalevent_NTupleProducer_42X_mc.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1" |
147 |
|
// scansample.AddSample("/scratch/buchmann/SUSYScanTestJZB.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1" |
148 |
|
|
139 |
– |
if((int)((string)hostname).find("falda")>-1) { |
140 |
– |
scansample.AddSample("/scratch/buchmann/mSUGRA3.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1" |
141 |
– |
} else { |
142 |
– |
scansample.AddSample("/shome/pablom/SimplifiedModels.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1" |
143 |
– |
} |
149 |
|
|
150 |
< |
|
150 |
> |
define_SMS_sample(showList, allsamples, signalsamples, scansample); |
151 |
|
|
152 |
|
if(showList) allsamples.ListSamples(); |
153 |
|
|