Difference: NtDumperPackage (1 vs. 12)

Revision 12
14 Apr 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What it is

Line: 101 to 101
 
Added:
>
>

Useful information:

  • cross section that is used in MC production can be found in evgen.log which is in the MC09....evgen.... directory.
    With the cross section and the number of generated events, one can calculate the available luminosity L = N/sigma.
    With the cross section, one can get the number of events for a chosen luminosity (all integrated luminosities here). N = sigma * L
  -- SarahHeim - 25 Feb 2010

META TOPICMOVED by="SarahHeim" date="1267140015" from="AtlasSingleTop.NtDumper" to="AtlasSingleTop.NtDumperPackage"
Revision 11
18 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What it is

Line: 39 to 39
 
  • also change the output location and the input files
  • athena.py ...joboptions.py
Added:
>
>

On the grid?

export PATHENA_GRID_SETUP_SH=/afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh
source /afs/cern.ch/atlas/offline/external/GRID/DA/panda-client/latest/etc/panda/panda_setup.sh
pathena sheim...joboptions.py --inDS user10.SarahHeim.bla --outDS user10.SarahHeim.bla 
To get datasets/output from grid:
source /afs/cern.ch/atlas/offline/external/GRID/ddm/DQ2Clients/setup.sh
dq2-get bla
 

How to compile?

  • in ntDumper
    source setCMT.bash
    (really necessary?)
Revision 10
06 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

What is it

>
>

What it is

 

Added:
>
>
 

How to get it?

Changed:
<
<
>
>
IMPORTANT: For now this is a combination of two packages, if one of them changes, the following procedure will work any more, I will try to keep this page updated, but if you run into trouble, let me (Sarah Heim) know!
  • check out LeptonX package
 
export SVNROOT=svn+ssh://sheim@svn.cern.ch/reps/atlasgrp
svn co $SVNROOT/Physics/Exotic/LeptonX/Tools/trunk/ntDumper 
(your username instead of sheim)
Added:
>
>


  * go to ntDumper/PhysicsAnalysis/AnalysisCommon and do
 mv myAna myAnaOLD 
  • check out MSU package
svn co $SVNROOT/Institutes/MSU/MSUHighPtElectrons/ntDumperMSU/myAna/trunk/ myAna
Changed:
<
<
  • in ntDumper
     mkdir Output 
  • in TestRun
 cp ../PhysicsAnalysis/AnalysisCommon/myAna/run/sheim...joboptions.py . 
