Пример #1
0
void sobCombine(TString name, TString* Input,const char* dataset , const char* channel, const char* cat, int weight=1, float  MuValue=1.0){

  sobWeightedCombine(Input,name,weight,MuValue);
  /*                                     |-> mu value from the fit to Data
                      |     |     |->option to apply or not apply weights
                      |     |-> name for this plot
                      |->array of input postfit root files 
  */

  sobWeightedPlot(name,dataset,channel,cat);
}
void sobCombine(TString name, TString* Input,const char* dataset , const char* channel, const char* cat, int weight=1, float muValue=1.0, bool log=false, int mass=125, int tanb=0)
{
  if(tanb==0){
    sobWeightedCombine(Input,name,weight,muValue);
    /*                                     |-> mu value from the fit to Data
			 |     |     |->option to apply or not apply weights
			 |     |-> name for this plot
			 |->array of input postfit root files 
    */
    sobWeightedPlot(name,dataset,channel,cat,log,mass,tanb);
  }
  else{
    sobWeightedCombineMSSM(Input,name,weight,muValue);
    /*                                     |-> mu value from the fit to Data
			 |     |     |->option to apply or not apply weights
			 |     |-> name for this plot
			 |->array of input postfit root files 
    */
    sobWeightedPlotMSSM(name,dataset,channel,cat,log,mass,tanb);
  }
}