CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 26 of file LHCTransportLink.h.

Constructor & Destructor Documentation

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

Definition at line 32 of file LHCTransportLink.h.

Member Function Documentation

int LHCTransportLink::afterHector ( ) const

Definition at line 13 of file LHCTransportLink.cc.

References afterHector_.

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

13  {
14  return afterHector_;
15 }
int LHCTransportLink::beforeHector ( ) const

Definition at line 9 of file LHCTransportLink.cc.

References beforeHector_.

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

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

Definition at line 17 of file LHCTransportLink.cc.

References afterHector_, and beforeHector_.

17  {
18  afterHector_ = 0;
19  beforeHector_ = 0;
20 }
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 45 of file LHCTransportLink.h.

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

int LHCTransportLink::beforeHector_
private

Definition at line 44 of file LHCTransportLink.h.

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