9 #ifndef FASTJETPROCESSOR_H_
10 #define FASTJETPROCESSOR_H_
12 #include "EClusterMode.h"
14 #include "marlin/Processor.h"
15 #include "marlin/VerbosityLevels.h"
16 #include "EVENT/LCCollection.h"
17 #include "EVENT/ReconstructedParticle.h"
18 #include "IMPL/LCCollectionVec.h"
19 #include "LCIOSTLTypes.h"
21 #include <fastjet/PseudoJet.hh>
22 #include <fastjet/JetDefinition.hh>
29 typedef std::vector< fastjet::PseudoJet > PseudoJetList;
39 virtual Processor* newProcessor() {
56 virtual void check(LCEvent * ) {};
67 std::string _lcParticleInName;
68 std::string _lcParticleOutName;
69 std::string _lcJetOutName;
71 EVENT::ReconstructedParticle* getRecPar(fastjet::PseudoJet& fj,
const PseudoJetList& constituents);
73 LCCollection* _reconstructedPars;
77 int _statsNrSkippedEmptyEvents;
78 int _statsNrSkippedFixedNrJets;
79 int _statsNrSkippedMaxIterations;
80 bool _storeParticlesInJets;
90 std::ostream& operator<<(std::ostream& out, EClusterMode& m);
virtual void end()
Called after data processing for clean up.
Definition: FastJetUtil.h:66
virtual void init()
Called at the begin of the job before anything is read.
virtual void processRunHeader(LCRunHeader *)
Called for every run.
Definition: FastJetProcessor.h:50
virtual void processEvent(LCEvent *evt)
Called for every event - the working horse.
Definition: FastJetProcessor.h:33