ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4 Namespace Reference

Namespaces

namespace  BarrelCryostat
namespace  DM
namespace  Barrel
namespace  BarrelPresampler
namespace  detail
namespace  EC
namespace  EndcapCryostat
namespace  FCAL
namespace  HEC

Classes

class  CalibrationHit
class  CalibSDTool
 A base class for tools that manage LArG4CalibSDs. More...
class  SimpleSDTool
 A base class for tools that manage LArG4SimpleSDs. More...
class  IECPresamplerGeometry
class  EMECSupportCalibrationCalculator
class  ActiveSDTool
 Sensitive detector tool which manages activate-area LAr calib SDs. More...
class  CalibrationDefaultCalculator
class  CalibrationHitMerger
 Athena Algorithm that merges a given set of CaloCalibrationHitContainers into a single CaloCalibrationHitContainers - based on CollectionMerger by Elmar Ritsch. More...
class  DeadSDTool
class  EMBSDTool
 SD tool which manages EM barrel sensitive detectors. More...
class  EMECSDTool
 SD tool which manages EM endcap sensitive detectors. More...
class  FCALSDTool
 SD tool which manages the LAr forward calo sensitive detectors. More...
class  HECSDTool
 SD tool which manages the LAr hadronic endcap sensitive detectors. More...
class  InactiveSDTool
 Sensitive detector tool which manages inactive-area LAr calib SDs. More...

Typedefs

typedef G4THitsCollection< CalibrationHitCalibrationHitsCollection
using SimpleSDWrapper = detail::SDWrapper<LArG4SimpleSD, LArHitContainer>
 Template instantiation for LArG4SimpleSD.
using CalibSDWrapper = detail::SDWrapper<LArG4CalibSD, CaloCalibrationHitContainer>
 Template instantiation for LArG4CalibSD.

Enumerations

enum  LArWheelCalculator_t {
  InnerAbsorberWheel , OuterAbsorberWheel , InnerElectrodWheel , OuterElectrodWheel ,
  InnerAbsorberModule , OuterAbsorberModule , InnerElectrodModule , OuterElectrodModule ,
  BackInnerBarretteWheel , BackOuterBarretteWheel , BackInnerBarretteWheelCalib , BackOuterBarretteWheelCalib ,
  BackInnerBarretteModule , BackOuterBarretteModule , BackInnerBarretteModuleCalib , BackOuterBarretteModuleCalib ,
  InnerGlueWheel , OuterGlueWheel , InnerLeadWheel , OuterLeadWheel
}
enum  eCalculatorProcessing { kEnergyAndID , kOnlyEnergy , kOnlyID }
enum  EnergyCorrection_t {
  EMEC_ECOR_ROPT , EMEC_ECOR_OFF , EMEC_ECOR_GADJ , EMEC_ECOR_CHCL ,
  EMEC_ECOR_GADJ_OLD , EMEC_ECOR_GADJ_E , EMEC_ECOR_GADJ_S , EMEC_ECOR_GADJ_SE ,
  EMEC_ECOR_CHCL1
}

Functions

std::set< std::string > findLogicalVolumes (const std::string &pattern)
 Search for logical volumes in the G4 volume store.
std::vector< std::string > findLogicalVolumes (const std::vector< std::string > &patterns, MsgStream &msg)
 Search for multiple logical volumes in G4 volume store.
bool matchStrings (std::string_view pattern, std::string_view text) noexcept
 Helper function for matching strings with wildcards.

Variables

G4Allocator< CalibrationHitCalibrationHitAllocator

Typedef Documentation

◆ CalibrationHitsCollection

Definition at line 123 of file CalibrationHit.h.

◆ CalibSDWrapper

◆ SimpleSDWrapper

Enumeration Type Documentation

◆ eCalculatorProcessing

Enumerator
kEnergyAndID 
kOnlyEnergy 
kOnlyID 

Definition at line 10 of file LArG4EnumDefs.h.

◆ EnergyCorrection_t

Enumerator
EMEC_ECOR_ROPT 
EMEC_ECOR_OFF 
EMEC_ECOR_GADJ 
EMEC_ECOR_CHCL 
EMEC_ECOR_GADJ_OLD 
EMEC_ECOR_GADJ_E 
EMEC_ECOR_GADJ_S 
EMEC_ECOR_GADJ_SE 
EMEC_ECOR_CHCL1 

Definition at line 12 of file LArG4EnumDefs.h.

◆ LArWheelCalculator_t

Enumerator
InnerAbsorberWheel 
OuterAbsorberWheel 
InnerElectrodWheel 
OuterElectrodWheel 
InnerAbsorberModule 
OuterAbsorberModule 
InnerElectrodModule 
OuterElectrodModule 
BackInnerBarretteWheel 
BackOuterBarretteWheel 
BackInnerBarretteWheelCalib 
BackOuterBarretteWheelCalib 
BackInnerBarretteModule 
BackOuterBarretteModule 
BackInnerBarretteModuleCalib 
BackOuterBarretteModuleCalib 
InnerGlueWheel 
OuterGlueWheel 
InnerLeadWheel 
OuterLeadWheel 

Definition at line 10 of file LArWheelCalculatorEnums.h.

10 {
21 };

Function Documentation

◆ findLogicalVolumes() [1/2]

std::set< std::string > LArG4::findLogicalVolumes ( const std::string & pattern)

Search for logical volumes in the G4 volume store.

Uses the global G4LogicalVolumeStore to search the geometry. The pattern may contain '*' wildcards.

Returns
a set of available volume names matching the wildcard pattern.

◆ findLogicalVolumes() [2/2]

std::vector< std::string > LArG4::findLogicalVolumes ( const std::vector< std::string > & patterns,
MsgStream & msg )

Search for multiple logical volumes in G4 volume store.

This function does a search for each input pattern in the G4LogicalVolumeStore using the findLogicalVolumes function above. It uses the provided MsgStream object to print a warning for every pattern that yields zero matches.

Returns
a list of available volume names matching the wildcard patterns.

◆ matchStrings()

bool LArG4::matchStrings ( std::string_view pattern,
std::string_view text )
noexcept

Helper function for matching strings with wildcards.

It's a iterative function that checks if two given strings match. The first string may contain wildcard characters.

Variable Documentation

◆ CalibrationHitAllocator

G4Allocator<CalibrationHit> LArG4::CalibrationHitAllocator
externthread_local