Difference: ZPrimePackage (1 vs. 8)

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

Where to find it (for now)

Line: 13 to 13
 

~mangeard/public/README_ANALYSIS_V15
Added:
>
>
source /afs/cern.ch/sw/contrib/CMT/v1r20p20090520/mgr/setup.sh
mkdir ~/whateverWorkDirectory

Create requirements file
cmt config
source setup.sh
  On msu-pc2 the requirements file has to look a bit different:
set   CMTSITE  CERN
Revision 7
26 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Where to find it (for now)

Line: 45 to 45
  Better: cmt show versions
Deleted:
<
<

SVN?

 

Datasets

Structure of analysis

The analysis consists of mainly two parts:
Line: 112 to 111
 
  • fills the container of user preselected electrons in store gate
  • fills a standard (athena aware) CBNT (ComBined NTuple) ntuple.
  • The user must override the following methods, otherwise the base class methods will be called - they do nothing:
Changed:
<
<
>
>
    • virtual StatusCode doPreSelection();
    • virtual StatusCode initializeParticle();
    • virtual StatusCode finalizeParticle();
 
  • creates branches of a root tree and histograms for truth properties
  • for every particle the branches are filled
  • checks on datatype (data or MC with truth info)
Revision 6
24 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Where to find it (for now)

Line: 86 to 86
 
  • special for local running
  1. Algorithms a) DoParticle
Changed:
<
<
b) CheckElectron (relies on DoParticle)
>
>

-- Main event loop = event 1 = CBNT_initialize() CBNT_clear() CBNT_execute() = event 2 = CBNT_clear() CBNT_execute() ... = event N = CBNT_clear() CBNT_execute()

-- Finalization CBNT_finalize()

b) CheckElectron (derived from DoParticle)
 
  • cuts (input from JobOptions) right now: Eta<2.5, Et>1 GeV, deltaRmatch<0.1, EtCone20<1
Changed:
<
<
  • fills the container of user pre selected electrons in store gate and
  • fills a standard CBNT (ComBined NTuple) ntuple.
  • The user must override the following methods, /// otherwise the base class methods will be called - they do nothing:
>
>
  • fills the container of user preselected electrons in store gate
  • fills a standard (athena aware) CBNT (ComBined NTuple) ntuple.
  • The user must override the following methods, otherwise the base class methods will be called - they do nothing:
 
Added:
>
>
  • creates branches of a root tree and histograms for truth properties
  • for every particle the branches are filled
  • checks on datatype (data or MC with truth info)

  • doPreselection:
    • retrieve electron container, define iterators to electrons in event
    • does something complicated with McEventCollection, I think it fills a TruthContainer, loops over the electrons in one event, and fills truth branches
 

Macros

-- SarahHeim - 23 Feb 2010
Revision 5
24 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Where to find it (for now)

Line: 53 to 53
 
  1. The macros which plot/filter the variables in the ntuples

Athena code

  1. JobOptions
Added:
>
>
  • includes ntuple Maker
  • calls Algorithms CheckElectrons and gives variables to it
  • does something (outdated?) calling the trigger (switched off right now)
  • saves root histograms
 

  • special for real data => needs luminosity calculation
Line: 80 to 84
 

  • special for grid
  • special for local running
Changed:
<
<
>
>
  1. Algorithms a) DoParticle b) CheckElectron (relies on DoParticle)
  • cuts (input from JobOptions) right now: Eta<2.5, Et>1 GeV, deltaRmatch<0.1, EtCone20<1
  • fills the container of user pre selected electrons in store gate and
  • fills a standard CBNT (ComBined NTuple) ntuple.
  • The user must override the following methods, /// otherwise the base class methods will be called - they do nothing:
 

Macros

-- SarahHeim - 23 Feb 2010 \ No newline at end of file
Revision 4
23 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Where to find it (for now)

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

Where to find it (for now)

Line: 58 to 58
  => needs luminosity calculation => needs good run list (see here: https://twiki.cern.ch/twiki/bin/viewauth/Atlas/GoodRunsListsTutorial, it tells you to configure a good run list.xml file here: http://atlasdqm.cern.ch:8080/grl/) => important that only chosen (good) lumiblocks contribute to luminosity determination
Added:
>
>
=> luminosity determination also need trigger info (deadtime, prescales...https://twiki.cern.ch/twiki/bin/view/Atlas/CoolLumiCalcTutorial)
Easy to understand: just imagine you are interested in the prescaled process
 

# add LumiBlockMetaDataTool to ToolSvc and configure
Revision 2
23 Feb 2010 - Main.SarahHeim
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Where to find it (for now)

Line: 33 to 33
 

  1. After following README, throw most of the AnalysisExample out and copy P.-S.'s code over (src, share, header)
Added:
>
>

also copy requirements file
go to cmt, do source setup.sh and make
 

  1. Script to setup the environment each time you work :
Line: 44 to 46
  cmt show versions

SVN?

Added:
>
>

Datasets

 

Structure of analysis

The analysis consists of mainly two parts:
  1. The athena code, that uses ESD as input, filters for Zprime, and creates ntuples
  2. The macros which plot/filter the variables in the ntuples

Athena code

Added:
>
>
  1. JobOptions

  • special for real data => needs luminosity calculation => needs good run list (see here: https://twiki.cern.ch/twiki/bin/viewauth/Atlas/GoodRunsListsTutorial, it tells you to configure a good run list.xml file here: http://atlasdqm.cern.ch:8080/grl/) => important that only chosen (good) lumiblocks contribute to luminosity determination
    
    # add LumiBlockMetaDataTool to ToolSvc and configure
    from LumiBlockComps.LumiBlockCompsConf import LumiBlockMetaDataTool
    ToolSvc += LumiBlockMetaDataTool( "LumiBlockMetaDataTool" )
    LumiBlockMetaDataTool.calcLumi = True # False by default
    
    # add ToolSvc.LumiBlockMetaDataTool to MetaDataSvc
    from EventSelectorAthenaPool.EventSelectorAthenaPoolConf import MetaDataSvc
    svcMgr += MetaDataSvc( "MetaDataSvc" )
    svcMgr.MetaDataSvc.MetaDataTools += [ ToolSvc.LumiBlockMetaDataTool ]
    
    # Configure the goodrunslist selector tool
    from GoodRunsLists.GoodRunsListsConf import *
    ToolSvc += GoodRunsListSelectorTool() 
    GoodRunsListSelectorTool.GoodRunsListVec = [ 'My_goodruns.xml' ]
    ...

  • special for grid
  • special for local running
 

Macros

-- SarahHeim - 23 Feb 2010
 
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