Classspec



Class name:
G4VSensitiveDetector

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Uses:
G4VHit
G4Step

Public Interface:
Operations:
initialize
endOfEvent
clear
activate
isActive
getName
drawAll
printAll
hit
getCollectionName
get_numberOfCollections
getPathName

Protected Interface:
Operations:
processHits

Private Interface:
Has-A Relationships:
G4VHitsCollection aCollection
G4VReadOutGeometry
G4SDManager manager

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
initialize

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Initializations for each event

Concurrency: Sequential



Operation name:
processHits

Protected member of: G4VSensitiveDetector
Return Class: G4bool
Arguments:
G4Step* theStep
Documentation:
Generate Hits associating with the current step.


Concurrency: Sequential



Operation name:
endOfEvent

Public member of: G4VSensitiveDetector
Return Class: void
Arguments:
G4Event * event
Documentation:
Termination processes at the end of each event.

Concurrency: Sequential



Operation name:
clear

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Clear all hits associating with the detector.
This method will be called both at the end of the
current event and at the abortion of the current
event.

Concurrency: Sequential



Operation name:
activate

Public member of: G4VSensitiveDetector
Return Class: void
Arguments:
G4bool activeFlag
Documentation:
Set activate flag.

Concurrency: Sequential



Operation name:
isActive

Public member of: G4VSensitiveDetector
Return Class: G4bool
Documentation:
Return the activate flag.

Concurrency: Sequential



Operation name:
getName

Public member of: G4VSensitiveDetector
Return Class: G4String
Documentation:
Returns the detector name.

Concurrency: Sequential



Operation name:
drawAll

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Draw all hits associating with the detector.

Concurrency: Sequential



Operation name:
printAll

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
List all hits associating with the detector

Concurrency: Sequential



Operation name:
hit

Public member of: G4VSensitiveDetector
Return Class: G4bool
Arguments:
G4Step * aStep
Concurrency: Sequential



Operation name:
getCollectionName

Public member of: G4VSensitiveDetector
Return Class: G4String
Arguments:
G4int id
Concurrency: Sequential



Operation name:
get_numberOfCollections

Public member of: G4VSensitiveDetector
Return Class: G4int
Documentation:
Return the number of HitsCollections which
"may" be constructed my this SensitiveDetector.

Concurrency: Sequential



Operation name:
getPathName

Public member of: G4VSensitiveDetector
Return Class: G4String
Documentation:
Return the "directory path" of the Sensitive detector.

Concurrency: Sequential



Class name:
G4SDManager

Category: Hits
Documentation:
G4SDManager should be a singleton.


Export Control: Public
Cardinality: 1
Hierarchy:
Superclasses: none
Public Uses:
G4SDmessenger
G4EventManager
G4VSensitiveDetector

Public Interface:
Operations:
addNewDetector
prepareNewEvent
terminateCurrentEvent
activate
get_collectionCapacity
get_collectionID
get_collectionID

Private Interface:
Has-A Relationships:
G4SDStructure treeTop

Implementation:
Has-A Relationships:
G4HCtableElement

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
addNewDetector

Public member of: G4SDManager
Return Class: void
Arguments:
G4SensitiveDetector* aSD
G4String structureTree
G4int numberOfHitsCollection
Documentation:
This method resistrates a new SensitiveDetector
object. This method should be called by user when
he constructs a new SD.

Concurrency: Sequential



Operation name:
prepareNewEvent

Public member of: G4SDManager
Return Class: void
Documentation:
G4EventManager calls this method at the begining
of each event.

Concurrency: Sequential



Operation name:
terminateCurrentEvent

Public member of: G4SDManager
Return Class: void
Arguments:
G4Event * event
Documentation:
G4EventManager calls this method at the end of
each event.

Concurrency: Sequential



Operation name:
activate

Public member of: G4SDManager
Return Class: void
Arguments:
G4String dName
G4bool activeFlag
Documentation:
Activate/inactivale a SensitiveDetector or a group of
SensitiveDetectors.
In case 'dName' is a particular SensitiveDetector,
this method affects to it.
In case 'dName' is (sub-)directory, this command
affects to all SensitiveDetectors in that (sub-)
directory.

Concurrency: Sequential



Operation name:
get_collectionCapacity

Public member of: G4SDManager
Return Class: G4int
Concurrency: Sequential



Operation name:
get_collectionID

