Difference: MuCapPKSomeNotes (7 vs. 8)

Revision 82009-10-02 - PeterKammel

Line: 1 to 1
 
META TOPICPARENT name="MuCapPKMu"
-- PeterKammel - 28 Apr 2009

Program documentation

Line: 12 to 12
  Turn off event display in odb, if not runing with -g flag.

mta

Added:
>
>

Event display

 
Changed:
<
<
Event display
>
>
I changed uncomment to this
 
Changed:
<
<
# uncomment the next 3 lines ONLY if you are running the event display
#UIUC_CFLAGS += -DEVENTDISPLAY
#SOURCES += EventDisplayTrigger.C
#HEADERS += EventDisplayTrigger.h
>
>
# uncomment the next 3 lines ONLY if you are running the event display



ifdef EVENTDISPLAY



UIUC_CFLAGS += -DEVENTDISPLAY



SOURCES += EventDisplayTrigger.C



HEADERS += EventDisplayTrigger.h







# show analysis objects on display (line fit to MuStop, stop point)



UIUC_CFLAGS += -DANASHAPES



UIUC_CFLAGS += -DMUDISPAUX



endif

and then changed in EventDisplayTrigger.C

#ifdef EVENTDISPLAY



TClonesArray &muons = *(event->GetMuons());



int nmu = event->GetNmuon(); int code = 0;



if(muon->TpcPixelListIsStored()) {



DisplayData(muon->GetT() - 5000., muon->GetT() + 35000.);



if(IsQuitRequest()) break; // break out of imu loop }
Brendan probably has turned the #ifdef EVENTDISPLAY off, because he used the DisplayData function directly from his analysis modules.
 

Analyses

 
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