CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
TkAccumulatingSensitiveDetector Class Reference

#include <TkAccumulatingSensitiveDetector.h>

Inheritance diagram for TkAccumulatingSensitiveDetector:
SensitiveTkDetector Observer< const BeginOfEvent * > Observer< const BeginOfTrack * > Observer< const BeginOfJob * > SensitiveDetector

Public Member Functions

virtual void EndOfEvent (G4HCofThisEvent *)
 
void fillHits (edm::PSimHitContainer &, std::string use)
 
std::vector< std::string > getNames ()
 
virtual bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual uint32_t setDetUnitId (G4Step *)
 
 TkAccumulatingSensitiveDetector (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
 
std::string type ()
 
virtual ~TkAccumulatingSensitiveDetector ()
 
- Public Member Functions inherited from SensitiveTkDetector
 SensitiveTkDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p)
 
- Public Member Functions inherited from SensitiveDetector
virtual void AssignSD (const std::string &vname)
 
Local3DPoint ConvertToLocal3DPoint (const G4ThreeVector &point)
 
Local3DPoint FinalStepPosition (G4Step *s, coordinates)
 
virtual void Initialize (G4HCofThisEvent *eventHC)
 
Local3DPoint InitialStepPosition (G4Step *s, coordinates)
 
std::string nameOfSD ()
 
void NaNTrap (G4Step *step)
 
void Register ()
 
 SensitiveDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p)
 
virtual ~SensitiveDetector ()
 
- Public Member Functions inherited from Observer< const BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfTrack * >
 Observer ()
 
void slotForUpdate (const BeginOfTrack *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfJob * >
 Observer ()
 
void slotForUpdate (const BeginOfJob *iT)
 
virtual ~Observer ()
 

Private Member Functions

void checkExitPoint (Local3DPoint)
 
virtual void clearHits ()
 
virtual bool closeHit (G4Step *)
 
virtual void createHit (G4Step *)
 
TrackInformationgetOrCreateTrackInformation (const G4Track *)
 
virtual bool newHit (G4Step *)
 
virtual void sendHit ()
 
int tofBin (float)
 
Local3DPoint toOrcaRef (Local3DPoint, G4VPhysicalVolume *)
 
void update (const BeginOfEvent *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfTrack *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfJob *)
 This routine will be called when the appropriate signal arrives. More...
 
virtual void updateHit (G4Step *)
 

Private Attributes

bool allowZeroEnergyLoss
 
float energyCut
 
float energyHistoryCut
 
int eventno
 
Local3DPoint globalEntryPoint
 
Local3DPoint globalExitPoint
 
uint32_t lastId
 
unsigned int lastTrack
 
G4TrackToParticleIDmyG4TrackToParticleID
 
std::string myName
 
FrameRotationmyRotation
 
UpdatablePSimHitmySimHit
 
bool neverAccumulate
 
TrackerG4SimHitNumberingSchemenumberingScheme_
 
G4VPhysicalVolume * oldVolume
 
std::string pname
 
bool printHits
 
float px
 
float py
 
float pz
 
float rTracker
 
TrackingSlaveSDslaveHighTof
 
TrackingSlaveSDslaveLowTof
 
G4ProcessTypeEnumeratortheG4ProcessTypeEnumerator
 
const SimTrackManagertheManager
 
double theSigma
 
float zTracker
 

Additional Inherited Members

- Public Types inherited from SensitiveDetector
enum  coordinates { WorldCoordinates, LocalCoordinates }
 

Detailed Description

Definition at line 30 of file TkAccumulatingSensitiveDetector.h.

Constructor & Destructor Documentation

TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector ( std::string  ,
const DDCompactView ,
const SensitiveDetectorCatalog ,
edm::ParameterSet const &  ,
const SimTrackManager  
)

Definition at line 64 of file TkAccumulatingSensitiveDetector.cc.

TkAccumulatingSensitiveDetector::~TkAccumulatingSensitiveDetector ( )
virtual

Definition at line 120 of file TkAccumulatingSensitiveDetector.cc.

Member Function Documentation

void TkAccumulatingSensitiveDetector::checkExitPoint ( Local3DPoint  p)
private

Definition at line 447 of file TkAccumulatingSensitiveDetector.cc.

void TkAccumulatingSensitiveDetector::clearHits ( )
privatevirtual

Implements SensitiveDetector.

Definition at line 441 of file TkAccumulatingSensitiveDetector.cc.

bool TkAccumulatingSensitiveDetector::closeHit ( G4Step *  aStep)
privatevirtual

Definition at line 400 of file TkAccumulatingSensitiveDetector.cc.

void TkAccumulatingSensitiveDetector::createHit ( G4Step *  aStep)
privatevirtual

Definition at line 258 of file TkAccumulatingSensitiveDetector.cc.

void TkAccumulatingSensitiveDetector::EndOfEvent ( G4HCofThisEvent *  )
virtual

Reimplemented from SensitiveDetector.

Definition at line 413 of file TkAccumulatingSensitiveDetector.cc.

void TkAccumulatingSensitiveDetector::fillHits ( edm::PSimHitContainer c,
std::string  use 
)
virtual

Implements SensitiveTkDetector.

Definition at line 477 of file TkAccumulatingSensitiveDetector.cc.

std::vector< string > TkAccumulatingSensitiveDetector::getNames ( )
virtual

Reimplemented from SensitiveDetector.

Definition at line 487 of file TkAccumulatingSensitiveDetector.cc.

TrackInformation * TkAccumulatingSensitiveDetector::getOrCreateTrackInformation ( const G4Track *  gTrack)
private

Definition at line 462 of file TkAccumulatingSensitiveDetector.cc.

bool TkAccumulatingSensitiveDetector::newHit ( G4Step *  aStep)
privatevirtual

Definition at line 381 of file TkAccumulatingSensitiveDetector.cc.

bool TkAccumulatingSensitiveDetector::ProcessHits ( G4Step *  aStep,
G4TouchableHistory *  ROhist 
)
virtual

Implements SensitiveDetector.

Definition at line 129 of file TkAccumulatingSensitiveDetector.cc.

void TkAccumulatingSensitiveDetector::sendHit ( )
privatevirtual

Definition at line 227 of file TkAccumulatingSensitiveDetector.cc.

uint32_t TkAccumulatingSensitiveDetector::setDetUnitId ( G4Step *  s)
virtual

Implements SensitiveDetector.

Definition at line 152 of file TkAccumulatingSensitiveDetector.cc.

int TkAccumulatingSensitiveDetector::tofBin ( float  tof)
private

Definition at line 162 of file TkAccumulatingSensitiveDetector.cc.

Local3DPoint TkAccumulatingSensitiveDetector::toOrcaRef ( Local3DPoint  in,
G4VPhysicalVolume *  v 
)
private

Definition at line 170 of file TkAccumulatingSensitiveDetector.cc.

std::string TkAccumulatingSensitiveDetector::type ( )
void TkAccumulatingSensitiveDetector::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 422 of file TkAccumulatingSensitiveDetector.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void TkAccumulatingSensitiveDetector::update ( const BeginOfTrack )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfTrack * >.

Definition at line 177 of file TkAccumulatingSensitiveDetector.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void TkAccumulatingSensitiveDetector::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 429 of file TkAccumulatingSensitiveDetector.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void TkAccumulatingSensitiveDetector::updateHit ( G4Step *  aStep)
privatevirtual

Definition at line 360 of file TkAccumulatingSensitiveDetector.cc.

Member Data Documentation

bool TkAccumulatingSensitiveDetector::allowZeroEnergyLoss
private

Definition at line 80 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::energyCut
private

Definition at line 85 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::energyHistoryCut
private

Definition at line 86 of file TkAccumulatingSensitiveDetector.h.

int TkAccumulatingSensitiveDetector::eventno
private

Definition at line 77 of file TkAccumulatingSensitiveDetector.h.

Local3DPoint TkAccumulatingSensitiveDetector::globalEntryPoint
private

Definition at line 69 of file TkAccumulatingSensitiveDetector.h.

Local3DPoint TkAccumulatingSensitiveDetector::globalExitPoint
private

Definition at line 70 of file TkAccumulatingSensitiveDetector.h.

uint32_t TkAccumulatingSensitiveDetector::lastId
private

Definition at line 75 of file TkAccumulatingSensitiveDetector.h.

unsigned int TkAccumulatingSensitiveDetector::lastTrack
private

Definition at line 76 of file TkAccumulatingSensitiveDetector.h.

G4TrackToParticleID* TkAccumulatingSensitiveDetector::myG4TrackToParticleID
private

Definition at line 83 of file TkAccumulatingSensitiveDetector.h.

std::string TkAccumulatingSensitiveDetector::myName
private

Definition at line 63 of file TkAccumulatingSensitiveDetector.h.

FrameRotation* TkAccumulatingSensitiveDetector::myRotation
private

Definition at line 66 of file TkAccumulatingSensitiveDetector.h.

UpdatablePSimHit* TkAccumulatingSensitiveDetector::mySimHit
private

Definition at line 67 of file TkAccumulatingSensitiveDetector.h.

bool TkAccumulatingSensitiveDetector::neverAccumulate
private

Definition at line 82 of file TkAccumulatingSensitiveDetector.h.

TrackerG4SimHitNumberingScheme* TkAccumulatingSensitiveDetector::numberingScheme_
private

Definition at line 93 of file TkAccumulatingSensitiveDetector.h.

G4VPhysicalVolume* TkAccumulatingSensitiveDetector::oldVolume
private

Definition at line 72 of file TkAccumulatingSensitiveDetector.h.

std::string TkAccumulatingSensitiveDetector::pname
private

Definition at line 68 of file TkAccumulatingSensitiveDetector.h.

bool TkAccumulatingSensitiveDetector::printHits
private

Definition at line 81 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::px
private

Definition at line 79 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::py
private

Definition at line 79 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::pz
private

Definition at line 79 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::rTracker
private

Definition at line 90 of file TkAccumulatingSensitiveDetector.h.

TrackingSlaveSD* TkAccumulatingSensitiveDetector::slaveHighTof
private

Definition at line 65 of file TkAccumulatingSensitiveDetector.h.

TrackingSlaveSD* TkAccumulatingSensitiveDetector::slaveLowTof
private

Definition at line 64 of file TkAccumulatingSensitiveDetector.h.

G4ProcessTypeEnumerator* TkAccumulatingSensitiveDetector::theG4ProcessTypeEnumerator
private

Definition at line 73 of file TkAccumulatingSensitiveDetector.h.

const SimTrackManager* TkAccumulatingSensitiveDetector::theManager
private

Definition at line 71 of file TkAccumulatingSensitiveDetector.h.

double TkAccumulatingSensitiveDetector::theSigma
private

Definition at line 74 of file TkAccumulatingSensitiveDetector.h.

float TkAccumulatingSensitiveDetector::zTracker
private

Definition at line 91 of file TkAccumulatingSensitiveDetector.h.