CMS 3D CMS Logo

TrackInformation.cc
Go to the documentation of this file.
3 
4 #include <iostream>
5 
6 G4ThreadLocal G4Allocator<TrackInformation> *fpTrackInformationAllocator = nullptr;
7 
8 void TrackInformation::Print() const {
9  LogDebug("TrackInformation") << " TrackInformation : storeTrack = " << storeTrack_ << "\n"
10  << " hasHits = " << hasHits_ << "\n"
11  << " isPrimary = " << isPrimary_ << "\n"
12  << " isGeneratedSecondary = " << isGeneratedSecondary_ << "\n"
13  << " isInHistory = " << isInHistory_ << "\n"
14  << " idOnCaloSurface = " << getIDonCaloSurface() << "\n"
15  << " caloIDChecked = " << caloIDChecked() << "\n"
16  << " idCaloVolume = " << idCaloVolume_ << "\n"
17  << " idLastVolume = " << idLastVolume_;
18 }
TrackInformation::Print
void Print() const override
Definition: TrackInformation.cc:8
TrackInformation::getIDonCaloSurface
int getIDonCaloSurface() const
Definition: TrackInformation.h:39
MessageLogger.h
TrackInformation::idCaloVolume_
int idCaloVolume_
Definition: TrackInformation.h:83
fpTrackInformationAllocator
G4ThreadLocal G4Allocator< TrackInformation > * fpTrackInformationAllocator
Definition: TrackInformation.cc:6
TrackInformation::storeTrack_
bool storeTrack_
Definition: TrackInformation.h:76
TrackInformation::idLastVolume_
int idLastVolume_
Definition: TrackInformation.h:84
TrackInformation::hasHits_
bool hasHits_
Definition: TrackInformation.h:78
TrackInformation::isGeneratedSecondary_
bool isGeneratedSecondary_
Definition: TrackInformation.h:79
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
TrackInformation::isPrimary_
bool isPrimary_
Definition: TrackInformation.h:77
TrackInformation::isInHistory_
bool isInHistory_
Definition: TrackInformation.h:80
TrackInformation.h
TrackInformation::caloIDChecked
bool caloIDChecked() const
Definition: TrackInformation.h:49