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() [1/2]

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

◆ LHCTransportLink() [2/2]

LHCTransportLink::LHCTransportLink ( )
inline

Definition at line 30 of file LHCTransportLink.h.

Member Function Documentation

◆ afterHector()

int LHCTransportLink::afterHector ( ) const

Definition at line 11 of file LHCTransportLink.cc.

References afterHector_.

Referenced by fill().

11 { return afterHector_; }

◆ beforeHector()

int LHCTransportLink::beforeHector ( ) const

Definition at line 9 of file LHCTransportLink.cc.

References beforeHector_.

Referenced by fill().

9 { return beforeHector_; }

◆ clear()

void LHCTransportLink::clear ( void  )

Definition at line 13 of file LHCTransportLink.cc.

References afterHector_, and beforeHector_.

13  {
14  afterHector_ = 0;
15  beforeHector_ = 0;
16 }

◆ fill()

void LHCTransportLink::fill ( int &  afterHector,
int &  beforeHector 
)

Member Data Documentation

◆ afterHector_

int LHCTransportLink::afterHector_
private

Definition at line 42 of file LHCTransportLink.h.

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

◆ beforeHector_

int LHCTransportLink::beforeHector_
private

Definition at line 41 of file LHCTransportLink.h.

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