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
StarGenerator
EvtGen1_06_00
EvtGenBase
EvtStatus.hh
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtGen.hh
12
//
13
// Description:Main class to provide user interface to EvtGen.
14
//
15
// Modification history:
16
//
17
// RYD March 24, 1998 Module created
18
//
19
// DJL August 10, 1998 Additional Event member function added
20
//
21
// RYD December 25, 1999 Any application using EvtGen will need
22
// to instantiate an instance of this class
23
// and hold on to it untill done generating
24
// events. This class will now hold data used
25
// for the lifetime of the generator.
26
// Lange April 18, 2002 - split "status" info into own class
27
28
//------------------------------------------------------------------------
29
30
#ifndef EVTSTATUS_HH
31
#define EVTSTATUS_HH
32
33
34
class
EvtStatus
{
35
36
public
:
37
38
39
static
void
setRejectFlag() {
int
*temp=rejectFlag(); *temp=1;
return
;}
40
static
void
initRejectFlag() {
int
*temp=rejectFlag(); *temp=0;
return
;}
41
static
int
* rejectFlag() {
static
int
rejectEvent=0;
return
&rejectEvent;}
42
static
int
getRejectFlag() {
int
*temp=rejectFlag();
return
*temp;}
43
44
};
45
46
47
48
#endif
49
EvtStatus
Definition:
EvtStatus.hh:34
Generated by
1.8.5