Public member of: G4SDManager
Return Class: G4int
Arguments:
G4VHitsCollection * collection
Concurrency: Sequential



Operation name:
get_collectionID

Public member of: G4SDManager
Return Class: G4int
Arguments:
G4String name
Concurrency: Sequential



Class name:
G4SDStructure

Category: Hits
Documentation:
The SD structure is created just like a UNIX file
structure.
User can access to the SensitiveDetector(s) using this
structure
to set them activate/inactivate.
Also all broadcasts are transfered from G4SDManager to
each
SensitiveDetector via this structure.

Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Interface:
Operations:
addNewDetector
activate
initialize
terminate
getSD

Private Interface:
Has-A Relationships:
G4SDStructure tree
G4VSensitiveDetector detector

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
addNewDetector

Public member of: G4SDStructure
Return Class: void
Arguments:
G4SensitiveDetector* aSD
G4String treeStructure
Concurrency: Sequential



Operation name:
activate

Public member of: G4SDStructure
Return Class: void
Arguments:
G4String aName
G4bool sensitiveFlag
Concurrency: Sequential



Operation name:
initialize

Public member of: G4SDStructure
Return Class: void
Concurrency: Sequential



Operation name:
terminate

Public member of: G4SDStructure
Return Class: void
Arguments:
G4Event * event
Concurrency: Sequential



Operation name:
getSD

Public member of: G4SDStructure
Return Class: G4VSensitiveDetector *
Arguments:
G4String name
Concurrency: Sequential



Class name:
G4VHit

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Uses:
G4Allocator

Public Interface:
Operations:
draw
print

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
draw

Public member of: G4VHit
Return Class: void
Concurrency: Sequential



Operation name:
print

Public member of: G4VHit
Return Class: void
Concurrency: Sequential



Class name:
G4SDmessenger

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: (G4ICmessenger), G4VICmessenger
Private Interface:
Has-A Relationships:
G4SDManager manager

State machine: No
Concurrency: Sequential
Persistence: Transient



Class name:
G4VHitsCollection

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Interface:
Operations:
setEvent

Private Interface:
Has-A Relationships:
G4String collectionName
G4HCofThisEvent event
G4String SDname
Name of Sensitive Detector which creates
this HitsCollection.

G4String SDpathName
"directory path" of the sensitive
detector which creates this
HitsCollection.


Implementation:
Has-A Relationships:
G4VHit hit

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
setEvent

Public member of: G4VHitsCollection
Return Class: void
Arguments:
G4Event * theEvent
Concurrency: Sequential



Class name:
G4VReadOutGeometry

Category: Hits
Documentation:
G4ReadOutGeometry is a geometry used locally by
G4VSensitiveDetector for describing a geometry setup
(possibly different from the tracking one) when
depositing hits.

Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Interface:
Has-A Relationships:
G4GRSSolid
G4GRSVolume

Operations:
build

Private Interface:
Has-A Relationships:
G4SensitiveVolumeList excludeList
Like 'includeList', but the Volumes
listed here are excluded from the
responsibilities of the current SD.

G4SensitiveVolumeList includeList
A list of G4Logical and/or G4VPhysical
Volumes from the tracking geometry for
which the current SD is 'responsible' for
depositing hits in.





State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
build

Public member of: G4VReadOutGeometry
Documentation:
Virtual method to build user's readout geometry for the
given SD.

Concurrency: Sequential



Class name:
G4HCofThisEvent

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Uses:
G4SDManager

Public Interface:
Operations:
add_hitsCollection
get_HC
get_HC
get_capacity
get_numberOfCollections

Private Interface:
Has-A Relationships:
G4VHitsCollection HC

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
add_hitsCollection

Public member of: G4HCofThisEvent
Return Class: void
Arguments:
G4VHitsCollection * aCollection
Concurrency: Sequential



Operation name:
get_HC

Public member of: G4HCofThisEvent
Return Class: G4VHitsCollection *
Arguments:
G4int ID
Concurrency: Sequential



Operation name:
get_HC

Public member of: G4HCofThisEvent
Return Class: G4VHitsCollection *
Arguments:
G4String name
Concurrency: Sequential



Operation name:
get_capacity

Public member of: G4HCofThisEvent
Return Class: G4int
Concurrency: Sequential



Operation name:
get_numberOfCollections

Public member of: G4HCofThisEvent
Return Class: G4int
Concurrency: Sequential



