StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StMuAnalysisMaker
muEventInfo.cc
1
/***************************************************************************
2
*
3
* $Id: muEventInfo.cc,v 1.1 2004/08/10 16:09:11 perev Exp $
4
*
5
* Author: Wei-Ming Zhang, KSU, Mar 2004
6
***************************************************************************
7
*
8
* Description: This is an example of a function which performs
9
* some simple analysis using MuDst
10
*
11
***************************************************************************
12
*
13
* $Log: muEventInfo.cc,v $
14
* Revision 1.1 2004/08/10 16:09:11 perev
15
* new GridCollector stuff
16
*
17
*
18
**************************************************************************/
19
#include "StMuDSTMaker/COMMON/StMuEvent.h"
20
21
static
const
char
rcsid[] =
"$Id: muEventInfo.cc,v 1.1 2004/08/10 16:09:11 perev Exp $"
;
22
23
void
muEventInfo(
StMuEvent
& event,
const
int
&nevents)
24
{
25
26
cout <<
"StMuAnalysisMaker, Reading Event: "
<< nevents
27
<<
" eventId: "
<<
event
.eventId()
28
<<
" Run: "
<<
event
.runId() << endl;
29
cout <<
"primary vertex: "
30
<<
event
.primaryVertexPosition() << endl;
31
cout <<
"refmult all, pos, and neg: "
32
<<
event
.refMult() <<
" "
33
<<
event
.refMultPos() <<
" "
34
<<
event
.refMultNeg() << endl;
35
}
StMuEvent
Definition:
StMuEvent.h:49
Generated by
1.8.5