130 likes | 289 Views
Analysis Tools Tutorial: Introduction. Ketevi A. Assamagan CERN, September 20 th , 2004. Objective. Demonstrate how to use the Analysis EDM & Tools How to produce ESD How to produce AOD How to develop your analysis codes in ATHENA on AOD Available tools and how to use them
E N D
Analysis Tools Tutorial: Introduction Ketevi A. Assamagan CERN, September 20th, 2004
Objective • Demonstrate how to use the Analysis EDM & Tools • How to produce ESD • How to produce AOD • How to develop your analysis codes in ATHENA on AOD • Available tools and how to use them • Where to find documentation • Whom to contact for help • Get feedback from the users
Analysis EDM • The EDM classes are: • The basis of the AOD • User analysis data classes • You may extend these classes as necessary for you analysis
Accessing the Raw Data • You have to “talk to” StoreGate: const ElectronContainer* elecTES=0; sc=m_storeGate->retrieve(elecTES, m_electronContainerName); if( sc.isFailure() || !elecTES ) { mLog << MSG::WARNING << "No AOD electron container found in TDS" << endreq; return StatusCode::SUCCESS; } mLog << MSG::DEBUG << "ElectronContainer successfully retrieved" << endreq; • m_electronContainerName = the string key when the AOD electron container was created by the AOD electron builder. You need to know this key
Accessing the Raw Data • AOD container (or objet) keys std::string name Fast Simulation Full, Read Data, AtlfastElectonCollection ElectronCollection AtlfastMuonCollection MuonCollection AtlfastPhotonCollection PhotonCollection AtlfastParticleJetContainer ParticleJetCollection AtlfastTauJetContainer TauJetCollection AtlfastBJetContainer BCandidates AtlfastMissingEt MissingEtObj SpclMC SpclMC The Truth
Analysis Skeleton • CVS package UserAnalysis • It is a skeleton ATHENA algorithm • Sets up the requirements file • Some default job options files • The structure of the ATHENA algorithm • The objective: to allow the user to start developing analysis code without the overhead of the preliminary necessary setup
The Analysis Examples • Look in the CVS package AnalysisExamples • Current available examples: • How to do pre-selections and record containers of pre-selected objects in StoreGate, PIDinAOD_jobOptions.py • Zll (l=e,mu,tau) reconstruction: retrieve, from StoreGate, the pre-selected containers of Electron, Muon, TauJet, in addition to the Missing Et objects, and reconstruct Z’s as CompositeParticle, ZllExample_jobOptions.py • H4l (4e,4mu,2e2mu) reconstruction: retrieve, from StoreGate, the pre-selected containers of Electron, Muon, and reconstruct the Higgs as CompositeParticle of ZZ and the Z’s as CompositeParticle of ee or mumu, H4lExample_jobOptions.py • ttbar jjb lnub reconstruction: retrieve, from StoreGate, the containers of pre-selected Electron, Muon, BJet, ParticleJet, and MissingEt. Find the Neutrino pz from W mass constraint; return the container of Neutrino, reconstruction W lnu and Wjj as CompositeParticle, reconstruction tWb and tbarWb as CompositeParticle, ttbarExample_jobOptions.py • Demonstrate how to use AIDA histograms and CBNT-like ntuples in your analysis • Very modular analysis code
Available AOD Data in 8.7.0 • There some AOD data (DC2) available in /afs/cern.ch/user/k/ketevi/w0/aod: • Z ee • Zmm • Ztt • H4l (2e2m, 4e, 4m) • gg ttbar • The single PoolFileCatalog.xml for all the above is in the same directory mentioned above
Muon Analysis in AOD • H 4m and H 2e2m from DC2, 130 GeV H4m H4e H2e2m