CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

Definition at line 28 of file LHCTransportLink.h.

LHCTransportLink::LHCTransportLink ( )
inline

Definition at line 30 of file LHCTransportLink.h.

Member Function Documentation

int LHCTransportLink::afterHector ( ) const

Definition at line 11 of file LHCTransportLink.cc.

References afterHector_.

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

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

Definition at line 9 of file LHCTransportLink.cc.

References beforeHector_.

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

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

Definition at line 13 of file LHCTransportLink.cc.

References afterHector_, and beforeHector_.

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_.

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().