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
FP420SD Class Reference

#include <FP420SD.h>

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

Public Member Functions

virtual void clear ()
 
virtual void DrawAll ()
 
virtual void EndOfEvent (G4HCofThisEvent *eventHC)
 
void fillHits (edm::PSimHitContainer &, std::string use)
 
 FP420SD (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
 
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 ~FP420SD ()
 
- 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 (FP420G4Hit *)
 
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

FP420G4HitcurrentHit
 
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
 
FP420NumberingSchemenumberingScheme
 
float Pabs
 
int ParentId
 
short ParticleType
 
float PhiAtEntry
 
G4StepPoint * postStepPoint
 
G4StepPoint * preStepPoint
 
uint32_t previousUnitID
 
unsigned int primaryID
 
unsigned int primID
 
TrackingSlaveSDslave
 
G4ThreeVector theEntryPoint
 
G4ThreeVector theExitPoint
 
FP420G4HitCollectiontheHC
 
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 55 of file FP420SD.h.

Constructor & Destructor Documentation

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

Definition at line 57 of file FP420SD.cc.

FP420SD::~FP420SD ( )
virtual

Definition at line 127 of file FP420SD.cc.

Member Function Documentation

void FP420SD::clear ( void  )
virtual

Definition at line 487 of file FP420SD.cc.

void FP420SD::clearHits ( )
privatevirtual

Implements SensitiveDetector.

Definition at line 536 of file FP420SD.cc.

void FP420SD::CreateNewHit ( )
private

Definition at line 299 of file FP420SD.cc.

void FP420SD::DrawAll ( )
virtual

Definition at line 491 of file FP420SD.cc.

void FP420SD::EndOfEvent ( G4HCofThisEvent *  eventHC)
virtual

Reimplemented from SensitiveDetector.

Definition at line 405 of file FP420SD.cc.

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

Implements SensitiveTkDetector.

Definition at line 509 of file FP420SD.cc.

double FP420SD::getEnergyDeposit ( G4Step *  step)
virtual

Definition at line 136 of file FP420SD.cc.

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

Reimplemented from SensitiveDetector.

Definition at line 541 of file FP420SD.cc.

void FP420SD::GetStepInfo ( G4Step *  aStep)
private

Definition at line 179 of file FP420SD.cc.

G4bool FP420SD::HitExists ( )
private

Definition at line 232 of file FP420SD.cc.

void FP420SD::Initialize ( G4HCofThisEvent *  HCE)
virtual

Reimplemented from SensitiveDetector.

Definition at line 140 of file FP420SD.cc.

void FP420SD::PrintAll ( )
virtual

Definition at line 495 of file FP420SD.cc.

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

Implements SensitiveDetector.

Definition at line 158 of file FP420SD.cc.

void FP420SD::ResetForNewPrimary ( )
private

Definition at line 278 of file FP420SD.cc.

uint32_t FP420SD::setDetUnitId ( G4Step *  aStep)
virtual

Implements SensitiveDetector.

Definition at line 226 of file FP420SD.cc.

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

Definition at line 389 of file FP420SD.cc.

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

Definition at line 397 of file FP420SD.cc.

void FP420SD::StoreHit ( FP420G4Hit hit)
private

Definition at line 287 of file FP420SD.cc.

void FP420SD::Summarize ( )
private

Definition at line 483 of file FP420SD.cc.

void FP420SD::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 523 of file FP420SD.cc.

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

void FP420SD::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 516 of file FP420SD.cc.

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

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

Definition at line 533 of file FP420SD.cc.

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

void FP420SD::UpdateHit ( )
private

Definition at line 365 of file FP420SD.cc.

Member Data Documentation

FP420G4Hit* FP420SD::currentHit
private

Definition at line 143 of file FP420SD.h.

G4VPhysicalVolume* FP420SD::currentPV
private

Definition at line 145 of file FP420SD.h.

float FP420SD::edeposit
private

Definition at line 155 of file FP420SD.h.

float FP420SD::edepositEM
protected

Definition at line 182 of file FP420SD.h.

float FP420SD::edepositHAD
protected

Definition at line 182 of file FP420SD.h.

float FP420SD::Eloss
private

Definition at line 164 of file FP420SD.h.

G4int FP420SD::emPDG
protected

Definition at line 183 of file FP420SD.h.

G4ThreeVector FP420SD::entrancePoint
private

Definition at line 125 of file FP420SD.h.

G4int FP420SD::epPDG
protected

Definition at line 184 of file FP420SD.h.

int FP420SD::eventno
private

Definition at line 178 of file FP420SD.h.

G4ThreeVector FP420SD::exitPoint
private

Definition at line 125 of file FP420SD.h.

G4int FP420SD::gammaPDG
protected

Definition at line 185 of file FP420SD.h.

G4int FP420SD::hcID
private

Definition at line 138 of file FP420SD.h.

G4ThreeVector FP420SD::hitPoint
private

Definition at line 157 of file FP420SD.h.

G4ThreeVector FP420SD::hitPointExit
private

Definition at line 159 of file FP420SD.h.

G4ThreeVector FP420SD::hitPointLocal
private

Definition at line 160 of file FP420SD.h.

G4ThreeVector FP420SD::hitPointLocalExit
private

Definition at line 161 of file FP420SD.h.

float FP420SD::incidentEnergy
private

Definition at line 134 of file FP420SD.h.

std::string FP420SD::name
private

Definition at line 137 of file FP420SD.h.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

FP420NumberingScheme* FP420SD::numberingScheme
private

Definition at line 123 of file FP420SD.h.

float FP420SD::Pabs
private

Definition at line 162 of file FP420SD.h.

int FP420SD::ParentId
private

Definition at line 170 of file FP420SD.h.

short FP420SD::ParticleType
private

Definition at line 165 of file FP420SD.h.

float FP420SD::PhiAtEntry
private

Definition at line 168 of file FP420SD.h.

G4StepPoint* FP420SD::postStepPoint
private

Definition at line 154 of file FP420SD.h.

G4StepPoint* FP420SD::preStepPoint
private

Definition at line 153 of file FP420SD.h.

uint32_t FP420SD::previousUnitID
private

Definition at line 147 of file FP420SD.h.

unsigned int FP420SD::primaryID
private

Definition at line 149 of file FP420SD.h.

unsigned int FP420SD::primID
private

Definition at line 149 of file FP420SD.h.

TrackingSlaveSD* FP420SD::slave
private

Definition at line 122 of file FP420SD.h.

G4ThreeVector FP420SD::theEntryPoint
private

Definition at line 126 of file FP420SD.h.

G4ThreeVector FP420SD::theExitPoint
private

Definition at line 127 of file FP420SD.h.

FP420G4HitCollection* FP420SD::theHC
private

Definition at line 139 of file FP420SD.h.

const SimTrackManager* FP420SD::theManager
private

Definition at line 140 of file FP420SD.h.

float FP420SD::ThetaAtEntry
private

Definition at line 167 of file FP420SD.h.

G4Track* FP420SD::theTrack
private

Definition at line 144 of file FP420SD.h.

float FP420SD::Tof
private

Definition at line 163 of file FP420SD.h.

G4int FP420SD::tsID
private

Definition at line 142 of file FP420SD.h.

G4double FP420SD::tSlice
private

Definition at line 151 of file FP420SD.h.

G4int FP420SD::tSliceID
private

Definition at line 148 of file FP420SD.h.

uint32_t FP420SD::unitID
private

Definition at line 147 of file FP420SD.h.

float FP420SD::Vx
private

Definition at line 171 of file FP420SD.h.

float FP420SD::Vy
private

Definition at line 171 of file FP420SD.h.

float FP420SD::Vz
private

Definition at line 171 of file FP420SD.h.

float FP420SD::X
private

Definition at line 172 of file FP420SD.h.

float FP420SD::Y
private

Definition at line 172 of file FP420SD.h.

float FP420SD::Z
private

Definition at line 172 of file FP420SD.h.