Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
SOFTWARE TUTORIAL - PART 2
Susan Lein
University of Minnesota
June 14, 2011
1 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 1 / 18
RUNNING JOBS
You need to be in a place with write permissions that is properlysourced, etc. (often your test release)Then use the following command:
nova −c your job . f c l −s f i l e . r oo t−o o u t p u t f i l e . r oo t−T outpu t h is tograms . roo t
The command lists extra option you can use if you want - THESEARE ALL ON ONE LINE!!!-o specifies the name of the output file-T specifies the name of the output histograms (if there are any)Seehttps://cdcvs.fnal.gov/redmine/projects/novaart/wiki/Running_the_EventDisplay
for more options
2 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 2 / 18
RUNNING JOBS
your job . f c l
is going to change depending what you are trying to doTo run CalHit, for example, use
c a l h i t j o b . f c l
To run DAQ2RawDigit, use
daq2rawd ig i t j ob . f c l
For whatever package you are going to use, there is probably afile named
packagejob . f c l
When properly sourced, the fcl file used will be: first, if it can find itin your test release job directory, then anywhere in your testrelease, then job directory of cvs, then anywhere in cvs.
3 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 3 / 18
EVENT DISPLAY
You need to be properly sourcedThen use the following command:
nova −c evd . f c l −s f i l e . r oo t
This will pop up the evd window.
4 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 4 / 18
EVENT DISPLAY
5 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 5 / 18
EVENT DISPLAY
To show hits colored by time, not by charge as default, go to EditChoose RawDrawingOptionsSwitch ColorShowsCharge to 0 and ColorShowsTime to 1Then hit ApplyRawDrawingOptions has other options as well - you won’t oftenneed them
6 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 6 / 18
EVENT DISPLAY
7 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 7 / 18
EVENT DISPLAY
To zoom in time (same as for charge) move cursor under timedistribution horizontal axisCursor should look like a little handClick at left boundary desired, hold, and unclick at right boundaryAfter distribtion rescales, must press Reload at top of windowNow hits outside of that time window are grey and hits withinrecoloredTo undo this, hover mouse in same place as before, right click,and choose UnZoom and then Reload again.
8 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 8 / 18
EVENT DISPLAY
9 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 9 / 18
EVENT DISPLAY
Next we might want to draw clusters, prongs, etc.Under Edit, choose RecoDrawingOptionsIf you wanted to draw Slices, you need to change ClusterModulesto “slicer”For whatever other object you would want to draw, change thename under ClusterModules or ProngModules orwhat-ever-thing-it-is-Modules to the name of the moduleUnder DrawClusters, set it to 2Hit ApplyYou can also set DrawClusters to 1 for a different type of display(this is often used with ClusterMaker clusters, etc.Again, if you are drawing prongs, etc, change the numbercorresponding to the correct option.
10 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 10 / 18
EVENT DISPLAY
11 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 11 / 18
EVENT DISPLAY
12 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 12 / 18
EVENT DISPLAY
Under Edit you can find other options as wellThe GeometryDrawingOptions is a bit esotericUnder SimulationDrawingOptions you can turn on MC truthinformation if you have a MC fileSet ShowMCTruthText to 1 to show interaction typeSet ShowMCTruthVectors to 1 to show initial momentum vectorsof the particles
13 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 13 / 18
EVENT DISPLAY
What if you hate the defaults and have to always waste time in themenus changing things to how you like it?Check out the EventDisplay package into your test releaseLook at the file
evd serv ices . f c l
This basicially reproduces all the menus under EditChange here the values as you would like them to be set asdefault in exactly the same way you would change them in themenuThis file has decent comments so if unsure what menu optionmeans, you can look in this fileBuild your release and you will be a happy camper!
14 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 14 / 18
EVENT DISPLAY
15 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 15 / 18
EVENT DUMP
You can use an event dump to see what has been done to theevents in your fileUse the command
nova −c eventdump . f c l −s f i l e . r oo t
It will process the first ten events in the file by default. You onlyneed to pay attention to the first record.For the following slide, you can see that the raw to root conversionhas happened, as well as calhit and slicer having been run overthe file
16 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 16 / 18
EVENT DUMP
17 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 17 / 18
RECO CHAIN
Raw files are spit out of the daq systemThese are converted into root files - daq2rawdigitjob.fclThen you have a few options. You can run cana right away -canajob.fcl. This analyzes neutrinos in a rough manner.Otherwise, on standard reconstruction path, run CalHits (tocalibrate the raw digits) and Slicer (slices events in time). This isdone using calhitsjob.fcl and slicerjob.fclThen you can choose - run CosmicTrack or KalmanTrack orClusterMaker or whatever analysis package you are working withMany of these steps are automatically processed by Jarek so youdon’t need to do it yourself.
18 / 18 Lein (UMN) Software Tutorial - part 2 June 14, 2011 18 / 18