 |
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef TILEGEOG4CALIB_TILEGEOG4CALIBSD_H
19 #define TILEGEOG4CALIB_TILEGEOG4CALIBSD_H
21 #include "G4VSensitiveDetector.hh"
32 #include "GaudiKernel/ServiceHandle.h"
40 #include "GaudiKernel/ToolHandle.h"
43 #define doHitsTXT false
44 #define doHitsNTup true
45 #define IDcalc 0 //1-6, 0-all
51 class G4HCofThisEvent;
64 class TileGeoG4LookupBuilder;
68 class TileGeoG4Section;
76 class G4TouchableHistory;
77 class G4VPhysicalVolume;
83 typedef std::vector<double>
E_4;
98 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
123 void HitsInfoPrint (
bool,
int);
172 ToolHandle<TileCalibHitNtuple> m_ntuple;
173 ToolHandle<TileCalibHitCntNtup> m_ntupleCnt;
332 #endif // TILEGEOG4CALIB_TILEGEOG4CALIBSD_H
JetConstituentVector::iterator iterator
This class creates ntuple with calibration hits info.
void Initialize(G4HCofThisEvent *) override final
Identifier DM_ID_Maker(int det, int type, int sample, int region, int tower, int module)
void DefaultHitIDCalculator()
const G4TouchableHistory * m_stepTouchable
bool operator()(CaloCalibrationHit *const &p, CaloCalibrationHit *const &q) const
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
void InvokeUserTrackingAction()
const CaloDM_ID * m_caloDM_ID
bool m_isNegative
set to true if hit is in negative side
Scalar phi() const
phi method
void DefaultHitIDCalculatorTB(int sample=0, int region=0, int eta=0, int phi=0)
Scalar eta() const
pseudorapidity method
void CellNumCorrectToHit(int, int)
void EnergiesSimpleCounter()
ServiceHandle< IRDBAccessSvc > m_rdbSvc
ServiceHandle< IGeoModelSvc > m_geoModSvc
m_calibrationHits_t m_deadCalibrationHits
bool m_doCalibHitParticleID
Variables to identify Hit objects.
std::string m_tileActiveCellCalibHits
bool m_addToCell
set to true if DM hit in front plate is added to a real cell (currently equal to _plateToCell)
void GirderCellIDCalculator()
std::string m_tileDeadMaterialCalibHits
void PlateCellIDCalculator()
ServiceHandle< StoreGateSvc > m_detStoreSvc
double GetVisibleEnergy()
void InvokeUserRunAction()
std::set< CaloCalibrationHit *, LessHit > m_calibrationHits_t
const CaloCell_ID * m_caloCell_ID
TileGeoG4GirderCell * m_gCell
The Athena Transient Store API.
Definition of the abstract IRDBAccessSvc interface.
bool m_addToGirder
set to true if DM hit in absorber at outer radius is added to girder (currently inverse of _plateToCe...
CaloG4::SimulationEnergies::ClassifyResult_t GetEnergiesOnStep()
void EndOfEvent(G4HCofThisEvent *) override final
void DebugDMCellIDFields(int)
AtlasG4EventUserInfo * m_atlasG4EvtUserInfo
variable used for producing calibration hits signed with primary particle ID
bool FindTileCalibSection()
See TileGeoG4SD/TileHitVectorBuilder documentation.
TileEscapedEnergyProcessing * m_tile_eep
TileGeoG4CalibSection * m_cSection
Helper class for offline cell identifiers.
TileHitVectorDMBuilder * GetHitCollection()
void ResetSectSideFlags()
std::vector< double > E_4
Class to store calorimeter calibration hit.
m_calibrationHits_t::iterator m_calibrationHits_ptr_t
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
bool m_plateToCell
set to true if DM hit in end/front plate is added to a real cell (taken from DB or from JO)
double GetInvisibleEnergy()
TileGeoG4PlateCell * m_pCell
This defines the results returned by the energy classification; these detailed results are mostly use...
m_calibrationHits_t m_inactiveCalibrationHits
std::map< eEnergyCategory, G4double > energy
TileGeoG4CalibSD(const G4String &name, const std::vector< std::string > &m_outputCollectionNames, ITileCalculator *tileCalculator, const ServiceHandle< StoreGateSvc > &detStore)
void SetEscapedEnergy(double escapedEnergy)
CaloG4::SimulationEnergies * m_simEn
void ScintIDCalculator(TileHitData &hitData)
Helper class for Calo Dead Material offline identifiers.
TileGeoG4CalibSD & operator=(const TileGeoG4CalibSD &)
void InvokeUserSteppingAction()
Identifier GetCellIDOnStep()
bool m_isExtended
set to true if hit is in extended barrel
TileGeoG4CalibSD(const TileGeoG4CalibSD &)
CaloG4::SimulationEnergies::ClassifyResult_t m_result
m_calibrationHits_t m_activeCalibrationHits
void InvokeUserEventAction()
std::string m_tileInactiveCellCalibHits
void ResetDMCellIDFields()
bool AreClassifiedEnergiesAllZero()
This class creates ntuple with calibration hits container info.
G4VPhysicalVolume * m_stepPhysVol