text: #ifndef HSCP_ANALYSIS_SAMPLE
  #define HSCP_ANALYSIS_SAMPLE
  
  #define SID_GL300     0
  #define SID_GL400     1
  #define SID_GL500     2
  #define SID_GL600     3
  #define SID_GL700     4
  #define SID_GL800     5
  #define SID_GL900     6
  #define SID_GL1000    7
  #define SID_GL1100    8
  #define SID_GL300N    9
  #define SID_GL400N    10
  #define SID_GL500N    11
  #define SID_GL600N    12
  #define SID_GL700N    13
  #define SID_GL800N    14
  #define SID_GL900N    15
  #define SID_GL1000N   16
  #define SID_GL1100N   17
  #define SID_ST130     18
  #define SID_ST200     19
  #define SID_ST300     20
  #define SID_ST400     21
  #define SID_ST500     22
  #define SID_ST600     23
  #define SID_ST700     24
  #define SID_ST800     25
  #define SID_ST130N    26
  #define SID_ST200N    27
  #define SID_ST300N    28
  #define SID_ST400N    29
  #define SID_ST500N    30
  #define SID_ST600N    31
  #define SID_ST700N    32
  #define SID_ST800N    33
  #define SID_GS100     34
  #define SID_GS126     35
  #define SID_GS156     36
  #define SID_GS200     37
  #define SID_GS247     38
  #define SID_GS308     39
  #define SID_GS370     40
  #define SID_GS432     41
  #define SID_GS494     42
  #define SID_PS100     43
  #define SID_PS126     44
  #define SID_PS156     45
  #define SID_PS200     46
  #define SID_PS247     47
  #define SID_PS308     48
  #define SID_D08K100   49
  #define SID_D08K121   50
  #define SID_D08K182   51
  #define SID_D08K242   52
  #define SID_D08K302   53
  #define SID_D08K350   54
  #define SID_D08K370   55
  #define SID_D08K390   56
  #define SID_D08K395   57
  #define SID_D08K400   58
  #define SID_D08K410   59
  #define SID_D08K420   60
  #define SID_D08K500   61
  #define SID_D12K100   62
  #define SID_D12K182   63
  #define SID_D12K302   64
  #define SID_D12K500   65
  #define SID_D12K530   66
  #define SID_D12K570   67
  #define SID_D12K590   68
  #define SID_D12K595   69
  #define SID_D12K600   70
  #define SID_D12K610   71
  #define SID_D12K620   72
  #define SID_D12K700   73
  #define SID_D16K100   74
  #define SID_D16K182   75
  #define SID_D16K302   76
  #define SID_D16K500   77
  #define SID_D16K700   78
  #define SID_D16K730   79
  #define SID_D16K770   80
  #define SID_D16K790   81
  #define SID_D16K795   82
  #define SID_D16K800   83
  #define SID_D16K820   84
  #define SID_D16K900   85
  
  
  int                  RunningPeriods = 2;
  double               IntegratedLuminosity = 4679; //3168; //2410;//2125; //2080; //1912; //1947; //1631; //976.204518023; //705.273820; //342.603275; //204.160928; //191.04;
  double               IntegratedLuminosityBeforeTriggerChange = 355.227; //353.494; // Total luminosity taken before RPC L1 trigger change (went into effect on run 165970)
  float                Event_Weight = 1;
  int                  MaxEntry = -1;
  
  
  class stSignal{
     public:
     std::string Type;
     std::string Name;
     std::string FileName;
     std::string Legend;
     double Mass;
     double XSec;
     bool   MakePlot;
     bool   IsS4PileUp;
  
     stSignal(); 
        stSignal(std::string Type_, std::string Name_, std::string FileName_, std::string Legend_, double Mass_, bool MakePlot_, bool IsS4PileUp_, double XSec_){Type=Type_; Name=Name_; FileName=FileName_; Legend=Legend_; Mass=Mass_; MakePlot=MakePlot_; IsS4PileUp=IsS4PileUp_;XSec=XSec_;}
  };
  
  
  void GetSignalDefinition(std::vector<stSignal>& signals){
    signals.push_back(stSignal("Gluino", "Gluino300", "Gluino300"    , "#tilde{g} 300"                 , 300,  1, 1,  65.800000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino400", "Gluino400"    , "#tilde{g} 400"                 , 400,  1, 1,   11.20000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino500", "Gluino500"    , "#tilde{g} 500"                 , 500,  1, 1,   2.540000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino600", "Gluino600"    , "#tilde{g} 600"                 , 600,  1, 1,   0.693000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino700", "Gluino700"    , "#tilde{g} 700"                 , 700,  1, 1,   0.214000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino800", "Gluino800"    , "#tilde{g} 800"                 , 800,  1, 1,   0.072500) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino900", "Gluino900"    , "#tilde{g} 900"                 , 900,  1, 1,   0.026200) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino1000", "Gluino1000"  , "#tilde{g} 1000"                ,1000,  1, 1,   0.0098700) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino1100", "Gluino1100"  , "#tilde{g} 1100"                ,1100,  1, 1,   0.0038600) ); //NLO 
    //signals.push_back(stSignal("Gluino", "Gluino1200", "Gluino1200"   , "#tilde{g} 1200"                ,1200,  1, 1,   0.004300) ); //NLO
  
    signals.push_back(stSignal("Gluino", "Gluino300N", "Gluinoneutralonly300"   , "#tilde{g} 300 CS"              , 300,  1, 1,  65.800000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino400N", "Gluinoneutralonly400"   , "#tilde{g} 400 CS"              , 400,  1, 1,   11.20000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino500N", "Gluinoneutralonly500"   , "#tilde{g} 500 CS"              , 500,  1, 1,   2.540000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino600N", "Gluinoneutralonly600"   , "#tilde{g} 600 CS"              , 600,  1, 1,   0.693000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino700N", "Gluinoneutralonly700"   , "#tilde{g} 700 CS"              , 700,  1, 1,   0.214000) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino800N", "Gluinoneutralonly800"   , "#tilde{g} 800 CS"              , 800,  1, 1,   0.072500) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino900N", "Gluinoneutralonly900"   , "#tilde{g} 900 CS"              , 900,  1, 1,   0.026200) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino1000N", "Gluinoneutralonly1000"  , "#tilde{g} 1000 CS"             ,1000,  1, 1,   0.0098700) ); //NLO
    signals.push_back(stSignal("Gluino", "Gluino1100N", "Gluinoneutralonly1100"  , "#tilde{g} 1100 CS"             ,1100,  1, 1,   0.0038600) ); //NLO
    //signals.push_back(stSignal("Gluino", "Gluino1200N", "Gluinoneutralonly1200"  , "#tilde{g} 1200 CS"             ,1200,  1, 1,   ) ); //NLO
  
     //signals.push_back(stSignal("Gluino", "Gluino600Z"   , "#tilde{g} 600 Z2"              , 600,  1, 1,   0.465000) ); //NLO
     //signals.push_back(stSignal("Gluino", "Gluino700Z"   , "#tilde{g} 700 Z2"              , 700,  1, 1,   0.130000) ); //NLO
     //signals.push_back(stSignal("Gluino", "Gluino800Z"   , "#tilde{g} 800 Z2"              , 800,  1, 1,   0.039600) ); //NLO
  
    signals.push_back(stSignal("Stop"  , "Stop130", "stop_M-130"      , "#tilde{t}_{1} 130"             , 130,  1, 1, 120.000000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop200", "stop_M-200"      , "#tilde{t}_{1} 200"             , 200,  1, 1,  13.000000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop300", "stop_M-300"      , "#tilde{t}_{1} 300"             , 300,  1, 1,   1.310000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop400", "stop_M-400"      , "#tilde{t}_{1} 400"             , 400,  1, 1,   0.218000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop500", "stop_M-500"      , "#tilde{t}_{1} 500"             , 500,  0, 1,  0.047800) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop600", "stop_M-600"      , "#tilde{t}_{1} 600"             , 600,  1, 1,   0.012500) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop700", "stop_M-700"      , "#tilde{t}_{1} 700"             , 700,  1, 1,   0.003560) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop800", "stop_M-800"      , "#tilde{t}_{1} 800"             , 800,  1, 1,   0.001140) ); //NLO
  
    signals.push_back(stSignal("Stop"  , "Stop130N", "stoponlyneutral_M-130"      , "#tilde{t}_{1} 130 CS"          , 130,  1, 1, 120.000000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop200N", "stoponlyneutral_M-200"     , "#tilde{t}_{1} 200 CS"          , 200,  1, 1,  13.000000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop300N", "stoponlyneutral_M-300"     , "#tilde{t}_{1} 300 CS"          , 300,  1, 1,   1.310000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop400N", "stoponlyneutral_M-400"     , "#tilde{t}_{1} 400 CS"          , 400,  1, 1,   0.218000) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop500N", "stoponlyneutral_M-500"     , "#tilde{t}_{1} 500 CS"          , 500,  0, 1,  0.047800) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop600N", "stoponlyneutral_M-600"     , "#tilde{t}_{1} 600 CS"          , 600,  1, 1,   0.012500) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop700N", "stoponlyneutral_M-700"     , "#tilde{t}_{1} 700 CS"          , 700,  1, 1,   0.003560) ); //NLO
    signals.push_back(stSignal("Stop"  , "Stop800N", "stoponlyneutral_M-800"     , "#tilde{t}_{1} 800 CS"          , 800,  1, 1,   0.001140) ); //NLO
  
    //signals.push_back(stSignal("Stop"  , "Stop300Z"     , "#tilde{t}_{1} 300 Z2"          , 300,  1, 1,   1.310000) ); //NLO
    //signals.push_back(stSignal("Stop"  , "Stop400Z"     , "#tilde{t}_{1} 400 Z2"          , 400,  1, 1,   0.218000) ); //NLO
    //signals.push_back(stSignal("Stop"  , "Stop500Z"     , "#tilde{t}_{1} 500 Z2"          , 500,  0,   0.047800) ); //NLO
  
    signals.push_back(stSignal("Stau"  , "GMStau100", "stau_M-100"    , "GMSB #tilde{#tau}_{1} 100"     , 100,  1, 1,   1.3398) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau126", "stau_M-126"    , "GMSB #tilde{#tau}_{1} 126"     , 126,  1, 1,   0.274591) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau156", "stau_M-156"    , "GMSB #tilde{#tau}_{1} 156"     , 156,  0, 1,  0.0645953) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau200", "stau_M-200"    , "GMSB #tilde{#tau}_{1} 200"     , 200,  1, 1,   0.0118093) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau247", "stau_M-247"    , "GMSB #tilde{#tau}_{1} 247"     , 247,  0, 1,  0.00342512) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau308", "stau_M-308"    , "GMSB #tilde{#tau}_{1} 308"     , 308,  1, 1,  0.00098447 ) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau370", "stau_M-370"    , "GMSB #tilde{#tau}_{1} 370"     , 370,  1, 1,   0.000353388) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau432", "stau_M-432"    , "GMSB #tilde{#tau}_{1} 432"     , 432,  1, 1,   0.000141817) ); //NLO
    signals.push_back(stSignal("Stau"  , "GMStau494", "stau_M-494"    , "GMSB #tilde{#tau}_{1} 494"     , 494,  1, 1,   0.00006177) ); //NLO
  
    signals.push_back(stSignal("Stau"  , "PPStau100", "PPStau100", "Pair #tilde{#tau}_{1} 100"     , 100,  1, 1,   0.0382) ); //NLO
    signals.push_back(stSignal("Stau"  , "PPStau126", "PPStau126", "Pair #tilde{#tau}_{1} 126"     , 126,  0, 1,  0.0161) ); //NLO
    signals.push_back(stSignal("Stau"  , "PPStau156", "PPStau156", "Pair #tilde{#tau}_{1} 156"     , 156,  0, 1,  0.00704) ); //NLO
    signals.push_back(stSignal("Stau"  , "PPStau200", "PPStau200", "Pair #tilde{#tau}_{1} 200"     , 200,  1, 1,   0.00247) ); //NLO
    signals.push_back(stSignal("Stau"  , "PPStau247", "PPStau247", "Pair #tilde{#tau}_{1} 247"     , 247,  0, 1,  0.00101) ); //NLO
    signals.push_back(stSignal("Stau"  , "PPStau308", "PPStau308", "Pair #tilde{#tau}_{1} 308"     , 308,  0, 1,  0.000353) ); //NLO  
  
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK100" , "DCRho08HyperK100"    , "DICHAMP #tilde{K} 100"  , 100,  1, 1,   1.405000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK121" , "DCRho08HyperK121"    , "DICHAMP #tilde{K} 121"  , 121,  1, 1,   0.979000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK182" , "DCRho08HyperK182"    , "DICHAMP #tilde{K} 182"  , 182,  0, 1,   0.560000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK242" , "DCRho08HyperK242"    , "DICHAMP #tilde{K} 242"  , 242,  0, 1,   0.489000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK302" , "DCRho08HyperK302"    , "DICHAMP #tilde{K} 302"  , 302,  1, 1,   0.463000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK350" , "DCRho08HyperK350"    , "DICHAMP #tilde{K} 350"  , 350,  1, 1,   0.473000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK370" , "DCRho08HyperK370"    , "DICHAMP #tilde{K} 370"  , 370,  1, 1,   0.48288105) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK390" , "DCRho08HyperK390"    , "DICHAMP #tilde{K} 390"  , 390,  1, 1,   0.47132496) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK395" , "DCRho08HyperK395"    , "DICHAMP #tilde{K} 395"  , 395,  1, 1,   0.420000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK400" , "DCRho08HyperK400"    , "DICHAMP #tilde{K} 400"  , 400,  1, 1,   0.473000) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK410" , "DCRho08HyperK410"    , "DICHAMP #tilde{K} 410"  , 410,  1, 1,   0.0060812129) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK420" , "DCRho08HyperK420"    , "DICHAMP #tilde{K} 420"  , 420,  1, 1,   0.003500) ); //LO
    signals.push_back(stSignal("DCRho08HyperK" , "DCRho08HyperK500" , "DCRho08HyperK500"    , "DICHAMP #tilde{K} 500"  , 500,  1, 1,   0.0002849) ); //LO
    
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK100" , "DCRho12HyperK100"  , "DICHAMP #tilde{K} 100"  , 100,  1, 1, 0.8339415992) ); //LO        
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK182" , "DCRho12HyperK182"  , "DICHAMP #tilde{K} 182"  , 182,  1, 1, 0.168096952140) ); //LO 
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK302" , "DCRho12HyperK302"  , "DICHAMP #tilde{K} 302"  , 302,  1, 1, 0.079554948387) ); //LO      
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK500" , "DCRho12HyperK500"  , "DICHAMP #tilde{K} 500"  , 500,  1, 1, 0.063996737) ); //LO         
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK530" , "DCRho12HyperK530"  , "DICHAMP #tilde{K} 530"  , 530,  1, 1, 0.064943882) ); //LO         
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK570" , "DCRho12HyperK570"  , "DICHAMP #tilde{K} 570"  , 570,  1, 1, 0.0662920530) ); //LO        
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK590" , "DCRho12HyperK590"  , "DICHAMP #tilde{K} 590"  , 590,  1, 1, 0.060748383) ); //LO         
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK595" , "DCRho12HyperK595"  , "DICHAMP #tilde{K} 595"  , 595,  1, 1, 0.04968409) ); //LO          
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK600" , "DCRho12HyperK600"  , "DICHAMP #tilde{K} 600"  , 600,  1, 1, 0.0026232721237) ); //LO     
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK610" , "DCRho12HyperK610"  , "DICHAMP #tilde{K} 610"  , 610,  1, 1, 0.00127431) ); //LO          
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK620" , "DCRho12HyperK620"  , "DICHAMP #tilde{K} 620"  , 620,  1, 1, 0.00056965104319) ); //LO    
    signals.push_back(stSignal("DCRho12HyperK" , "DCRho12HyperK700" , "DCRho12HyperK700"  , "DICHAMP #tilde{K} 700"  , 700,  1, 1, 0.00006122886211) ); //LO     
  
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK100" , "DCRho16HyperK100"  , "DICHAMP #tilde{K} 100"  , 100,  1, 1, 0.711518686800) ); //LO       
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK182" , "DCRho16HyperK182"  , "DICHAMP #tilde{K} 182"  , 182,  1, 1, 0.089726059780) ); //LO       
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK302" , "DCRho16HyperK302"  , "DICHAMP #tilde{K} 302"  , 302,  1, 1, 0.019769637301) ); //LO       
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK500" , "DCRho16HyperK500"  , "DICHAMP #tilde{K} 500"  , 500,  1, 1, 0.0063302286576) ); //LO      
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK700" , "DCRho16HyperK700"  , "DICHAMP #tilde{K} 700"  , 700,  1, 1, 0.002536779850) ); //LO       
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK730" , "DCRho16HyperK730"  , "DICHAMP #tilde{K} 730"  , 730,  1, 1, 0.00213454921) ); //LO
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK770" , "DCRho16HyperK770"  , "DICHAMP #tilde{K} 770"  , 770,  1, 1, 0.001737551) ); //LO 
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK790" , "DCRho16HyperK790"  , "DICHAMP #tilde{K} 790"  , 790,  1, 1, 0.00161578593) ); //LO
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK795" , "DCRho16HyperK795"  , "DICHAMP #tilde{K} 795"  , 795,  1, 1, 0.00153513713) ); //LO
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK800" , "DCRho16HyperK800"  , "DICHAMP #tilde{K} 800"  , 800,  1, 1, 0.000256086965) ); //LO
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK810" , "DCRho16HyperK810"  , "DICHAMP #tilde{K} 810"  , 810,  1, 1, 0.000140664) ); //LO 
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK820" , "DCRho16HyperK820"  , "DICHAMP #tilde{K} 820"  , 820,  1, 1, 0.000097929923655) ); //LO 
    signals.push_back(stSignal("DCRho16HyperK" , "DCRho16HyperK900" , "DCRho16HyperK900"  , "DICHAMP #tilde{K} 900"  , 900,  1, 1, 0.000013146066) ); //LO       
  
  }
  
  struct stMC{
     std::string Name;
     double XSection;
     double MaxPtHat;
     double MaxEvent;
     bool   IsS4PileUp;
  
     stMC();
        stMC(std::string Name_, double XSection_, double MaxPtHat_, int MaxEvent_, bool IsS4PileUp_){Name = Name_; XSection = XSection_; MaxPtHat = MaxPtHat_; MaxEvent = MaxEvent_;IsS4PileUp = IsS4PileUp_;}
  };
  
  void GetMCDefinition(std::vector<stMC>& MC){
  
     MC.push_back(stMC("MC_DYToTauTau"            ,     1.300E3  , -1, -1, 0));
     MC.push_back(stMC("MC_DYToMuMu"              ,     1.300E3  , -1, -1, 0));
     MC.push_back(stMC("MC_WJetsToLNu"            ,     2.777E4  , -1, -1, 1));
     MC.push_back(stMC("MC_TTJets"                ,     9.400E1  , -1, -1, 1));
     MC.push_back(stMC("MC_QCD_Pt-15to30"         ,     8.16E8  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-30to50"         ,     5.310E7  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-50to80"         ,     6.360E6  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-80to120"        ,     7.840E5  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-120to170"       ,     1.150E5  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-170to300"       ,     2.430E4  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-300to470"       ,     1.170E3  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-470to600"       ,     7.020E1  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-600to800"       ,     1.560E1  , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-800to1000"      ,     1.84     , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-1000to1400"     ,     3.320E-1 , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-1400to1800"     ,     1.090E-2 , -1, -1, 0));
     MC.push_back(stMC("MC_QCD_Pt-1800"           ,     3.580E-4 , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-0to15"   ,     4.280E3  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-15to20"  ,     1.450E2  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-20to30"  ,     1.310E2  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-30to50"  ,     8.400E1  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-50to80"  ,     3.220E1  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-80to120" ,     9.98     , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-120to170",     2.73     , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-170to230",     7.21E-1  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-230to300",     1.94E-1  , -1, -1, 0));
     MC.push_back(stMC("MC_ZJetToMuMu_Pt-300"     ,     7.59E-2  , -1, -1, 0));
     MC.push_back(stMC("MC_ZZ"                    ,     4.287    , -1, -1, 1));
     MC.push_back(stMC("MC_WW"                    ,     2.783E1  , -1, -1, 1));
     MC.push_back(stMC("MC_WZ"                    ,     1.47E1   , -1, -1, 1));
  }
  
  void GetInputFiles(std::vector<std::string>& inputFiles, std::string SampleName, int period=0){
  //  std::string BaseDirectory = "/storage/data/cms/users/quertenmont/HSCP/CMSSW_4_2_3/11_08_03/";
  //   std::string BaseDirectory = "dcache:/pnfs/cms/WAX/11/store/user/jchen/11_09_13_HSCP2011EDM/";
    std::string BaseDirectory = "/uscmst1b_scratch/lpc1/lpcphys/jchen/HSCPEDM_11_01_11/";
     if(SampleName=="Data"){
       inputFiles.push_back(BaseDirectory + "Data_RunA_160404_163869.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_165001_166033.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_166034_166500.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_166501_166893.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_166894_167151.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_167153_167913.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_170826_171500.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_171501_172619.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_172620_172790.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_172791_172802.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_172803_172900.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_172901_173243.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_173244_173692.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_175860_176099.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_176100_176309.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_176467_176800.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_176801_177053.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_177074_177783.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_177788_178380.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_178420_179411.root");
       inputFiles.push_back(BaseDirectory + "Data_RunA_179434_180252.root");
     }else if(SampleName.find("MC_",0)<std::string::npos){
       inputFiles.push_back(BaseDirectory + SampleName + ".root");
     }else{
       if (period==0) inputFiles.push_back(BaseDirectory + SampleName + ".root");
       if (period==1) inputFiles.push_back(BaseDirectory + SampleName + "BX1.root");
     }
  }
  
  #endif
  