All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
SelectReconstructedParticle.h
Go to the documentation of this file.
1
#ifndef SelectReconstructedParticle_h
2
#define SelectReconstructedParticle_h 1
3
4
#include "marlin/Processor.h"
5
#include "lcio.h"
6
#include <string>
7
8
9
using namespace
lcio ;
10
using namespace
marlin ;
11
12
13
14
/** Processor for marlin selecting reconstructed particle for further use.
15
*/
16
class
SelectReconstructedParticle
:
public
Processor {
17
18
public
:
19
20
virtual
Processor*
newProcessor
() {
return
new
SelectReconstructedParticle
;}
21
22
23
SelectReconstructedParticle
() ;
24
25
/** Called at the begin of the job before anything is read.
26
* Use to initialize the processor, e.g. book histograms.
27
*/
28
virtual
void
init() ;
29
30
/** Called for every run.
31
*/
32
virtual
void
processRunHeader( LCRunHeader* run ) ;
33
virtual
void
modifyRunHeader
( LCRunHeader*
/*run*/
) {}
34
35
/** Called for every event - the working horse.
36
*/
37
virtual
void
processEvent( LCEvent * evt ) ;
38
virtual
void
modifyEvent
( LCEvent *
/*evt*/
) {}
39
40
41
42
43
/** Called after data processing for clean up.
44
*/
45
virtual
void
end() ;
46
47
protected
:
48
49
/** Input and output collection name.
50
*/
51
52
std::string _inputCollectionName{};
53
std::string _outputCollectionName{};
54
float
_minimumMomentum{};
55
56
} ;
57
58
#endif
SelectReconstructedParticle::modifyEvent
virtual void modifyEvent(LCEvent *)
Definition:
SelectReconstructedParticle.h:38
SelectReconstructedParticle
Processor for marlin selecting reconstructed particle for further use.
Definition:
SelectReconstructedParticle.h:16
SelectReconstructedParticle::newProcessor
virtual Processor * newProcessor()
Definition:
SelectReconstructedParticle.h:20
SelectReconstructedParticle::modifyRunHeader
virtual void modifyRunHeader(LCRunHeader *)
Definition:
SelectReconstructedParticle.h:33
Analysis
EventShapes
include
SelectReconstructedParticle.h
Generated on Tue Mar 29 2022 10:09:41 by
1.8.5