|
ATLAS Offline Software
|
#include <FPGATrackSimRawNtupleWrapperAlg.h>
|
| FPGATrackSimRawNtupleWrapperAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~FPGATrackSimRawNtupleWrapperAlg ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | finalize () override |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
◆ StoreGateSvc_t
◆ FPGATrackSimRawNtupleWrapperAlg()
FPGATrackSimRawNtupleWrapperAlg::FPGATrackSimRawNtupleWrapperAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~FPGATrackSimRawNtupleWrapperAlg()
virtual FPGATrackSimRawNtupleWrapperAlg::~FPGATrackSimRawNtupleWrapperAlg |
( |
| ) |
|
|
virtualdefault |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode FPGATrackSimRawNtupleWrapperAlg::execute |
( |
| ) |
|
|
overridevirtual |
Definition at line 97 of file FPGATrackSimRawNtupleWrapperAlg.cxx.
101 if (last)
return StatusCode::SUCCESS;
106 for (
unsigned int ireg=0;ireg!=
m_ntowers;++ireg) {
125 std::vector<FPGATrackSimHit>::const_iterator ihit = fulllist.begin();
126 std::vector<FPGATrackSimHit>::const_iterator ihitE = fulllist.end();
127 for (;ihit!=ihitE;++ihit) {
129 for (
unsigned int ireg=0;ireg!=
m_ntowers;++ireg) {
166 for (
auto &offline_t: offlinetracks){
176 for (
auto &hit: offline_t.getOfflineHits()){
192 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode FPGATrackSimRawNtupleWrapperAlg::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode FPGATrackSimRawNtupleWrapperAlg::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_actualInteractionsPerCrossing
float FPGATrackSimRawNtupleWrapperAlg::m_actualInteractionsPerCrossing = 0.0F |
|
private |
◆ m_averageInteractionsPerCrossing
float FPGATrackSimRawNtupleWrapperAlg::m_averageInteractionsPerCrossing = 0.0F |
|
private |
◆ m_BCID
int FPGATrackSimRawNtupleWrapperAlg::m_BCID = 0 |
|
private |
◆ m_detStore
◆ m_event_number
int FPGATrackSimRawNtupleWrapperAlg::m_event_number = 0 |
|
private |
◆ m_eventHeader
◆ m_evtinfo
TTree* FPGATrackSimRawNtupleWrapperAlg::m_evtinfo = nullptr |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_extendedLevel1ID
unsigned int FPGATrackSimRawNtupleWrapperAlg::m_extendedLevel1ID = 0U |
|
private |
◆ m_getOffline
BooleanProperty FPGATrackSimRawNtupleWrapperAlg::m_getOffline {this, "GetOffline", false, "flag to enable the offline tracking save"} |
|
private |
◆ m_hitInputTool
◆ m_hittree
TTree* FPGATrackSimRawNtupleWrapperAlg::m_hittree = nullptr |
|
private |
◆ m_LB
int FPGATrackSimRawNtupleWrapperAlg::m_LB = 0 |
|
private |
◆ m_level1TriggerInfo
std::vector<unsigned int> FPGATrackSimRawNtupleWrapperAlg::m_level1TriggerInfo |
|
private |
◆ m_level1TriggerType
unsigned int FPGATrackSimRawNtupleWrapperAlg::m_level1TriggerType = 0U |
|
private |
◆ m_ntowers
unsigned int FPGATrackSimRawNtupleWrapperAlg::m_ntowers = 1 |
|
private |
◆ m_offline_barcode
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_barcode = nullptr |
|
private |
◆ m_offline_barcode_frac
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_barcode_frac = nullptr |
|
private |
◆ m_offline_cluster_tree
TTree* FPGATrackSimRawNtupleWrapperAlg::m_offline_cluster_tree = nullptr |
|
private |
◆ m_offline_clustID
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_clustID = nullptr |
|
private |
◆ m_offline_d0
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_d0 = nullptr |
|
private |
◆ m_offline_eta
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_eta = nullptr |
|
private |
◆ m_offline_isBarrel
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_isBarrel = nullptr |
|
private |
◆ m_offline_isPixel
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_isPixel = nullptr |
|
private |
◆ m_offline_layer
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_layer = nullptr |
|
private |
◆ m_offline_locX
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_locX = nullptr |
|
private |
◆ m_offline_locY
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_locY = nullptr |
|
private |
◆ m_offline_phi
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_phi = nullptr |
|
private |
◆ m_offline_qoverpt
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_qoverpt = nullptr |
|
private |
◆ m_offline_trackNumber
std::vector<int>* FPGATrackSimRawNtupleWrapperAlg::m_offline_trackNumber = nullptr |
|
private |
◆ m_offline_z0
std::vector<float>* FPGATrackSimRawNtupleWrapperAlg::m_offline_z0 = nullptr |
|
private |
◆ m_original_hits
std::vector<FPGATrackSimHit>* FPGATrackSimRawNtupleWrapperAlg::m_original_hits = nullptr |
|
private |
◆ m_outfile
TFile* FPGATrackSimRawNtupleWrapperAlg::m_outfile = nullptr |
|
private |
◆ m_outpath
StringProperty FPGATrackSimRawNtupleWrapperAlg::m_outpath {this, "OutFileName", "httsim_smartwrapper.root", "output path"} |
|
private |
◆ m_run_number
int FPGATrackSimRawNtupleWrapperAlg::m_run_number = 0 |
|
private |
◆ m_trackstree
TTree* FPGATrackSimRawNtupleWrapperAlg::m_trackstree = nullptr |
|
private |
◆ m_truth_tracks
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
std::vector< float > * m_offline_barcode_frac
const std::vector< FPGATrackSimOfflineTrack > & getOfflineTracks() const
BooleanProperty m_getOffline
std::vector< FPGATrackSimTruthTrack > m_truth_tracks
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< float > * m_offline_locY
std::vector< unsigned int > m_level1TriggerInfo
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_hitInputTool
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::vector< float > * m_offline_d0
std::vector< int > * m_offline_isBarrel
#define ATH_MSG_VERBOSE(x)
const std::vector< FPGATrackSimTruthTrack > & getTruthTracks() const
virtual void setOwner(IDataHandleHolder *o)=0
TTree * m_trackstree
TTree with general event information.
unsigned int m_level1TriggerType
std::vector< float > * m_offline_phi
std::vector< float > * m_offline_eta
std::vector< float > * m_offline_locX
virtual StatusCode sysInitialize() override
Override sysInitialize.
float m_averageInteractionsPerCrossing
event number
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
std::vector< int > * m_offline_isPixel
::StatusCode StatusCode
StatusCode definition for legacy code.
int m_event_number
event's run number
float m_actualInteractionsPerCrossing
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::vector< FPGATrackSimHit > * m_original_hits
std::vector< int > * m_offline_trackNumber
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< int > * m_offline_barcode
FPGATrackSimEventInputHeader * m_eventHeader
unsigned int m_extendedLevel1ID
std::vector< int > * m_offline_clustID
std::vector< float > * m_offline_qoverpt
std::vector< int > * m_offline_layer
DataObjIDColl m_extendedExtraObjects
#define ATH_MSG_WARNING(x)
TTree * m_offline_cluster_tree
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
std::vector< float > * m_offline_z0
AthAlgorithm()
Default constructor:
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>