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 ()
 
 LHCTransportLink (int &beforeHector, int &afterHector)
 

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

Definition at line 28 of file LHCTransportLink.h.

◆ LHCTransportLink() [2/2]

LHCTransportLink::LHCTransportLink ( )
inline

Definition at line 30 of file LHCTransportLink.h.

30 : beforeHector_(0), afterHector_(0){};

Member Function Documentation

◆ afterHector()

int LHCTransportLink::afterHector ( ) const

Definition at line 11 of file LHCTransportLink.cc.

11 { return afterHector_; }

References afterHector_.

Referenced by fill().

◆ beforeHector()

int LHCTransportLink::beforeHector ( ) const

Definition at line 9 of file LHCTransportLink.cc.

9 { return beforeHector_; }

References beforeHector_.

Referenced by fill().

◆ clear()

void LHCTransportLink::clear ( void  )

Definition at line 13 of file LHCTransportLink.cc.

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

References afterHector_, and beforeHector_.

◆ fill()

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

Definition at line 4 of file LHCTransportLink.cc.

References afterHector(), afterHector_, beforeHector(), and 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().