CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
LHCTransportLink Class Reference

#include <SimG4CMS/Forward/interface/LHCTransportLink.h>

Public Member Functions

int afterHector () const
 
int beforeHector () const
 
void clear ()
 
void fill (int &afterHector, int &beforeHector)
 
 LHCTransportLink (int &beforeHector, int &afterHector)
 
 LHCTransportLink ()
 

Private Attributes

int afterHector_
 
int beforeHector_
 

Detailed Description

Description: correspondence link between barcodes for GenParticle transported by Hector and original ones

Usage: in SimTrack creation when the Hector beam transport is used

Definition at line 25 of file LHCTransportLink.h.

Constructor & Destructor Documentation

LHCTransportLink::LHCTransportLink ( int &  beforeHector,
int &  afterHector 
)
inlineexplicit
LHCTransportLink::LHCTransportLink ( )
inline

Definition at line 30 of file LHCTransportLink.h.

References afterHector(), beforeHector(), clear(), and fill().

Member Function Documentation

int LHCTransportLink::afterHector ( ) const

Definition at line 11 of file LHCTransportLink.cc.

References afterHector_.

Referenced by fill(), LHCTransportLink(), and operator<<().

11 { return afterHector_; }
int LHCTransportLink::beforeHector ( ) const

Definition at line 9 of file LHCTransportLink.cc.

References beforeHector_.

Referenced by fill(), LHCTransportLink(), and operator<<().

9 { return beforeHector_; }
void LHCTransportLink::clear ( void  )

Definition at line 13 of file LHCTransportLink.cc.

References afterHector_, and beforeHector_.

Referenced by LHCTransportLink().

13  {
14  afterHector_ = 0;
15  beforeHector_ = 0;
16 }
void LHCTransportLink::fill ( int &  afterHector,
int &  beforeHector 
)

Definition at line 4 of file LHCTransportLink.cc.

References afterHector(), afterHector_, beforeHector(), and beforeHector_.

Referenced by LHCTransportLink().

Member Data Documentation

int LHCTransportLink::afterHector_
private

Definition at line 42 of file LHCTransportLink.h.

Referenced by afterHector(), clear(), and fill().

int LHCTransportLink::beforeHector_
private

Definition at line 41 of file LHCTransportLink.h.

Referenced by beforeHector(), clear(), and fill().