Changes between Version 3 and Version 4 of SRCombinations
- Timestamp:
- Jan 26, 2020, 9:46:44 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SRCombinations
v3 v4 4 4 5 5 {{{ 6 <analysis id="atlas_xyz_00_00"> 7 <lumi>139.0</lumi> 8 <pyhf id="<Profile Name>"> 9 <name>FILE_NAME.json</name> 6 <pyhf id="RegionA"> 7 <name>atlas_susy_2018_031_SRA.json</name> 10 8 <regions> 11 <channel name="<Channel Name1>"> 12 SRX 13 SRY 9 <channel name="SR_meff"> 10 SRA_L 11 SRA_M 12 SRA_H 14 13 </channel> 15 <channel name="<Channel Name2>"></channel> 16 <region> 14 <channel name="VRtt_meff"></channel> 15 <channel name="CRtt_meff"></channel> 16 </regions> 17 17 </pyhf> 18 </analysis>19 18 }}} 20 19 21 20 22 where "<Profile Name>" is the identifier of the profile and will be printed in the output file to show the exclusion estimates calculated using this specific likelihood profile. FILE_NAME.json is the name of the JSON file. "<Channel Name>" is the name of the channel as specified in the JSON file, please note that in case of the wrong declaration the profile will be ignored. In the example above, channel 1 has two signal regions declared as SRX and SRY. '''These names are needed to be taken from the PAD analysis and have to be ordered as given in JSON file. In case of wrong ordering, the calculation will be wrong. To make sure, please refer to the analysis description.''' If further help needed, one can use [http://madanalysis.irmp.ucl.ac.be/attachment/wiki/SRCombinations/write_histfactory_info.py write_pyhf_info.py]21 where <pyhf id="RegionA"> is the identifier of the profile and will be printed in the output file to show the exclusion estimates calculated using this specific likelihood profile. It can be named as anything without using spaces. <name>atlas_susy_2018_031_SRA.json</name> is the name of the [https://cds.cern.ch/record/2684863/files/ATL-PHYS-PUB-2019-029.pdf HistFactory] JSON file. <channel name="SR_meff"> is the name of the channel as specified in the JSON file, please note that in case of the wrong declaration the profile will be ignored. In the example above, the channel ''SR_meff'' has 3 signal regions declared as ''SRA_L'', ''SRA_M'' and ''SRA_H''. '''These names correspond to the names of the signal regions as declared in the analysis recast. The ordering MUST be the same as in the JSON file, otherwise, the exclusion limit will be calculated wrong. To make sure, please refer to the analysis description.''' ''VRtt_meff'' and ''CRtt_meff'' does not contain any signal region since the Validation and Control regions are not included in the analysis recast due to lack of information. If further help needed, one can use [http://madanalysis.irmp.ucl.ac.be/attachment/wiki/SRCombinations/write_histfactory_info.py write_histfactory_info.py] 23 22 24 23 {{{ 25 24 python write_histfactory_info.py -i FILE1.json FILE2.json FILE3.json 26 25 }}} 27 where -i refers to the interactive mode, which writes the file by giving you directions. The JSON files ha s to be named as in info file and placed in the same folder wiith the info file (''~/madanalysis5/tools/<PADofChoice>/Build/SampleAnalyzer/User/Analysis/atlas_xyz_00_00.info'')26 where -i refers to the interactive mode, which writes the file by giving you directions. The JSON files have to be named as in info file and placed in the same folder with the info file (''~/madanalysis5/tools/<PADofChoice>/Build/SampleAnalyzer/User/Analysis/atlas_xyz_00_00.info'') 28 27 29 In order to use HistFactory, one needs to install [https://cds.cern.ch/record/2684863/files/ATL-PHYS-PUB-2019-029.pdf pyhf] package which is automatically installed viafollowing command28 In order to use [https://cds.cern.ch/record/2684863/files/ATL-PHYS-PUB-2019-029.pdf HistFactory], one needs to install [https://cds.cern.ch/record/2684863/files/ATL-PHYS-PUB-2019-029.pdf pyhf] package which is automatically installed via the following command 30 29 31 30 {{{ … … 33 32 }}} 34 33 35 After these steps all given signal region combinations are automatically calculated and additionallyMadAnalysis constructs a global likelihood profile to combine all given HistFactory files with the same parameter of interest.34 After these steps, all given signal region combinations are automatically calculated. Additionally, MadAnalysis constructs a global likelihood profile to combine all given HistFactory files with the same parameter of interest.