DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::SensitiveDetectorObject Class Reference

Data class with properties of sensitive detectors. More...

#include <DetectorInterna.h>

Inheritance diagram for dd4hep::SensitiveDetectorObject:
dd4hep::NamedObject dd4hep::ObjectExtensions

Public Member Functions

 SensitiveDetectorObject ()
 Default constructor. More...
 
 SensitiveDetectorObject (const std::string &nam)
 Initializing constructor. More...
 
virtual ~SensitiveDetectorObject ()
 Internal object destructor: release extension object(s) More...
 
- Public Member Functions inherited from dd4hep::NamedObject
 NamedObject (const char *nam, const char *typ="")
 Initializing constructor. More...
 
 NamedObject (const std::string &nam)
 Initializing constructor. More...
 
 NamedObject (const std::string &nam, const std::string &typ)
 Initializing constructor. More...
 
 NamedObject ()=default
 Standard constructor. More...
 
 NamedObject (const NamedObject &c)=default
 Copy constructor. More...
 
 NamedObject (NamedObject &&c)=default
 Move constructor. More...
 
virtual ~NamedObject ()=default
 Default destructor. More...
 
NamedObjectoperator= (const NamedObject &c)=default
 Assignment operator. More...
 
NamedObjectoperator= (NamedObject &&c)=default
 Move assignment operator. More...
 
const char * GetName () const
 Access name. More...
 
void SetName (const char *nam)
 Set name (used by Handle) More...
 
void SetTitle (const char *tit)
 Set Title (used by Handle) More...
 
const char * GetTitle () const
 Get name (used by Handle) More...
 
- Public Member Functions inherited from dd4hep::ObjectExtensions
 ObjectExtensions (const std::type_info &parent_type)
 Default constructor. More...
 
 ObjectExtensions (const ObjectExtensions &copy)=delete
 Copy constructor. More...
 
virtual ~ObjectExtensions ()
 Default destructor. More...
 
ObjectExtensionsoperator= (const ObjectExtensions &copy)=delete
 Assignment operator. More...
 
void initialize ()
 Initialize non-persistent object containers (e.g. after loading from ROOT file) More...
 
void move (ObjectExtensions &copy)
 Move extensions to target object. More...
 
void clear (bool destroy=true)
 Clear all extensions. More...
 
void copyFrom (const std::map< unsigned long long int, ExtensionEntry * > &ext, void *arg)
 Copy object extensions from another object. Hosting type must be identical! More...
 
void * addExtension (unsigned long long int key, ExtensionEntry *entry)
 Add an extension object to the detector element. More...
 
void * removeExtension (unsigned long long int key, bool destroy)
 Remove an existing extension object from the instance. More...
 
void * extension (unsigned long long int key, bool alert) const
 Access an existing extension object from the detector element. More...
 
void * extension (unsigned long long int key) const
 Access an existing extension object from the detector element. More...
 

Public Attributes

unsigned int magic
 
int verbose
 
int combineHits
 
double ecut
 
Readout readout
 
Region region
 
LimitSet limits
 
std::string hitsCollection
 
- Public Attributes inherited from dd4hep::NamedObject
std::string name
 The object name. More...
 
std::string type
 The object type. More...
 
- Public Attributes inherited from dd4hep::ObjectExtensions
std::map< unsigned long long int, ExtensionEntry * > extensions
 The extensions object. More...
 

Detailed Description

Data class with properties of sensitive detectors.

Author
M.Frank
Version
1.0

\

Definition at line 54 of file DetectorInterna.h.

Constructor & Destructor Documentation

◆ SensitiveDetectorObject() [1/2]

SensitiveDetectorObject::SensitiveDetectorObject ( )

Default constructor.

Definition at line 37 of file DetectorInterna.cpp.

◆ SensitiveDetectorObject() [2/2]

SensitiveDetectorObject::SensitiveDetectorObject ( const std::string &  nam)

Initializing constructor.

Definition at line 45 of file DetectorInterna.cpp.

◆ ~SensitiveDetectorObject()

SensitiveDetectorObject::~SensitiveDetectorObject ( )
virtual

Internal object destructor: release extension object(s)

Definition at line 54 of file DetectorInterna.cpp.

Member Data Documentation

◆ combineHits

int dd4hep::SensitiveDetectorObject::combineHits

Definition at line 58 of file DetectorInterna.h.

◆ ecut

double dd4hep::SensitiveDetectorObject::ecut

Definition at line 59 of file DetectorInterna.h.

◆ hitsCollection

std::string dd4hep::SensitiveDetectorObject::hitsCollection

Definition at line 63 of file DetectorInterna.h.

◆ limits

LimitSet dd4hep::SensitiveDetectorObject::limits

Definition at line 62 of file DetectorInterna.h.

◆ magic

unsigned int dd4hep::SensitiveDetectorObject::magic

Definition at line 56 of file DetectorInterna.h.

◆ readout

Readout dd4hep::SensitiveDetectorObject::readout

Definition at line 60 of file DetectorInterna.h.

◆ region

Region dd4hep::SensitiveDetectorObject::region

Definition at line 61 of file DetectorInterna.h.

◆ verbose

int dd4hep::SensitiveDetectorObject::verbose

Definition at line 57 of file DetectorInterna.h.


The documentation for this class was generated from the following files: