765 |
|
|
766 |
|
//uncomment whichever one you want to see :-) |
767 |
|
|
768 |
– |
|
769 |
– |
GenLevelStudy::X_vs_generation_lm4(); |
768 |
|
/* |
769 |
+ |
GenLevelStudy::X_vs_generation_lm4(); |
770 |
|
GenLevelStudy::compare_sms_lm4(); |
771 |
< |
GenLevelStudy::MomentumFraction(); |
771 |
> |
*/ |
772 |
> |
|
773 |
> |
///GenLevelStudy::MomentumFraction(); |
774 |
> |
///GenLevelStudy::AngleLSPLSP(); |
775 |
> |
///GenLevelStudy::DeltaLSPmomentum(); |
776 |
> |
///GenLevelStudy::ZDecayIllustration(); |
777 |
> |
/* |
778 |
|
GenLevelStudy::AngleMETsumLSP(); |
779 |
|
GenLevelStudy::RatioMETsumLSP(); |
775 |
– |
GenLevelStudy::AngleLSPLSP(); |
780 |
|
GenLevelStudy::AngleLSPZ(); |
781 |
|
GenLevelStudy::WidthIllustration(); |
782 |
< |
GenLevelStudy::ZDecayIllustration(); |
783 |
< |
GenLevelStudy::DeltaLSPmomentum(); |
782 |
> |
|
783 |
> |
|
784 |
|
GenLevelStudy::pStarIllustration(0.5); |
785 |
< |
GenLevelStudy::pStarIllustration(0.25); |
786 |
< |
GenLevelStudy::pStarIllustration(0.75);*/ |
783 |
< |
GenLevelStudy::pStarDistributions();/* |
785 |
> |
//GenLevelStudy::pStarIllustration(0.25); |
786 |
> |
//GenLevelStudy::pStarIllustration(0.75); |
787 |
|
GenLevelStudy::DrawJetBand(); |
788 |
< |
GenLevelStudy::DrawOnly100to150inJetBand(); |
788 |
> |
GenLevelStudy::DrawOnly100to150inJetBand();*/ |
789 |
|
GenLevelStudy::ImpactOfGluinoChi2MassDifference(); |
790 |
< |
*/ |
790 |
> |
|
791 |
|
} |
792 |
|
|
793 |
|
|
876 |
|
|
877 |
|
} |
878 |
|
|
876 |
– |
string ReplaceCharacter(string originalstring,string replacethis,string replacewiththis) |
877 |
– |
{ |
878 |
– |
int pos = originalstring.find(replacethis); |
879 |
– |
if(pos == -1) return originalstring; |
880 |
– |
originalstring.replace(pos, replacewiththis.length(), replacewiththis); |
881 |
– |
return originalstring; |
882 |
– |
} |
883 |
– |
string removefunnystring(string name) { |
884 |
– |
name=ReplaceCharacter(name,"[","_"); |
885 |
– |
name=ReplaceCharacter(name,"]","_"); |
886 |
– |
name=ReplaceCharacter(name,"{","_"); |
887 |
– |
name=ReplaceCharacter(name,"}","_"); |
888 |
– |
name=ReplaceCharacter(name,".","_"); |
889 |
– |
name=ReplaceCharacter(name,",","_"); |
890 |
– |
name=ReplaceCharacter(name,";","_"); |
891 |
– |
name=ReplaceCharacter(name,":","_"); |
892 |
– |
name=ReplaceCharacter(name,"'","_"); |
893 |
– |
name=ReplaceCharacter(name,"$","_"); |
894 |
– |
name=ReplaceCharacter(name,"@","_"); |
895 |
– |
return name; |
896 |
– |
} |
897 |
– |
|
879 |
|
void compare_lm4_sms_variable(TTree *eventsLM4, TTree *eventsSMS, string variable, int nbins, float xmin, float xmax, TCut cut, string saveas, bool dology=false) { |
880 |
|
TCanvas *can = new TCanvas("can","can"); |
881 |
|
can->SetLogy(dology); |