|
ATLAS Offline Software
|
#include <TileDigitsToNtuple.h>
|
| TileDigitsToNtuple (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~TileDigitsToNtuple () |
|
StatusCode | initialize () |
|
StatusCode | execute () |
|
StatusCode | finalize () |
|
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 |
|
Definition at line 38 of file TileDigitsToNtuple.h.
◆ StoreGateSvc_t
◆ TileDigitsToNtuple()
TileDigitsToNtuple::TileDigitsToNtuple |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TileDigitsToNtuple()
TileDigitsToNtuple::~TileDigitsToNtuple |
( |
| ) |
|
|
virtual |
◆ 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 TileDigitsToNtuple::execute |
( |
| ) |
|
Definition at line 124 of file TileDigitsToNtuple.cxx.
134 for (
const TileDigits* tile_digits : allTileDigits) {
139 std::vector<float> samples = tile_digits->samples();
140 int n_samples = samples.size();
216 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 TileDigitsToNtuple::finalize |
( |
| ) |
|
◆ initialize()
StatusCode TileDigitsToNtuple::initialize |
( |
| ) |
|
Definition at line 65 of file TileDigitsToNtuple.cxx.
84 ATH_MSG_INFO(
"Reaccessing ntuple " << ntupleCompleteID );
110 ATH_MSG_ERROR(
"Failed to book or to retrieve ntuple " << ntupleCompleteID );
111 return StatusCode::FAILURE;
113 ATH_MSG_INFO(
"Finished booking ntuple " << ntupleCompleteID );
117 return StatusCode::SUCCESS;
◆ 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_adc
NTuple::Array<short> TileDigitsToNtuple::m_adc |
|
private |
◆ m_channel
NTuple::Array<short> TileDigitsToNtuple::m_channel |
|
private |
◆ m_commitNtuple
bool TileDigitsToNtuple::m_commitNtuple |
|
private |
◆ m_detStore
◆ m_digitsContainer
std::string TileDigitsToNtuple::m_digitsContainer |
|
private |
◆ m_drawer
NTuple::Array<short> TileDigitsToNtuple::m_drawer |
|
private |
◆ m_eta
NTuple::Array<short> TileDigitsToNtuple::m_eta |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_gain
NTuple::Array<short> TileDigitsToNtuple::m_gain |
|
private |
◆ m_infoName
std::string TileDigitsToNtuple::m_infoName |
|
private |
◆ m_nChannel
NTuple::Item<short> TileDigitsToNtuple::m_nChannel |
|
private |
◆ m_nSamples
int TileDigitsToNtuple::m_nSamples |
|
private |
◆ m_ntupleID
std::string TileDigitsToNtuple::m_ntupleID |
|
private |
◆ m_ntupleLoc
std::string TileDigitsToNtuple::m_ntupleLoc |
|
private |
◆ m_ntuplePtr
NTuple::Tuple* TileDigitsToNtuple::m_ntuplePtr |
|
private |
◆ m_phi
NTuple::Array<short> TileDigitsToNtuple::m_phi |
|
private |
◆ m_pmt
NTuple::Array<short> TileDigitsToNtuple::m_pmt |
|
private |
◆ m_ros
NTuple::Array<short> TileDigitsToNtuple::m_ros |
|
private |
◆ m_sample
NTuple::Array<short> TileDigitsToNtuple::m_sample |
|
private |
◆ m_samples
NTuple::Matrix<short> TileDigitsToNtuple::m_samples |
|
private |
◆ m_saveAll
bool TileDigitsToNtuple::m_saveAll |
|
private |
◆ m_saveE4prAndMBTS
bool TileDigitsToNtuple::m_saveE4prAndMBTS |
|
private |
◆ m_saveMaxChannels
int TileDigitsToNtuple::m_saveMaxChannels |
|
private |
◆ m_section
NTuple::Array<short> TileDigitsToNtuple::m_section |
|
private |
◆ m_side
NTuple::Array<short> TileDigitsToNtuple::m_side |
|
private |
◆ m_tileHWID
◆ m_tileID
◆ m_tileTBID
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
NTuple::Array< short > m_side
bool is_tiletb(const Identifier &id) const
Test ID if it is TileTBID.
int NdigitSamples() const
Returns the number of sammples (digits) per event.
NTuple::Array< short > m_phi
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int pmt(const Identifier &id) const
const TileTBID * m_tileTBID
NTuple::Array< short > m_ros
int side(const Identifier &id) const
int sample(const Identifier &id) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
NTuple::Tuple * m_ntuplePtr
int tower(const Identifier &id) const
NTuple::Array< short > m_drawer
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
int adc(const Identifier &id) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
int module(const Identifier &id) const
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
int section(const Identifier &id) const
extract section field from TileTB identifier
NTuple::Item< short > m_nChannel
const TileHWID * m_tileHWID
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
NTuple::Array< short > m_pmt
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
NTuple::Array< short > m_eta
DataObjIDColl m_extendedExtraObjects
std::string m_digitsContainer
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
#define ATH_MSG_WARNING(x)
NTuple::Matrix< short > m_samples
NTuple::Array< short > m_adc
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int phi(const Identifier &id) const
extract phi field from MBTS identifier
NTuple::Array< short > m_channel
NTuple::Array< short > m_sample
AthAlgorithm()
Default constructor:
int section(const Identifier &id) const
int eta(const Identifier &id) const
extract eta field from MBTS identifier
NTuple::Array< short > m_section
NTuple::Array< short > m_gain
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int side(const Identifier &id) const
define synonyms for minimum bias scintillators