#include "CPPFORT/lcrcp.h"#include "lcio.h"#include "IMPL/ReconstructedParticleImpl.h"#include "IMPL/VertexImpl.h"#include <iostream>Include dependency graph for lcrcp.cc:

Go to the source code of this file.
Functions | |
| PTRTYPE | lcrcpcreate () |
| int | lcrcpdelete (PTRTYPE recopart) |
| int | lcrcpid (PTRTYPE recopart) |
| int | lcrcpgettype (PTRTYPE recopart) |
| bool | lcrcpiscompound (PTRTYPE recopart) |
| int | lcrcpgetmomentum (PTRTYPE recopart, float *p) |
| float | lcrcpgetenergy (PTRTYPE recopart) |
| int | lcrcpgetcovmatrix (PTRTYPE recopart, float cvmtx[NCOVARIANCE]) |
| float | lcrcpgetmass (PTRTYPE recopart) |
| float | lcrcpgetcharge (PTRTYPE recopart) |
| int | lcrcpgetreferencepoint (PTRTYPE recopart, float refpoint[3]) |
| PTRTYPE | lcrcpgetparticleids (PTRTYPE recopart) |
| float | lcrcpgetgoodnessofpid (PTRTYPE recopart) |
| PTRTYPE | lcrcpgetparticles (PTRTYPE recopart) |
| PTRTYPE | lcrcpgetclusters (PTRTYPE recopart) |
| PTRTYPE | lcrcpgettracks (PTRTYPE recopart) |
| PTRTYPE | lcrcpgetstartvertex (PTRTYPE recopart) |
| PTRTYPE | lcrcpgetendvertex (PTRTYPE recopart) |
| int | lcrcpsettype (PTRTYPE recopart, int type) |
| int | lcrcpsetmomentum (PTRTYPE recopart, float p[3]) |
| int | lcrcpsetenergy (PTRTYPE recopart, float energy) |
| int | lcrcpsetcovmatrix (PTRTYPE recopart, float cvmtx[NCOVARIANCE]) |
| int | lcrcpsetmass (PTRTYPE recopart, float xmass) |
| int | lcrcpsetcharge (PTRTYPE recopart, float charge) |
| int | lcrcpsetreferencepoint (PTRTYPE recopart, float refpoint[3]) |
| int | lcrcpaddparticleid (PTRTYPE recopart, PTRTYPE pid) |
| int | lcrcpsetgoodnessofpid (PTRTYPE recopart, float good) |
| int | lcrcpaddparticle (PTRTYPE recopart, PTRTYPE particle) |
| int | lcrcpaddcluster (PTRTYPE recopart, PTRTYPE clus) |
| int | lcrcpaddtrack (PTRTYPE recopart, PTRTYPE track) |
| int | lcrcpsetstartvertex (PTRTYPE recopart, PTRTYPE vertex) |
| PTRTYPE lcrcpcreate | ( | ) |
| int lcrcpdelete | ( | PTRTYPE | recopart | ) |
| int lcrcpid | ( | PTRTYPE | recopart | ) |
| int lcrcpgettype | ( | PTRTYPE | recopart | ) |
| bool lcrcpiscompound | ( | PTRTYPE | recopart | ) |
| int lcrcpgetmomentum | ( | PTRTYPE | recopart, | |
| float * | p | |||
| ) |
| float lcrcpgetenergy | ( | PTRTYPE | recopart | ) |
| int lcrcpgetcovmatrix | ( | PTRTYPE | recopart, | |
| float | cvmtx[NCOVARIANCE] | |||
| ) |
Definition at line 52 of file lcrcp.cc.
00052 { 00053 ReconstructedParticleImpl* rcp = f2c_pointer<ReconstructedParticleImpl,LCObject>( recopart ) ; 00054 for( int i=0 ; i<NCOVARIANCE ; cvmtx[i] = rcp->getCovMatrix()[i++] ) ; 00055 return LCIO::SUCCESS ; 00056 }
| float lcrcpgetmass | ( | PTRTYPE | recopart | ) |
| float lcrcpgetcharge | ( | PTRTYPE | recopart | ) |
| int lcrcpgetreferencepoint | ( | PTRTYPE | recopart, | |
| float | refpoint[3] | |||
| ) |
| PTRTYPE lcrcpgetparticleids | ( | PTRTYPE | recopart | ) |
| float lcrcpgetgoodnessofpid | ( | PTRTYPE | recopart | ) |
| PTRTYPE lcrcpgetparticles | ( | PTRTYPE | recopart | ) |
| PTRTYPE lcrcpgetclusters | ( | PTRTYPE | recopart | ) |
| PTRTYPE lcrcpgettracks | ( | PTRTYPE | recopart | ) |
| PTRTYPE lcrcpgetstartvertex | ( | PTRTYPE | recopart | ) |
Definition at line 170 of file lcrcp.cc.
00170 { 00171 ReconstructedParticle* rcp = f2c_pointer<ReconstructedParticle,LCObject>( recopart ) ; 00172 Vertex* vtx = rcp->getStartVertex(); 00173 return reinterpret_cast<PTRTYPE>( vtx ); 00174 }
| PTRTYPE lcrcpgetendvertex | ( | PTRTYPE | recopart | ) |
Definition at line 176 of file lcrcp.cc.
00176 { 00177 ReconstructedParticle* rcp = f2c_pointer<ReconstructedParticle,LCObject>( recopart ) ; 00178 Vertex* vtx = rcp->getEndVertex(); 00179 return reinterpret_cast<PTRTYPE>( vtx ); 00180 }
| int lcrcpsettype | ( | PTRTYPE | recopart, | |
| int | type | |||
| ) |
| int lcrcpsetmomentum | ( | PTRTYPE | recopart, | |
| float | p[3] | |||
| ) |
| int lcrcpsetenergy | ( | PTRTYPE | recopart, | |
| float | energy | |||
| ) |
| int lcrcpsetcovmatrix | ( | PTRTYPE | recopart, | |
| float | cvmtx[NCOVARIANCE] | |||
| ) |
| int lcrcpsetmass | ( | PTRTYPE | recopart, | |
| float | xmass | |||
| ) |
| int lcrcpsetcharge | ( | PTRTYPE | recopart, | |
| float | charge | |||
| ) |
| int lcrcpsetreferencepoint | ( | PTRTYPE | recopart, | |
| float | refpoint[3] | |||
| ) |
| int lcrcpaddparticleid | ( | PTRTYPE | recopart, | |
| PTRTYPE | pid | |||
| ) |
| int lcrcpsetgoodnessofpid | ( | PTRTYPE | recopart, | |
| float | good | |||
| ) |
| int lcrcpaddparticle | ( | PTRTYPE | recopart, | |
| PTRTYPE | particle | |||
| ) |
Definition at line 246 of file lcrcp.cc.
00246 { 00247 ReconstructedParticleImpl* rcp = f2c_pointer<ReconstructedParticleImpl,LCObject>( recopart ) ; 00248 ReconstructedParticle* rparticle = f2c_pointer<ReconstructedParticle,LCObject>( particle ) ; 00249 rcp->addParticle( rparticle ) ; 00250 return LCIO::SUCCESS ; 00251 }
| int lcrcpaddcluster | ( | PTRTYPE | recopart, | |
| PTRTYPE | clus | |||
| ) |
| int lcrcpaddtrack | ( | PTRTYPE | recopart, | |
| PTRTYPE | track | |||
| ) |
| int lcrcpsetstartvertex | ( | PTRTYPE | recopart, | |
| PTRTYPE | vertex | |||
| ) |
1.4.7