Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 857 to 857 | ||||||||
HistoName="data" />
<-- signal --> | ||||||||
Changed: | ||||||||
< < | <Sample Name="signal" HistoName="ttH_m110" NormalizeByTheory="False" > | |||||||
> > | | |||||||
<-- systematics: --><HistoSys Name="Lumi" HistoNameHigh="ttH_m110_sys_Lumi_up" | ||||||||
Line: 929 to 928 | ||||||||
# The #userSet hashtag is used to indicate places in the script where the user might modify # things. | ||||||||
Changed: | ||||||||
< < | createXMLFiles() # Arguments: originalMass { originalMass=$1 newMass=$2 | |||||||
> > | createXMLFiles(){ # arguments: originalMass originalMass=${1} newMass=${2} | |||||||
# Set/specify the original XML configuration file names. originalChannelXMLFileName=ttH_m${originalMass}_channel.xml originalTopLevelXMLFileName=ttH_m${originalMass}_top-level.xml | ||||||||
Line: 940 to 941 | ||||||||
# Set/specify the new XML configuration file names. newChannelXMLFileName=ttH_m${newMass}_channel.xml newTopLevelXMLFileName=ttH_m${newMass}_top-level.xml | ||||||||
Added: | ||||||||
> > | ||||||||
# Duplicate the original XML configuration files while substituting the original mass # points with the new mass points in the new resulting file. # Here, the program sed is used to replace all occurrances of a specified pattern in # a specified file with another specified pattern. # The "s" correspondes to "substitute". # The "g" corresponds to "globally" (all instances in a line). | ||||||||
Changed: | ||||||||
< < | sed "s/m$originalMass/m$newMass/g" $originalChannelXMLFileName > $newChannelXMLFileName sed "s/m$originalMass/m$newMass/g" $originalTopLevelXMLFileName > $newTopLevelXMLFileName | |||||||
> > | sed "s/m$originalMass/m$newMass/g" ${originalChannelXMLFileName} > ${newChannelXMLFileName} sed "s/m$originalMass/m$newMass/g" ${originalTopLevelXMLFileName} > ${newTopLevelXMLFileName} | |||||||
} # Specify the original mass point. originalMass=110 #userSet # Execute the function for creation of new XML configuration files for all required mass points. | ||||||||
Changed: | ||||||||
< < | createXMLFiles $originalMass 115 #userSet createXMLFiles $originalMass 120 #userSet createXMLFiles $originalMass 125 #userSet createXMLFiles $originalMass 130 #userSet createXMLFiles $originalMass 140 #userSet | |||||||
> > | createXMLFiles ${originalMass} 115 #userSet createXMLFiles ${originalMass} 120 #userSet createXMLFiles ${originalMass} 125 #userSet createXMLFiles ${originalMass} 130 #userSet createXMLFiles ${originalMass} 140 #userSet | |||||||
%ENDCODE%
C++ approach to HistFactory | ||||||||
Line: 1219 to 1226 | ||||||||
links for HistFactory | ||||||||
Changed: | ||||||||
< < | HistFactory user guide, June 2012 (draft, under development)![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
> > |
| |||||||
analysis! | ||||||||
Line: 1362 to 1362 | ||||||||
HistoName="myData" />
<-- signal --> | ||||||||
Changed: | ||||||||
< < | <Sample Name="signal" HistoName="mySignal" NormalizeByTheory="True" > | |||||||
> > | | |||||||
| ||||||||
Line: 1506 to 1505 | ||||||||
links for ROOT | ||||||||
Changed: | ||||||||
< < | ROOT User's Guide![]() | |||||||
> > | ||||||||