ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/GeneratorLevelStudyModule.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/GeneratorLevelStudyModule.C (file contents):
Revision 1.2 by buchmann, Thu Feb 23 15:19:55 2012 UTC vs.
Revision 1.3 by buchmann, Tue Mar 13 17:59:38 2012 UTC

# Line 51 | Line 51 | namespace GenLevelStudy {
51          void ImpactOfGluinoChi2MassDifference();
52  
53   //      string LM4sample="/scratch/buchmann/ntuples/GeneratorInformationInJZB___JZBplusSamples_PrimeTime__SAMPLES__Gen_V11/LM4_SUSY_sftsht_7TeV-pythia6__Summer11-PU_S4_START42_V11-v2__withIndex.root";
54 <        string LM4sample="/scratch/buchmann/ntuples/GeneratorInformationInJZB___JZBplusSamples_PrimeTime__SAMPLES__Gen_V16_sumJet_with_LSPsum_LM8only_fixed/LM8_SUSY_sftsht_7TeV-pythia6__Summer11-PU_S4_START42_V11-v2_novtx_fixed3.root";
54 >        string LM4sample="/scratch/buchmann/buchmann/SignalWithLeptonsStartingAt5GeV/LM4_SUSY_sftsht_7TeV-pythia.root";
55 > //      string LM4sample="/scratch/buchmann/ntuples/GeneratorInformationInJZB___JZBplusSamples_PrimeTime__SAMPLES__Gen_V16_sumJet_with_LSPsum_LM8only_fixed/LM8_SUSY_sftsht_7TeV-pythia6__Summer11-PU_S4_START42_V11-v2_novtx_fixed3.root";
56          string SMSsample="/scratch/buchmann/buchmann/GeneratorInformationInJZB___JZBplusSamples_PrimeTime__SAMPLES__Gen_V12_with_zchi2angle_bf1/SMS-T5zz_x-05_Mgluino-150to1200_mLSP-50to1150_7TeV-Pythia6Z__Summer11-PU_START42_V11_FastSim-v2__AODSIM___inclindex_v2_complet.root";
57          string histoname(int i);
58          Color_t histocolor(int i);
# Line 572 | Line 573 | void GenLevelStudy::fill_pstar_histos(st
573     //Draw two very different distributions ... for illustration purposes.
574     if(TMath::Abs((float)(x-0.5))<0.1) {
575          TCanvas *cannie = new TCanvas("cannie","cannie");
576 <        TH1F *h1 = new TH1F("h1","h1",100,-200,800);
577 <        TH1F *h2 = new TH1F("h2","h2",100,-200,800);
576 >        TH1F *h1 = new TH1F("h1","h1",100,-400,600);
577 >        TH1F *h2 = new TH1F("h2","h2",100,-400,600);
578          chain.Draw("jzb[1]>>h1","(MassLSP==150&&MassGlu==400&&abs(jzb[1])>0)");
579          chain.Draw("jzb[1]>>h2","(MassLSP==150&&MassGlu==1200&&abs(jzb[1])>0)","sames");
580          h1->SetLineColor(histocolor(4));
# Line 592 | Line 593 | void GenLevelStudy::fill_pstar_histos(st
593     }
594    
595     float stepsize=(pstarhigh-pstarlow)/(float)npstarhistos;
596 <
596 > /*
597     stringstream accdrawcommand;
598     accdrawcommand << "1+((" << x << "*(MassGlu+MassLSP)-MassLSP)>91.2)";
599    
# Line 618 | Line 619 | void GenLevelStudy::fill_pstar_histos(st
619  
620     }
621     delete ca;
622 + */
623   }
624  
625   void GenLevelStudy::pStarDistributions(string name, float modelx) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines