Questa pagina contiene rough instructions per l'analisi di Z+jets a CMS Fi
Last update 25.11.10

Theses, Talks, Notes

FWlite and Pattuple (continously updated)


Other Useful links:

Cose piu' specifiche per l'analisi (UNDER CONSTRUCTION)

Physics Analysis Tools Instructions


PAT Tutorial

Where to find the MC files

The status of MC files can be found here . Go to DBS , click on Navigator, copy the string corresponding to the MC files.

How to run on Grid (UNDER CONSTRUCTION)

The first time:

For all other times:

In case of output file on castor, it can first be checked with
rfdir /castor/cern.ch/user/e/egallo/Zmumu/
to see if it is really there. It can be opened in root, as an example, as:
TFile *_file0 = TFile::Open("rfio:/castor/cern.ch/user/e/egallo/Zmumu/PATLayer1_Output.fromAOD_full_1.root")
To try:
crab -copyData [range -dest_se=the official SE name or -dest_endpoint=the
complete endpoint of the remote SE]

       Option that can be used only if your output have been previously
copied by CRAB on a remote SE.  By default the copyData copies your output
       from the remote SE locally on the current CRAB working directory
(under res). Otherwise you can copy the output from the remote SE to
       another one, specifying either -dest_se=
or -dest_endpoint=. If dest_se is
       used, CRAB finds the correct path where the output can be stored.

       Example: crab -copyData  --> output copied to crab_working_dir/res
directory
                crab -copyData -dest_se=T2_IT_Legnaro -->  output copied to
the legnaro SE, directory discovered by CRAB
                crab -copyData
-dest_endpoint=srm://:8443/xxx/yyyy/zzzz --> output copied to the
se  under
                /xxx/yyyy/zzzz directory.




The stuff below is older

Plots until Apr09
Plots after Apr09

Files for signal MC , Files for background MC
Firenze's ntuple from PATtuples

Piccolo Help per iniziare


da Didar 17.01.08

su lxplus, LA PRIMA VOLTA:


scramv1 project CMSSW CMSSW_1_6_7
                                                                                
cd CMSSW_1_6_7/src
eval `scramv1 runtime -csh`
cmscvsroot CMSSW
cvs login
***********************************************************
Logging in to
:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW
CVS password: ********
***********************************************************

mkdir mydirectory  (un nome qualsiasi)
cd mydirectory
mkedanlzr Jet   (ad esempio, nome del mio analyzer)


Questo corrisponde al'installazione della software version 1_6_7. (More about l'analyzer )

PER TUTTE LE ALTRE VOLTE, basta fare:

eval `scramv1 runtime -csh`
cmscvsroot CMSSW
cd src/mydirectory/Jet/src   (lo user code e' in Jet.cc)
(More about scram )
Il file Jet.cc generato automaticamente e' fatto piu' o meno cosi' .
Un esempio piu' sofisticato preparato da Didar per me e che calcola un po' di variabili per jets e muoni puo' essere trovato qui . Per compilarlo sostituire il file BuildFile in Jet con questo .

Per COMPILARE:

cd ~/work/CMSSW_1_6_7/src/mydirectory/Jet
scramv1 b
Per RUNNARE bisogna prima modificare il file Jet.cfg, che e' il file di configurazione (more about configuration files) con control cards etc. Va modificato mettendo i files di input etc., il numero di eventi, etc. Un esempio che runna su files di MC Z+3jets con 10 eventi puo' essere trovato qui . I files MC possono essere trovati su questa pagina (la versione CMSSW_1_5_2 e' recommended da Didar). Per RUNNARE (cmsRun e' il nome dell'eseguibile):
cd  ~/work/CMSSW_1_6_7/src/mydirectory/Jet
cmsRun Jet.cfg
cmsRun ci mette un po' e crea in questo esempio un file root con 10 eventi e un po' di variabili in default-filename.root.