MCTree.cxx File Reference

#include "MCTree.h"
#include <Midad/Gui/GuiTree.h>
#include <Midad/Base/Mint.h>
#include <Midad/Base/Jint.h>
#include <MinosObjectMap/MomNavigator.h>
#include <Record/SimSnarlRecord.h>
#include <TParticle.h>
#include <TClonesArray.h>
#include <string>
#include <sigc++/sigc++.h>
#include "pdg_kludge.h"

Go to the source code of this file.

Functions

static const char * tool_tip (TParticle *p)
static void bark (TParticle *p)

Function Documentation

static void bark ( TParticle *  p  )  [static]

Definition at line 57 of file MCTree.cxx.

References tool_tip().

Referenced by MCTree::AddSimSnarl().

00058 {
00059     cerr << tool_tip(p) << endl;
00060 }

static const char* tool_tip ( TParticle *  p  )  [static]

Definition at line 49 of file MCTree.cxx.

References Form().

Referenced by MCTree::AddSimSnarl(), and bark().

00050 {
00051     return Form("%s: Vtx=(%.2f,%.2f,%.2f,%.2f),  P=(%.2f,%.2f,%.2f,%.2f)",
00052                 p->GetName(),
00053                 p->Vx(),p->Vy(),p->Vz(),p->T(),
00054                 p->Px(),p->Py(),p->Pz(),p->Energy());
00055 }


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1