/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4HistoryUserTrackInfo.h
Go to the documentation of this file.
00001 #ifndef G4HISTORYUSERTRACKINFO_H
00002 #define G4HISTORYUSERTRACKINFO_H
00003 
00008 
00009 #include "G4VUserTrackInformation.hh"
00010 #include "Event/SimVertexReference.h"
00011 #include "Event/SimTrackReference.h"
00012 #include "G4DataHelpers/G4CompositeTrackInfo.h"
00013 
00014 class G4HistoryUserTrackInfo : public G4VUserTrackInformation
00015 {
00016   public:
00017   G4HistoryUserTrackInfo() {};
00018   G4HistoryUserTrackInfo(DayaBay::SimVertexReference v,
00019                          DayaBay::SimTrackReference  t,
00020                          int parentPdg)
00021       : mVertexAncestor(v)
00022       , mTrackAncestor(t)
00023       , mParentPdg(parentPdg) {};
00024     
00025   virtual ~G4HistoryUserTrackInfo() {};
00026 
00027   virtual void Print() const {}; //Feh.
00028 
00029   const DayaBay::SimVertexReference& vertex() const { return mVertexAncestor;};
00030   const DayaBay::SimTrackReference&  track() const { return mTrackAncestor; };
00031   int                                     parentPdg() const { return mParentPdg; };
00032 
00033   private:
00034     DayaBay::SimVertexReference mVertexAncestor;
00035     DayaBay::SimTrackReference  mTrackAncestor;
00036     int                              mParentPdg;
00037 };
00038 
00039 
00040 #endif /* G4HISTORYUSERTRACKINFO_H */
00041 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:18:33 for Historian by doxygen 1.7.4