Class Reference for E1039 Core & Analysis Software
Home page
Related Pages
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FilterSimEvent.cc
Go to the documentation of this file.
1
#include <
fun4all/Fun4AllReturnCodes.h
>
2
#include <
phool/getClass.h
>
3
#include <ktracker/SRecEvent.h>
4
#include "
FilterSimEvent.h
"
5
using namespace
std;
6
7
int
FilterSimEvent::Init
(
PHCompositeNode
* topNode)
8
{
9
return
Fun4AllReturnCodes::EVENT_OK
;
10
}
11
12
int
FilterSimEvent::InitRun
(
PHCompositeNode
* topNode)
13
{
14
srec = findNode::getClass<SRecEvent>(topNode,
"SRecEvent"
);
15
if
(!srec)
return
Fun4AllReturnCodes::ABORTEVENT
;
16
return
Fun4AllReturnCodes::EVENT_OK
;
17
}
18
19
int
FilterSimEvent::process_event
(
PHCompositeNode
* topNode)
20
{
21
if
(srec->getNDimuons() == 0)
return
Fun4AllReturnCodes::ABORTEVENT
;
22
return
Fun4AllReturnCodes::EVENT_OK
;
23
}
24
25
int
FilterSimEvent::End
(
PHCompositeNode
* topNode)
26
{
27
return
Fun4AllReturnCodes::EVENT_OK
;
28
}
FilterSimEvent::InitRun
int InitRun(PHCompositeNode *topNode)
Definition:
FilterSimEvent.cc:12
FilterSimEvent.h
Fun4AllReturnCodes::EVENT_OK
Definition:
Fun4AllReturnCodes.h:8
getClass.h
PHCompositeNode
Definition:
PHCompositeNode.h:14
FilterSimEvent::Init
int Init(PHCompositeNode *topNode)
Definition:
FilterSimEvent.cc:7
FilterSimEvent::process_event
int process_event(PHCompositeNode *topNode)
Definition:
FilterSimEvent.cc:19
FilterSimEvent::End
int End(PHCompositeNode *topNode)
Called at the end of all processing.
Definition:
FilterSimEvent.cc:25
Fun4AllReturnCodes.h
Fun4AllReturnCodes::ABORTEVENT
Definition:
Fun4AllReturnCodes.h:7
e1039-analysis
AnaSimDst
src
FilterSimEvent.cc
Built by
Haiwang Yu
. updated:
Wed May 26 2021 21:44:02
using
1.8.5 with
SeaQuest GitHub integration