| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

MixSimHit Class Reference

#include <MixSimHit.h>

Collaboration diagram for MixSimHit:

[legend]
List of all members.

Public Member Functions

 MixSimHit ()
 ~MixSimHit ()
void setHit (DayaBay::SimHit *simhit)

Public Attributes

DayaBay::SimHitsht
TimeStamp hitTime
double trivialtime

Friends

bool operator< (const MixSimHit &lmh, const MixSimHit &rmh)
bool operator!= (const MixSimHit &lmh, const MixSimHit &rmh)

Detailed Description

Definition at line 15 of file MixSimHit.h.


Constructor & Destructor Documentation

MixSimHit::MixSimHit (  )  [inline]

Definition at line 20 of file MixSimHit.h.

00021   {
00022     sht = 0;
00023     TimeStamp initime(0.0);
00024     hitTime     = initime;
00025     trivialtime = 0.0;
00026   }

MixSimHit::~MixSimHit (  )  [inline]

Definition at line 27 of file MixSimHit.h.

00027 {};


Member Function Documentation

void MixSimHit::setHit ( DayaBay::SimHit simhit  )  [inline]

Definition at line 29 of file MixSimHit.h.

00029 { sht = simhit; }


Friends And Related Function Documentation

bool operator< ( const MixSimHit lmh,
const MixSimHit rmh 
) [friend]

Definition at line 36 of file MixSimHit.h.

00037 { 
00038   return lmh.hitTime < rmh.hitTime ||
00039        ( lmh.hitTime == rmh.hitTime &&
00040          lmh.trivialtime < rmh.trivialtime );
00041 }

bool operator!= ( const MixSimHit lmh,
const MixSimHit rmh 
) [friend]

Definition at line 43 of file MixSimHit.h.

00044 { 
00045   return (lmh.hitTime != rmh.hitTime || lmh.trivialtime != rmh.trivialtime);
00046 }


Member Data Documentation

DayaBay::SimHit* MixSimHit::sht

Definition at line 31 of file MixSimHit.h.

TimeStamp MixSimHit::hitTime

Definition at line 32 of file MixSimHit.h.

double MixSimHit::trivialtime

Definition at line 33 of file MixSimHit.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:45:04 2011 for PreElecSimSvc by doxygen 1.4.7