BOSS
7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtStatus.hh
Go to the documentation of this file.
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
EvtStatus::rejectFlag
static int * rejectFlag()
Definition:
EvtStatus.hh:41
EvtStatus::setRejectFlag
static void setRejectFlag()
Definition:
EvtStatus.hh:39
EvtStatus::initRejectFlag
static void initRejectFlag()
Definition:
EvtStatus.hh:40
EvtStatus::getRejectFlag
static int getRejectFlag()
Definition:
EvtStatus.hh:42
source
Generator
BesEvtGen
BesEvtGen-00-04-26
src
EvtGen
EvtGenBase
EvtStatus.hh
Generated by
1.9.6