Class name:
G4HCtableElement

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
State machine: No
Concurrency: Sequential
Persistence: Transient



Class name:
G4VSensitiveDetector

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Uses:
G4VHit
G4Step

Public Interface:
Operations:
initialize
endOfEvent
clear
activate
isActive
getName
drawAll
printAll
hit
getCollectionName
get_numberOfCollections
getPathName

Protected Interface:
Operations:
processHits

Private Interface:
Has-A Relationships:
G4VHitsCollection aCollection
G4VReadOutGeometry
G4SDManager manager

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
initialize

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Initializations for each event

Concurrency: Sequential



Operation name:
processHits

Protected member of: G4VSensitiveDetector
Return Class: G4bool
Arguments:
G4Step* theStep
Documentation:
Generate Hits associating with the current step.


Concurrency: Sequential



Operation name:
endOfEvent

Public member of: G4VSensitiveDetector
Return Class: void
Arguments:
G4Event * event
Documentation:
Termination processes at the end of each event.

Concurrency: Sequential



Operation name:
clear

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Clear all hits associating with the detector.
This method will be called both at the end of the
current event and at the abortion of the current
event.

Concurrency: Sequential



Operation name:
activate

Public member of: G4VSensitiveDetector
Return Class: void
Arguments:
G4bool activeFlag
Documentation:
Set activate flag.

Concurrency: Sequential



Operation name:
isActive

Public member of: G4VSensitiveDetector
Return Class: G4bool
Documentation:
Return the activate flag.

Concurrency: Sequential



Operation name:
getName

Public member of: G4VSensitiveDetector
Return Class: G4String
Documentation:
Returns the detector name.

Concurrency: Sequential



Operation name:
drawAll

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
Draw all hits associating with the detector.

Concurrency: Sequential



Operation name:
printAll

Public member of: G4VSensitiveDetector
Return Class: void
Documentation:
List all hits associating with the detector

Concurrency: Sequential



Operation name:
hit

Public member of: G4VSensitiveDetector
Return Class: G4bool
Arguments:
G4Step * aStep
Concurrency: Sequential



Operation name:
getCollectionName

Public member of: G4VSensitiveDetector
Return Class: G4String
Arguments:
G4int id
Concurrency: Sequential



Operation name:
get_numberOfCollections

Public member of: G4VSensitiveDetector
Return Class: G4int
Documentation:
Return the number of HitsCollections which
"may" be constructed my this SensitiveDetector.

Concurrency: Sequential



Operation name:
getPathName

Public member of: G4VSensitiveDetector
Return Class: G4String
Documentation:
Return the "directory path" of the Sensitive detector.

Concurrency: Sequential



Class name:
G4VReadOutGeometry

Category: Hits
Documentation:
G4ReadOutGeometry is a geometry used locally by
G4VSensitiveDetector for describing a geometry setup
(possibly different from the tracking one) when
depositing hits.

Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Public Interface:
Has-A Relationships:
G4GRSSolid
G4GRSVolume

Operations:
build

Private Interface:
Has-A Relationships:
G4SensitiveVolumeList excludeList
Like 'includeList', but the Volumes
listed here are excluded from the
responsibilities of the current SD.

G4SensitiveVolumeList includeList
A list of G4Logical and/or G4VPhysical
Volumes from the tracking geometry for
which the current SD is 'responsible' for
depositing hits in.





State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
build

Public member of: G4VReadOutGeometry
Documentation:
Virtual method to build user's readout geometry for the
given SD.

Concurrency: Sequential



Class name:
G4SensitiveVolumeList

Category: Hits
Export Control: Public
Cardinality: n
Hierarchy:
Superclasses: none
Generic parameters:
G4Par par1
Public Uses:
RWTPtrOrderedVector

Public Interface:
Has-A Relationships:
G4VPhysicalVolume
G4LogicalVolume
(G4Touchable)

Operations:
checkPV
checkLV

State machine: No
Concurrency: Sequential
Persistence: Transient



Operation name:
checkPV

Public member of: G4SensitiveVolumeList
Return Class: G4bool
Arguments:
G4VPhysicalVolume aVolume
Documentation:
Check if the a PhysicalVolume is on the list.


Concurrency: Sequential



Operation name:
checkLV

Public member of: G4SensitiveVolumeList
Return Class: G4bool
Arguments:
G4LogicalVolume LV
Documentation:
Check if a LogicalVolume is on the list

Concurrency: Sequential