Tags:
create new tag
,
view all tags
---+ W + Jets Analysis ---+ %RED% This page is *obsolete* %ENDCOLOR% * First, set up CMSSW 1_6_0 as described in CMSSWinSprace * [[http://cmsdoc.cern.ch/~tomei/SPRACE/analysis_SPRACE.tar.gz][Download]] the tar.gz file that contains the relevant files, and unpack it somewhere. It automatically creates the =analysis_SPRACE= directory. You can also download it from the table at the botton of this page. * Create an EDAnalyzer called !VnjetAnalyzer (the name doesn't really matter, it's just to keep source file compatibility). From the =$CMSSW_BASE= dir (the =CMSSW_1_6_0= dir in this case), issue the following commands: <verbatim> $ mkdir VnjetAnalyzer $ cd VnjetAnalyzer $ mkedanlzr VnjetAnalyzer </verbatim> This creates the following directory hierarchy: <center> <img src="/twiki/pub/Images/VnjetAnalyzer_hyerarchy.png" alt="Fig.1"/> </center> * Copy the EDAnalyzer (in our case, the =VnjetAnalyzer.cc= source file) from =analysis_SPRACE= to the =src= directory - overwriting the one you just created. Study the structure of the file, and how it uses the Analysis Tools, especially the Candidate Model. For more information, check the [[https://twiki.cern.ch/twiki/bin/view/CMS/WorkBookIntroAnalTools][CMS Workbook in Analysis Tools]]. Also, copy the =BuildFile= to the (deeper) =VnjetAnalyzer= directory. (When we refer to the =VnjetAnalyzer= directory, it is always the deeper one.) * Issue the =scramv1 b -r= command to compile the EDAnalyzer - it should compile fine. If it does not, you probably misplaced the =BuildFile=. Correct the mistake and issue the command again. The =-r= option tells the =scramv1 b= command to reread all files - if the =BuildFile= has not changed, it is usually safe to skip that option. * The files =alpgenw0j_official.root=, =alpgenw1j_official.root=, etc. are, in fact, symbolic links to files which contain a fraction of the events produced by the ALPGEN matrix-element generator with those parton multiplicities (w+1 parton, w+2 partons, etc.). Those events are subject to parton showering and hadronization by PYTHIA, full event simulation by GEANT4, digitization and reconstruction. In this tutorial, we are going to work with the very first link in that chain - the partons produced after the hard interaction. See to where those links are pointing, and make corresponding links (same names!) in the =VnjetAnalyzer= directory. * Copy the *Configuration Files* =w0.cfg=, =w1.cfg= to the =VnjetAnalyzer= directory. These Configuration Files accomplish the following tasks: scan through each Event in the source, select all partons, create parton-level jets ("clusters") with a given cone radius (default is 0.5), cut on the pt of the jets (default is 20 !GeV), and produce a series of histograms. Let's focus our attention in two particular histograms: "totalJets", with the number of jets per Event, and "pt_tJets" with the cumulative pt distribution of jets for all Events. Each .cfg is linked to one parton multiplicity, and produces a ROOT file named =wnj_ic_pt20_R05.root=, with n the same as in the .cfg file. * Copy this ROOT macro: =group.C= to the main directory. What this macro does is to group all the ROOT files produced by the .cfg files in a single ROOT file. It also sums the histograms for number of jets per Event and cumulative pt distribution in both exclusive and inclusive ways. For instance, in the "nexclusive" histogram which is created, each bin corresponds to the number of Events that have EXACTLY that number of jets. (There is also a luminosity scale factor involved, so that for a given .cfg file the "totalJets" histogram corresponds to 100/pb). The "ninclusive" histogram works in a similar fashion, except that each bin corresponds to the number of Events that have AT LEAST that number of jets. * Run all the Configuration Files: =cmsRun w0.cfg=, etc. This will produce the =wnj_ic_pt20_R05.root= files. * Run the ROOT macro: =root -l -q group.C=. This will produce the "allw_ic_pt20_R05.root" file. * Open the resulting file with ROOT: =root -l allw_ic_pt20_R05.root=, and select the "nexclusive" histogram. Plot it in log scale to see that the log of number of events with n jets is a linear function of n. That is because the cross-section for n jets scales as =a^n=, where =a= is the strong coupling constant, ("alpha_strong"). If one now fits a linear function to that histogram, the slope should be =ln a=. It works similarly for the "ninclusive" histogram. -- Main.ThiagoTomei - 16 Nov 2007 * [[%ATTACHURL%/analysis_SPRACE.tar.gz][analysis_SPRACE.tar.gz]]: Archive containing the files for the tutorial.
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
gz
analysis_SPRACE.tar.gz
r1
manage
8.4 K
2007-11-16 - 13:53
ThiagoTomei
Archive containing the files for the tutorial.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r10
<
r9
<
r8
<
r7
<
r6
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r10 - 2008-04-15
-
ThiagoTomei
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback