/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/lcio/src/cpp/src/CPPFORT/lctph.cc File Reference

#include "CPPFORT/lctph.h"
#include "lcio.h"
#include "IMPL/TPCHitImpl.h"

Include dependency graph for lctph.cc:

Go to the source code of this file.

Functions

PTRTYPE lctphcreate ()
int lctphdelete (PTRTYPE hit)
int lctphid (PTRTYPE hit)
int lctphgetcellid (PTRTYPE hit)
float lctphgettime (PTRTYPE hit)
float lctphgcharge (PTRTYPE hit)
int lctphgetquality (PTRTYPE hit)
int lctphgetnrawdatawords (PTRTYPE hit)
int lctphgetrawdataword (PTRTYPE hit, int i)
int lctphsetcellid (PTRTYPE hit, int id)
int lctphsettime (PTRTYPE hit, float t)
int lctphsetcharge (PTRTYPE hit, float c)
int lctphsetquality (PTRTYPE hit, int q)
int lctphsetrawdata (PTRTYPE hit, int *rawData, int size)


Function Documentation

PTRTYPE lctphcreate (  ) 

Definition at line 8 of file lctph.cc.

00008                      {
00009   TPCHitImpl* hit = new TPCHitImpl ;
00010   return C2F_POINTER( LCObject*, hit ) ;
00011 }

int lctphdelete ( PTRTYPE  hit  ) 

Definition at line 13 of file lctph.cc.

00013                               {
00014   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00015   delete tph ;
00016   return LCIO::SUCCESS ;
00017 }

int lctphid ( PTRTYPE  hit  ) 

Definition at line 19 of file lctph.cc.

00019                             {
00020   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00021   return tph->id() ;
00022 }

int lctphgetcellid ( PTRTYPE  hit  ) 

Definition at line 24 of file lctph.cc.

00024                                  {
00025   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00026   return tph->getCellID() ;
00027 }

float lctphgettime ( PTRTYPE  hit  ) 

Definition at line 28 of file lctph.cc.

00028                                  {
00029   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00030   return tph->getTime() ;
00031 }

float lctphgcharge ( PTRTYPE  hit  ) 

Definition at line 33 of file lctph.cc.

00033                                  {
00034   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00035   return tph->getCharge() ;
00036 }

int lctphgetquality ( PTRTYPE  hit  ) 

Definition at line 37 of file lctph.cc.

00037                                    {
00038   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00039   return tph->getQuality() ;
00040 }

int lctphgetnrawdatawords ( PTRTYPE  hit  ) 

Definition at line 42 of file lctph.cc.

00042                                          {
00043   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00044   return tph->getNRawDataWords() ;
00045 }

int lctphgetrawdataword ( PTRTYPE  hit,
int  i 
)

Definition at line 46 of file lctph.cc.

00046                                              {
00047   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00048   return tph->getRawDataWord( i-1 ) ;
00049 }

int lctphsetcellid ( PTRTYPE  hit,
int  id 
)

Definition at line 52 of file lctph.cc.

00052                                          {
00053   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00054   tph->setCellID( id ) ;
00055   return LCIO::SUCCESS ;
00056 }

int lctphsettime ( PTRTYPE  hit,
float  t 
)

Definition at line 57 of file lctph.cc.

00057                                         {
00058   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00059   tph->setTime( t ) ;
00060   return LCIO::SUCCESS ;
00061 }

int lctphsetcharge ( PTRTYPE  hit,
float  c 
)

Definition at line 62 of file lctph.cc.

00062                                           {
00063   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00064   tph->setCharge( c ) ;
00065   return LCIO::SUCCESS ;
00066 }

int lctphsetquality ( PTRTYPE  hit,
int  q 
)

Definition at line 67 of file lctph.cc.

00067                                          {
00068   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00069   tph->setQuality( q ) ;
00070   return LCIO::SUCCESS ;
00071 } 

int lctphsetrawdata ( PTRTYPE  hit,
int *  rawData,
int  size 
)

Definition at line 72 of file lctph.cc.

00072                                                           {
00073   TPCHitImpl* tph = f2c_pointer<TPCHitImpl,LCObject>( hit ) ;
00074   tph->setRawData( rawData, size ) ;
00075   return LCIO::SUCCESS ;
00076 }


Generated on Mon Jan 7 13:16:39 2013 for MicromegasFramework by  doxygen 1.4.7