EventDisplayTutorial: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
(Created page with "# REve/Mu2e Event Display ## Introduction The REve/Mu2e Event Display is useful for visualizing the data or MC you are analyzing. I have prepared two examples: 1) Visualiz...")
 
No edit summary
Line 1: Line 1:
# REve/Mu2e Event Display
== REve/Mu2e Event Display ==


## Introduction
## Introduction

Revision as of 16:13, 28 September 2023

REve/Mu2e Event Display

    1. Introduction

The REve/Mu2e Event Display is useful for visualizing the data or MC you are analyzing.

I have prepared two examples:

1) Visualize a CeEndpoint Mix sample 2) Visualize a Cosmic sample in Extracted mode

    1. Before you start

Clone Mu2e/REve: Look at the https://github.com/Mu2e/REve and clone this package into your working area and use muse build to build and compile the code.

Modify your .rootrc to the commands listed in the REve/README.md. Choose a number which is not 1234 (or let ROOT decide for you by not adding that part to the .rootrc).

    1. CeEndpoint

Look at the helix_example.fcl. If you are familar with Mu2e data products you will recognize the options you have to display.

      1. Task 1: View all products

Without altering the fcl run the following command:

``` mu2e -c REve/examples/helix_example.fcl /pnfs/mu2e/tape/phy-sim/mcs/mu2e/CeEndpointMix1BBSignal/MDC2020z_best_v1_1/art/01/94/mcs.mu2e.CeEndpointMix1BBSignal.MDC2020z_best_v1_1.001210_00000787.art ```

You should see a series of print statements and a pause. If you are on the FNAL site, open a browser on your local machine and copy the URL (something like http://localhost:3001/win1/) change this to something like (http://mu2egpvm02.fnal.gov:3001/win1/).

You should see an image of the CEEndpoint with pileup. By default the MC trajectory, KalSeed and CaloClusters and CaloCrystals are shown).

Hover over objects to find information about them. Use the "Next Event" to skip (do this slowly).

Once finished select the "Quit" button to exit.


    1. Extracted

During first data taking we will view cosmic muons in an extracted positon. Here the Calo and Tracker are outside the solenoids and a few sections of the CRV are placed above.

      1. Task 2: Viewing extracted cosmics