Difference: TextToNtupleParser (12 vs. 13)

Revision 132011-10-04 - GavinKirby

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
-- GavinKirby - 2011-02-08
Line: 60 to 60
 /data/cdf04/stdenis/hww_1fb/hwwcdf6.1.6.mv4_82/Hww/TRTuple/root/testFlatFillATLASl4vec.txt
Changed:
<
<
Edit teststeerFillFlatFromAscii.txt so the three files have no directory spec:
>
>
Edit teststeerFillFlatFromAscii.txt so the three files have no directory spec:
 
GeneralParameter string 1 TreeSpecEv=TreeSpecEv.txt
Line: 96 to 96
  The directory specification in the files will need to be changed; if they are in the working directory, leave it out:
Changed:
<
<
In teststeerFillFlatFromAscii.txt:
>
>
In teststeerFillFlatFromAscii.txt:
 
Changed:
<
<
GeneralParameter string 1 TreeSpecEv=TreeSpecATLAStth-v15.txt
>
>
GeneralParameter string 1 TreeSpecEv=TreeSpecATLAStth-v16_event.txt
 # Steering file with spec of global
Changed:
<
<
GeneralParameter string 1 TreeSpecGlobal=TreeSpecATLAStth-v15.txt
>
>
GeneralParameter string 1 TreeSpecGlobal=TreeSpecATLAStth-v16_global.txt
 # Variable tree to NTP
Changed:
<
<
GeneralParameter string 1 TreeToNTPMapFile=VariableTreeToNTPATLASttHSemiLeptonic-v15.txt
>
>
GeneralParameter string 1 TreeToNTPMapFile=VariableTreeToNTPATLASttHSemiLeptonic-v16.txt
 

Add the following lines:

Line: 113 to 113
 GeneralParameter string 1 TreeNameGlobalInfo=D3PD
Changed:
<
<
It is necessary to match the variable names in the lines containing the string "EvInfoTree" in
VariableTreeToNTPATLASttHSemiLeptonic-v15.txt
>
>
It is necessary to match the variable names in the lines containing the string "EvInfoTree" in VariableTreeToNTPATLASttHSemiLeptonic-v16.txt
  to the names in the output file from the event generator.
Changed:
<
<
NB - lepton information is not in "EvInfoTree" - need to figure out if it is available. Then add it to
VariableTreeToNTPATLASttHSemileptonic-v15.txt
>
>
NB - lepton information is not in "EvInfoTree" - need to figure out if it is available. Then add it to VariableTreeToNTPATLASttHSemileptonic-v16.txt
 
Changed:
<
<
The file
TreeSpecATLAStth-v15.txt
has:
>
>
The file TreeSpecATLAStth-v16_event.txt contains declarations for the variables which are to be parsed:
 
ListParameter SpecifyVariable:PL_SelLepton_Pt 1 Type:double
Line: 127 to 127
 ListParameter SpecifyVariable:PL_SelLepton_Eta 1 Type:double
Changed:
<
<
Then add the variable defintions to
VariableTreeToNTPATLASttHSemiLeptonic-v15.txt
>
>
Then add the variable defintions to VariableTreeToNTPATLASttHSemiLeptonic-v16.txt
  For example:
Line: 139 to 139
 
runFillFlatFromAscii teststeerFillFlatFromAscii.txt testFlatFillATLASl4vec.txt testFlatFillATLAS.root
Added:
>
>
runFillFlatFromAscii teststeerFillFlatFromAscii.txt PythiaOutput_SIGNAL.dat testFlatFillATLAS_PythiaSIGNAL_2.root
 

Misc. notes:

Changed:
<
<
  • Remember to increment the number after EvInfoTree for each variable that is added.
>
>
  • Remember to increment the number after EvInfoTree for each variable that is added. If conflicting numbers are assigned to two different variables the tool will fail to run.
 
  • The value to the left of the colon has to match the name in the text file from the event generator. This does not have to be the same as the stuff to the right. Later on this is used as the input variable to plotting and the neural net training. This however is your point where you are flexible in mapping the branch/leaf to that name of the varaible later.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback