4 #include "marlin/Processor.h"
6 #include <EVENT/LCCollection.h>
7 #include <EVENT/MCParticle.h>
8 #include <EVENT/ReconstructedParticle.h>
9 #include <EVENT/LCRelation.h>
10 #include <UTIL/LCRelationNavigator.h>
11 #include "IMPL/LCCollectionVec.h"
12 #include <IMPL/ReconstructedParticleImpl.h>
13 #include <IMPL/ParticleIDImpl.h>
17 using namespace lcio ;
18 using namespace marlin ;
57 virtual void processRunHeader( LCRunHeader* run ) ;
61 virtual void processEvent( LCEvent * evt ) ;
64 virtual void check( LCEvent * evt) ;
71 void readback( LCEvent * evt);
78 std::string _MCParticleColllectionName{};
79 std::string _recoParticleCollectionName{};
80 std::string _recoMCTruthLink{};
82 std::string _trueJetCollectionName{};
83 std::string _finalColourNeutralCollectionName{};
84 std::string _initialColourNeutralCollectionName{};
85 std::string _trueJetPFOLink{};
86 std::string _trueJetMCParticleLink{};
87 std::string _finalElementonLink{};
88 std::string _initialElementonLink{};
89 std::string _finalColourNeutralLink{};
90 std::string _initialColourNeutralLink{};
97 void getPyjets(LCCollection* mcpcol);
98 void stdhep_reader_bug_workaround(
int line94 );
102 void assign_jet(
int jet1,
int jet2,
int this_fafp);
103 void first_parton(
int this_partic,
int this_jet,
int& first_partic,
int& last_94_parent,
int& nfsr,
int& info,
int& info2);
104 int flavour(
int k2) ;
147 MCParticleVec mcp_pyjets{};
152 int companion[4001]{};
189 int fafp_boson[26]{};
194 int dijet_begining[26]{};
197 double tmom[26][3]{};
201 int jets_begin[26][26]{};
204 int jets_end[26][26]{};
206 bool _whiz1 = false ;
207 bool _top_event = false ;
208 bool _higgs_to_glue_glue = false ;
Example processor for marlin.
virtual Processor * newProcessor()