LCFIVertex  0.7.2
vertex_lcfi/inc/lciointerface.h
1 #ifndef LCFILCIOINTERFACE_h
2 #define LCFILCIOINTERFACE_h 1
3 
4 #include "lcio.h"
5 #include <EVENT/ReconstructedParticle.h>
6 #include <IMPL/ReconstructedParticleImpl.h>
7 #include <EVENT/Track.h>
8 #include <EVENT/Vertex.h>
9 #include <IMPL/AccessChecked.h>
10 
11 #include <inc/track.h>
12 #include <inc/jet.h>
13 #include <inc/event.h>
14 #include <inc/vertex.h>
15 
16 using namespace lcio;
17 using namespace vertex_lcfi;
18 
19 namespace vertex_lcfi{
20 
21 vertex_lcfi::Track* trackFromLCIORP(Event* MyEvent,lcio::ReconstructedParticle* RP);
22 vertex_lcfi::Jet* jetFromLCIORP(Event* MyEvent,lcio::ReconstructedParticle* RP);
23 ReconstructedParticle* addDecayChainToLCIOEvent(LCEvent* MyLCIOEvent, DecayChain* MyDecayChain, std::string VertexCollectionName, std::string TrackRPCollectionName, bool StoreTrackChiSquareds=false);
24 DecayChain* decayChainFromLCIORP(Jet* MyJet, ReconstructedParticle* DecayChainRP);
25 lcio::Vertex* vertexFromLCFIVertex(vertex_lcfi::Vertex* MyLCFIVertex);
26 vertex_lcfi::Vertex* vertexFromLCIOVertex(lcio::Vertex* LCIOVertex, Event* MyEvent);
27 
28 class ReconstructedParticleLCFI : private IMPL::ReconstructedParticleImpl
29 {
30  public:
31  void removeParticle(EVENT::ReconstructedParticle* particle);
32  void wipePIDs();
33  void copyPIDsFrom(ReconstructedParticle* InputRP);
34  void makeWritable();
35 };
36 
37 
38 }
39 
40 #endif
Unique Track representation.