CRUZET ANALYSIS

Links

set up the software environment and download the code

scramv1 project CMSSW CMSSW_2_0_7
cd CMSSW_2_0_7/src

project CMSSW
cvs co -d CaloOnlineTools/EcalTools UserCode/CCEcal/CRUZET2/CaloOnlineTools/EcalTools 
cvs co -d CRUZET/Calibration UserCode/Bicocca/CRUZET/Calibration
cvs co -d CRUZET/NTuplesTest UserCode/Bicocca/CRUZET/NTuplesTest
cvs co -r V03-01-03-01 TrackingTools/TrackAssociator

eval `scramv1 run -(c)sh`
scramv1 b

find the data

find the notes

activities

ntuples

type location at CERN notes
CRUZET3 /castor/cern.ch/user/m/mattia/50908Cosmic cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/m/mattia/50908Global global muons 2 legs
CRUZET3 /castor/cern.ch/user/m/mattia/50911Global global muons 2 legs
CRUZET3 /castor/cern.ch/user/m/mattia/51503Cosmic cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/m/mattia/51503Global global muons 2 legs
CRUZET3 /castor/cern.ch/user/m/mattia/allCRUZET3Global global muons 2 legs, all runs
CRUZET3 /castor/cern.ch/user/m/mattia/allCRUZET3Cosmic cosmic muons 2 legs, all runs WORK IN PROGRESS!
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_50908 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_50911 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_50914 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_51020 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_51047 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/C_51087 cosmic muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/50908 global muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/50911 global muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/50914 global muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/51020 global muons 2 legs
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/51047 global muons 2 legs EMPTY
CRUZET3 /castor/cern.ch/user/g/govoni/CRUZET/ntuples/51087 global muons 2 legs EMPTY

type location at MIB notes
CRUZET3 /gwtera2/users/govoni/CRUZET/50908Cosmic/ cosmic muons 2 legs
CRUZET3 /gwtera2/users/govoni/CRUZET/50908Global/ global muons 2 legs
CRUZET3 /gwtera2/users/govoni/CRUZET/CRUZET3/ cosmic muons 2 legs
CRUZET3 /gwtera2/users/govoni/CRUZET/CRUZET3/ global muons 2 legs

Merged and pre-selected ntuples

type run location at cmsmi3 notes
CRUZET3 51020 /data/cosmics/cloned_C_51020.root cosmic muons 2 legs
CRUZET3 51047 /data/cosmics/cloned_C_51047.root cosmic muons 2 legs
CRUZET3 51087 /data/cosmics/cloned_C_51087.root cosmic muons 2 legs

CVS Minimal guide

cvs co --> chekout
cvs ci -m "frase" nome_file --> commit

cvs update -A --> UPDATE libera dai tag e passa all'head
cvs update -d --> UPDATE scarica anche i files nuovi

cvs tag --> dà la stessa etichetta ai files
cvs add --> aggiunge al repository file nuovi, deve essere seguito da un commit (tranne che per le cartelle)

Come dividere i jobs e inviarli

in UserCode/Bicocca/CRUZET/Calibration/scripts, si trovano:

  • splitSource.pl lancia un job per root file, quindi produce una ntupla per root file
  • template.cfg cfg file usato come template da splitSource.pl
  • makeNtuples.CFG CFG file letto da splitSource per conoscere i parametri da utilizzare

Attenzione:

  • la cartella sources deve essere in AFS, perche' sia accessibile ai nodi
  • la cartella su CASTOR deve esistere
  • i vari cfg e job file non vanno cancellati prima del termine dell'esecuzione dei job
  • il file runXXXXX.list scritto in makeNtuples.CFG NON deve contenere apici o virgole

come preparare runXXXXX.list

  • preparare runXXXXX.cff contentente la lista di root file presi dal cff del dataset di interesse, evitando tutte le righe che non contengono il nome di un file di dati, togliendo le parentesi graffe
  • ripulire il cff file da virgole ed apici: cat runXXXXX.cff | tr "'" " " | tr "," " " > runXXXXX.list

What To Do And Understand

  • come mai la lunghezza in ECAL non ha entry lontano dalla direzione di provenienza dal pozzo?
  • Capire differenze nelle entries dei vari grafici
  • Inserire tag con il TrackAssociator
  • Capire perchè differenza tra DummySum e TkinEcalDetail / Approx è così marcata
  • Evitare che aveIeta e aveIphi abbiano 0 ove non c'è nessun evento
  • Capire perchè nella produzione di Ntuple diverse Ntuple vengono create male. Al momento della analisi le ntuple corrotte rispondono alla inclusione nella Tchain con "Cannot find tree with name EcalCosmicsAnalysis in file /castor/cern.ch/user/m/mattia/allCRUZET3/CRUZET3_207.tree.root"
  • Su altre ntuple nell'analisi compare Warning in <TCastorFile::Init>: file castor:///castor/cern.ch/user/m/mattia/allCRUZET3/CRUZET3_105.tree.root probably not closed, trying to recover
    Warning in <TCastorFile::Init>: no keys recovered, file has been made a Zombie
    Valutare l'ammontare di queste ntuple corrotte.
Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif Occupancy.gif r1 manage 22.7 K 2008-07-10 - 14:44 MattiaFumagalli  
Edit | Attach | Watch | Print version | History: r36 < r35 < r34 < r33 < r32 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r36 - 2009-02-05 - AndreaBenaglia
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback