CMS 3D CMS Logo

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

#include <BHMSD.h>

Inheritance diagram for BHMSD:
SensitiveTkDetector Observer< const BeginOfRun * > Observer< const BeginOfEvent * > Observer< const EndOfEvent * > SensitiveDetector

Public Member Functions

 BHMSD (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void EndOfEvent (G4HCofThisEvent *eventHC)
 
void fillHits (edm::PSimHitContainer &, std::string use)
 
virtual double getEnergyDeposit (G4Step *step)
 
std::vector< std::string > getNames ()
 
virtual void Initialize (G4HCofThisEvent *HCE)
 
virtual void PrintAll ()
 
virtual bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual uint32_t setDetUnitId (G4Step *)
 
virtual ~BHMSD ()
 
- 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)
 
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 BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfEvent * >
 Observer ()
 
void slotForUpdate (const EndOfEvent *iT)
 
virtual ~Observer ()
 

Protected Attributes

float edepositEM
 
float edepositHAD
 
G4int emPDG
 
G4int epPDG
 
G4int gammaPDG
 

Private Member Functions

virtual void clearHits ()
 
void CreateNewHit ()
 
void GetStepInfo (G4Step *aStep)
 
G4bool HitExists ()
 
void ResetForNewPrimary ()
 
G4ThreeVector SetToLocal (const G4ThreeVector &global)
 
G4ThreeVector SetToLocalExit (const G4ThreeVector &globalPoint)
 
void StoreHit (BscG4Hit *)
 
void Summarize ()
 
void update (const BeginOfRun *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfEvent *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const ::EndOfEvent *)
 
void UpdateHit ()
 

Private Attributes

BscG4HitcurrentHit
 
G4VPhysicalVolume * currentPV
 
float edeposit
 
float Eloss
 
G4ThreeVector entrancePoint
 
int eventno
 
G4ThreeVector exitPoint
 
G4int hcID
 
G4ThreeVector hitPoint
 
G4ThreeVector hitPointExit
 
G4ThreeVector hitPointLocal
 
G4ThreeVector hitPointLocalExit
 
float incidentEnergy
 
std::string name
 
BHMNumberingSchemenumberingScheme
 
float Pabs
 
int ParentId
 
short ParticleType
 
float PhiAtEntry
 
G4StepPoint * postStepPoint
 
G4StepPoint * preStepPoint
 
uint32_t previousUnitID
 
G4int primaryID
 
G4int primID
 
TrackingSlaveSDslave
 
G4ThreeVector theEntryPoint
 
G4ThreeVector theExitPoint
 
BscG4HitCollectiontheHC
 
const SimTrackManagertheManager
 
float ThetaAtEntry
 
G4Track * theTrack
 
float Tof
 
G4int tsID
 
G4double tSlice
 
G4int tSliceID
 
uint32_t unitID
 
float Vx
 
float Vy
 
float Vz
 
float X
 
float Y
 
float Z
 

Additional Inherited Members

- Public Types inherited from SensitiveDetector
enum  coordinates { WorldCoordinates, LocalCoordinates }
 
- Protected Member Functions inherited from Observer< const EndOfEvent * >
virtual void update (const EndOfEvent *)=0
 This routine will be called when the appropriate signal arrives. More...
 

Detailed Description

Definition at line 35 of file BHMSD.h.

Constructor & Destructor Documentation

BHMSD::BHMSD ( std::string  name,
const DDCompactView cpv,
const SensitiveDetectorCatalog clg,
edm::ParameterSet const &  p,
const SimTrackManager manager 
)

Definition at line 30 of file BHMSD.cc.

BHMSD::~BHMSD ( )
virtual

Definition at line 80 of file BHMSD.cc.

Member Function Documentation

void BHMSD::clear ( void  )
virtual

Definition at line 360 of file BHMSD.cc.

void BHMSD::clearHits ( )
privatevirtual

Implements SensitiveDetector.

Definition at line 398 of file BHMSD.cc.

void BHMSD::CreateNewHit ( )
private

Definition at line 234 of file BHMSD.cc.

void BHMSD::DrawAll ( )
virtual

Definition at line 364 of file BHMSD.cc.

void BHMSD::EndOfEvent ( G4HCofThisEvent *  eventHC)
virtual

Reimplemented from SensitiveDetector.

Definition at line 329 of file BHMSD.cc.

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

Implements SensitiveTkDetector.

Definition at line 374 of file BHMSD.cc.

double BHMSD::getEnergyDeposit ( G4Step *  step)
virtual

Definition at line 86 of file BHMSD.cc.

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

Reimplemented from SensitiveDetector.

Definition at line 402 of file BHMSD.cc.

void BHMSD::GetStepInfo ( G4Step *  aStep)
private

Definition at line 122 of file BHMSD.cc.

G4bool BHMSD::HitExists ( )
private

Definition at line 174 of file BHMSD.cc.

void BHMSD::Initialize ( G4HCofThisEvent *  HCE)
virtual

Reimplemented from SensitiveDetector.

Definition at line 90 of file BHMSD.cc.

void BHMSD::PrintAll ( )
virtual

Definition at line 368 of file BHMSD.cc.

bool BHMSD::ProcessHits ( G4Step *  aStep,
G4TouchableHistory *   
)
virtual

Implements SensitiveDetector.

Definition at line 105 of file BHMSD.cc.

void BHMSD::ResetForNewPrimary ( )
private

Definition at line 214 of file BHMSD.cc.

uint32_t BHMSD::setDetUnitId ( G4Step *  aStep)
virtual

Implements SensitiveDetector.

Definition at line 169 of file BHMSD.cc.

G4ThreeVector BHMSD::SetToLocal ( const G4ThreeVector &  global)
private

Definition at line 313 of file BHMSD.cc.

G4ThreeVector BHMSD::SetToLocalExit ( const G4ThreeVector &  globalPoint)
private

Definition at line 321 of file BHMSD.cc.

void BHMSD::StoreHit ( BscG4Hit hit)
private

Definition at line 222 of file BHMSD.cc.

void BHMSD::Summarize ( )
private

Definition at line 356 of file BHMSD.cc.

void BHMSD::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 385 of file BHMSD.cc.

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

void BHMSD::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 378 of file BHMSD.cc.

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

void BHMSD::update ( const ::EndOfEvent )
private

Definition at line 395 of file BHMSD.cc.

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

void BHMSD::UpdateHit ( )
private

Definition at line 293 of file BHMSD.cc.

Member Data Documentation

BscG4Hit* BHMSD::currentHit
private

Definition at line 98 of file BHMSD.h.

G4VPhysicalVolume* BHMSD::currentPV
private

Definition at line 100 of file BHMSD.h.

float BHMSD::edeposit
private

Definition at line 107 of file BHMSD.h.

float BHMSD::edepositEM
protected

Definition at line 126 of file BHMSD.h.

float BHMSD::edepositHAD
protected

Definition at line 126 of file BHMSD.h.

float BHMSD::Eloss
private

Definition at line 114 of file BHMSD.h.

G4int BHMSD::emPDG
protected

Definition at line 127 of file BHMSD.h.

G4ThreeVector BHMSD::entrancePoint
private

Definition at line 86 of file BHMSD.h.

G4int BHMSD::epPDG
protected

Definition at line 128 of file BHMSD.h.

int BHMSD::eventno
private

Definition at line 122 of file BHMSD.h.

G4ThreeVector BHMSD::exitPoint
private

Definition at line 86 of file BHMSD.h.

G4int BHMSD::gammaPDG
protected

Definition at line 129 of file BHMSD.h.

G4int BHMSD::hcID
private

Definition at line 93 of file BHMSD.h.

G4ThreeVector BHMSD::hitPoint
private

Definition at line 109 of file BHMSD.h.

G4ThreeVector BHMSD::hitPointExit
private

Definition at line 110 of file BHMSD.h.

G4ThreeVector BHMSD::hitPointLocal
private

Definition at line 111 of file BHMSD.h.

G4ThreeVector BHMSD::hitPointLocalExit
private

Definition at line 112 of file BHMSD.h.

float BHMSD::incidentEnergy
private

Definition at line 89 of file BHMSD.h.

std::string BHMSD::name
private

Definition at line 92 of file BHMSD.h.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

BHMNumberingScheme* BHMSD::numberingScheme
private

Definition at line 84 of file BHMSD.h.

float BHMSD::Pabs
private

Definition at line 114 of file BHMSD.h.

int BHMSD::ParentId
private

Definition at line 118 of file BHMSD.h.

short BHMSD::ParticleType
private

Definition at line 115 of file BHMSD.h.

float BHMSD::PhiAtEntry
private

Definition at line 116 of file BHMSD.h.

G4StepPoint* BHMSD::postStepPoint
private

Definition at line 106 of file BHMSD.h.

G4StepPoint* BHMSD::preStepPoint
private

Definition at line 105 of file BHMSD.h.

uint32_t BHMSD::previousUnitID
private

Definition at line 101 of file BHMSD.h.

G4int BHMSD::primaryID
private

Definition at line 102 of file BHMSD.h.

G4int BHMSD::primID
private

Definition at line 90 of file BHMSD.h.

TrackingSlaveSD* BHMSD::slave
private

Definition at line 83 of file BHMSD.h.

G4ThreeVector BHMSD::theEntryPoint
private

Definition at line 87 of file BHMSD.h.

G4ThreeVector BHMSD::theExitPoint
private

Definition at line 87 of file BHMSD.h.

BscG4HitCollection* BHMSD::theHC
private

Definition at line 94 of file BHMSD.h.

const SimTrackManager* BHMSD::theManager
private

Definition at line 95 of file BHMSD.h.

float BHMSD::ThetaAtEntry
private

Definition at line 116 of file BHMSD.h.

G4Track* BHMSD::theTrack
private

Definition at line 99 of file BHMSD.h.

float BHMSD::Tof
private

Definition at line 114 of file BHMSD.h.

G4int BHMSD::tsID
private

Definition at line 97 of file BHMSD.h.

G4double BHMSD::tSlice
private

Definition at line 103 of file BHMSD.h.

G4int BHMSD::tSliceID
private

Definition at line 102 of file BHMSD.h.

uint32_t BHMSD::unitID
private

Definition at line 101 of file BHMSD.h.

float BHMSD::Vx
private

Definition at line 119 of file BHMSD.h.

float BHMSD::Vy
private

Definition at line 119 of file BHMSD.h.

float BHMSD::Vz
private

Definition at line 119 of file BHMSD.h.

float BHMSD::X
private

Definition at line 120 of file BHMSD.h.

float BHMSD::Y
private

Definition at line 120 of file BHMSD.h.

float BHMSD::Z
private

Definition at line 120 of file BHMSD.h.