>
>
  • in ntDumper
    mkdir Output 
    source  /afs/cern.ch/sw/contrib/CMT/v1r20p20090520/mgr/setup.sh
    cmt config
    source setCMT.bash
  • in TestRun
    cp ../PhysicsAnalysis/AnalysisCommon/myAna/run/* . 
  • in TestProject/cmt
    cmt config
    cmt bro make clean
    cmt bro make
       
 

How to run it?

  • go to the TestRun directory
  • open the job options file there and edit if you want to run on AOD or ESD, also set analysis flags (mainly which particles you want to run on, trigger, truth?)
  • also change the output location and the input files
Changed:
<
<
  • athena.py ...joboptions.py
>
>
  • athena.py ...joboptions.py
 

How to compile?

Changed:
<
<
  • source setCMT.bash (really necessary?)
  • go to directory TestProject/cmt
  • cmt config (really necessary?)
  • cmt bro make clean
  • cmt bro make
>
>
  • in ntDumper
    source setCMT.bash
    (really necessary?)
  • in TestProject/cmt
    cmt config
    (really necessary?)
    cmt bro make clean
    cmt bro make
 

What to change between running on data and MC?

  • DetDescrVersion (right now ='ATLAS-GEO-08-00-02' ) => info from AMI
Line: 77 to 91
 

Links

Added:
>
>
  -- SarahHeim - 25 Feb 2010

META TOPICMOVED by="SarahHeim" date="1267140015" from="AtlasSingleTop.NtDumper" to="AtlasSingleTop.NtDumperPackage"
Revision 9
05 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 9 to 9
 
export SVNROOT=svn+ssh://sheim@svn.cern.ch/reps/atlasgrp
svn co $SVNROOT/Physics/Exotic/LeptonX/Tools/trunk/ntDumper 
(your username instead of sheim)
Added:
>
>
* go to ntDumper/PhysicsAnalysis/AnalysisCommon and do
 mv myAna myAnaOLD 
 
  • check out MSU package
Changed:
<
<
svn co $SVNROOT/Institutes/MSU/MSUHighPtElectrons/ntDumperMSU/myAna/trunk/ myAna
  • go to ntDumper/PhysicsAnalysis/AnalysisCommon and replace the old "myAna" with the new "myAna" from the MSU package
>
>
svn co $SVNROOT/Institutes/MSU/MSUHighPtElectrons/ntDumperMSU/myAna/trunk/ myAna
  • in ntDumper
     mkdir Output 
  • in TestRun
 cp ../PhysicsAnalysis/AnalysisCommon/myAna/run/sheim...joboptions.py . 
 
Deleted:
<
<
  • check out
 

How to run it?

  • go to the TestRun directory
Revision 8
05 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Added:
>
>

How to get it?

export SVNROOT=svn+ssh://sheim@svn.cern.ch/reps/atlasgrp
svn co $SVNROOT/Physics/Exotic/LeptonX/Tools/trunk/ntDumper 
(your username instead of sheim)
  • check out MSU package
svn co $SVNROOT/Institutes/MSU/MSUHighPtElectrons/ntDumperMSU/myAna/trunk/ myAna
  • go to ntDumper/PhysicsAnalysis/AnalysisCommon and replace the old "myAna" with the new "myAna" from the MSU package

  • check out
 

How to run it?

  • go to the TestRun directory
Revision 7
04 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Added:
>
>

How to run it?

  • go to the TestRun directory
  • open the job options file there and edit if you want to run on AOD or ESD, also set analysis flags (mainly which particles you want to run on, trigger, truth?)
  • also change the output location and the input files
  • athena.py ...joboptions.py

How to compile?

  • source setCMT.bash (really necessary?)
  • go to directory TestProject/cmt
  • cmt config (really necessary?)
  • cmt bro make clean
  • cmt bro make

What to change between running on data and MC?

  • DetDescrVersion (right now ='ATLAS-GEO-08-00-02' ) => info from AMI
  • #GlobalFlags.DetGeo.set_atlas() ???
  • GlobalFlags.DataSource.set_data() ##processing Real Data #
  • GlobalFlags.DataSource.set_geant4() ##processing MC
  • for running on data: doTruth and doTruth2 have to be FALSE
 

Structure of package

Job Options

  • general job options (one for AOD, ESD...)
Line: 19 to 39
 
  • DoTruth2 does fill branches with truth information from MC, also does a lot top, antitop, W, Z stuff

What would we want to change

Changed:
<
<
  • AOD/ESD?
  • add our variables (in case they are not there yet
  • What about trigger information?
  • we only need Electrons and MET? Photons? Trigger/Truth?

How to run it?

  • go to the TestRun directory
  • open the job options file there and edit if you want to run on AOD or ESD, also set analysis flags (mainly which particles you want to run on, trigger, truth?)
  • also change the output location and the input files
  • athena.py ...joboptions.py
>
>
  • AOD/ESD? DONE
  • add our variables (in case they are not there yet) DONE
  • What about trigger information? DONE
  • we only need Electrons and MET? Photons? Trigger/Truth? OK
  • add Lumiblock and GoodRunListInfo
 

How to add a new algorithm?

  • example DoEgammaESD
Line: 39 to 54
 
  • add to general and analysis job options file
  • compile!
Changed:
<
<

How to compile?

  • source setCMT.bash (really necessary?)
  • go to directory TestProject/cmt
  • cmt config (really necessary?)
  • cmt bro make clean
  • cmt bro make
>
>

How to add a new variable?

  • in header as vector
  • in src as branch, clear, fill
 

Links

Changed:
<
<
  • twiki
https://twiki.cern.ch/twiki/bin/view/AtlasProtected/LeptonXNtDumper
>
>
  -- SarahHeim - 25 Feb 2010

META TOPICMOVED by="SarahHeim" date="1267140015" from="AtlasSingleTop.NtDumper" to="AtlasSingleTop.NtDumperPackage"
Revision 6
03 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 39 to 39
 
  • add to general and analysis job options file
  • compile!
Added:
>
>

How to compile?

  • source setCMT.bash (really necessary?)
  • go to directory TestProject/cmt
  • cmt config (really necessary?)
  • cmt bro make clean
  • cmt bro make

 

Links

Revision 5
03 Mar 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 30 to 30
 
  • also change the output location and the input files
  • athena.py ...joboptions.py
Added:
>
>

How to add a new algorithm?

  • example DoEgammaESD
  • add src, header file
  • add in src/components
  • add job options file in share
  • add Flag in python
  • add to general and analysis job options file
  • compile!
 

Links

Revision 4
26 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 25 to 25
 
  • we only need Electrons and MET? Photons? Trigger/Truth?

How to run it?

Added:
>
>
  • go to the TestRun directory
  • open the job options file there and edit if you want to run on AOD or ESD, also set analysis flags (mainly which particles you want to run on, trigger, truth?)
  • also change the output location and the input files
  • athena.py ...joboptions.py
 

Links

Revision 3
26 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 8 to 8
 

Structure of package

Job Options

  • general job options (one for AOD, ESD...)
Changed:
<
<

=> can pick which particles want to run over, picks the right special job options, algorithms
>
>

=> can pick which particles want to run over, can pick things like DoTrigger, picks the right special job options, algorithms
 
=> uses Analysis.Flags (?)
=> also something called doAOD, doESD

src

  • DoParticles is specializes into p.ex. DoElectrons, here the variables are filled
Changed:
<
<
  • DoTrigger
>
>
  • DoTrigger fills branches for different trigger chains: if event passed=>1, if not=>0
  • DoL1ROI fills branches with eta, phi... of different region of interests
  • DoTruth does fill branches with thruth info from MC (uses egammaMCTruthClassifier and muonMCTruthClassifier)
  • DoTruth2 does fill branches with truth information from MC, also does a lot top, antitop, W, Z stuff
 

What would we want to change

  • AOD/ESD?
Revision 2
26 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

What is it

Line: 13 to 13
 
=> also something called doAOD, doESD

src

  • DoParticles is specializes into p.ex. DoElectrons, here the variables are filled
Added:
>
>
  • DoTrigger
 

What would we want to change

  • AOD/ESD?
  • add our variables (in case they are not there yet
  • What about trigger information?
Added:
>
>
  • we only need Electrons and MET? Photons? Trigger/Truth?

How to run it?

 

Links

Changed:
<
<
>
>
https://twiki.cern.ch/twiki/bin/view/AtlasProtected/LeptonXNtDumper
  -- SarahHeim - 25 Feb 2010
Added:
>
>

META TOPICMOVED by="SarahHeim" date="1267140015" from="AtlasSingleTop.NtDumper" to="AtlasSingleTop.NtDumperPackage"
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback