SimAfterpulseModel Class Reference

#include <SimAfterpulseModel.h>

List of all members.

Public Member Functions

 SimAfterpulseModel (TRandom *random=gRandom)
virtual ~SimAfterpulseModel ()
void Reset (const VldContext &cx)
void Print (Option_t *="") const
void PrintConfig (Option_t *="")
void Config (const Registry &)
virtual Float_t ComputeAfterpulseProb (PlexPixelSpotId, Float_t)
virtual void ComputeAfterpulsePixelAndTime (const PlexPixelSpotId &inPsid, Double_t inTime, PlexPixelSpotId &outPsid, Double_t &outTime)

Detailed Description

Definition at line 10 of file SimAfterpulseModel.h.


Constructor & Destructor Documentation

SimAfterpulseModel::SimAfterpulseModel ( TRandom *  random = gRandom  ) 
virtual SimAfterpulseModel::~SimAfterpulseModel (  )  [virtual]

Member Function Documentation

virtual void SimAfterpulseModel::ComputeAfterpulsePixelAndTime ( const PlexPixelSpotId inPsid,
Double_t  inTime,
PlexPixelSpotId outPsid,
Double_t &  outTime 
) [inline, virtual]

Definition at line 29 of file SimAfterpulseModel.h.

References MuELoss::e.

Referenced by SimPmt::SimulateAfterpulsing().

00033                                                                        {
00034     // Stupid version: same place, add 3 us.
00035     outPsid = inPsid;
00036     outTime = inTime + 3e-6;
00037   };

virtual Float_t SimAfterpulseModel::ComputeAfterpulseProb ( PlexPixelSpotId  ,
Float_t   
) [inline, virtual]

Definition at line 22 of file SimAfterpulseModel.h.

Referenced by SimPmt::SimulateAfterpulsing().

00024   {
00025     // Stupid version: 3% afterpulseing
00026     return 0.03;
00027   };

void SimAfterpulseModel::Config ( const Registry  ) 
void SimAfterpulseModel::Print ( Option_t *  = ""  )  const [inline]

Definition at line 17 of file SimAfterpulseModel.h.

00017 {};

void SimAfterpulseModel::PrintConfig ( Option_t *  = ""  ) 
void SimAfterpulseModel::Reset ( const VldContext cx  ) 

The documentation for this class was generated from the following file:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1