|
ATLAS Offline Software
|
#include <SCT_RDOAnalysis.h>
|
| SCT_RDOAnalysis (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~SCT_RDOAnalysis ()=default |
|
virtual StatusCode | initialize () override final |
|
virtual StatusCode | execute () override final |
|
virtual StatusCode | finalize () override final |
|
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 |
|
|
SG::ReadHandleKey< SCT_RDO_Container > | m_inputKey {this, "InputKey", "SCT_RDOs"} |
|
SG::ReadHandleKey< InDetSimDataCollection > | m_inputTruthKey {this, "InputTruthKey", "SCT_SDO_Map"} |
|
SG::ReadHandleKey< McEventCollection > | m_inputMcEventCollectionKey {this, "InputMcEventCollectionKey", "TruthEvent"} |
|
const SCT_ID * | m_sctID |
|
std::vector< unsigned long long > * | m_rdoID |
|
std::vector< unsigned int > * | m_rdoWord |
|
std::vector< int > * | m_barrelEndcap |
|
std::vector< int > * | m_layerDisk |
|
std::vector< int > * | m_phiModule |
|
std::vector< int > * | m_etaModule |
|
std::vector< int > * | m_side |
|
std::vector< int > * | m_strip |
|
std::vector< int > * | m_groupSize |
|
std::vector< unsigned long long > * | m_sdoID |
|
std::vector< int > * | m_sdoWord |
|
std::vector< int > * | m_barrelEndcap_sdo |
|
std::vector< int > * | m_layerDisk_sdo |
|
std::vector< int > * | m_phiModule_sdo |
|
std::vector< int > * | m_etaModule_sdo |
|
std::vector< int > * | m_side_sdo |
|
std::vector< int > * | m_strip_sdo |
|
std::vector< bool > * | m_noise |
|
std::vector< bool > * | m_belowThresh |
|
std::vector< bool > * | m_disabled |
|
std::vector< int > * | m_barcode |
|
std::vector< int > * | m_eventIndex |
|
std::vector< float > * | m_charge |
|
std::vector< std::vector< int > > * | m_barcode_vec |
|
std::vector< std::vector< int > > * | m_eventIndex_vec |
|
std::vector< std::vector< float > > * | m_charge_vec |
|
TH1 * | m_h_rdoID |
|
TH1 * | m_h_rdoWord |
|
TH1 * | m_h_barrelEndcap |
|
TH1 * | m_h_layerDisk |
|
TH1 * | m_h_phiModule |
|
TH1 * | m_h_etaModule |
|
TH1 * | m_h_side |
|
TH1 * | m_h_strip |
|
TH1 * | m_h_groupSize |
|
TH2 * | m_h_phi_v_eta |
|
TH1 * | m_h_brlLayer |
|
TH1 * | m_h_brlPhiMod |
|
TH1 * | m_h_brlEtaMod |
|
TH1 * | m_h_brlSide |
|
TH1 * | m_h_brlStrip |
|
TH1 * | m_h_brlGroupSize |
|
TH2 * | m_h_brl_phi_v_eta |
|
TH1 * | m_h_ecDisk |
|
TH1 * | m_h_ecPhiMod |
|
TH1 * | m_h_ecEtaMod |
|
TH1 * | m_h_ecSide |
|
TH1 * | m_h_ecStrip |
|
TH1 * | m_h_ecGroupSize |
|
TH2 * | m_h_ec_phi_v_eta |
|
TH1 * | m_h_sdoID |
|
TH1 * | m_h_sdoWord |
|
TH1 * | m_h_barrelEndcap_sdo |
|
TH1 * | m_h_layerDisk_sdo |
|
TH1 * | m_h_phiModule_sdo |
|
TH1 * | m_h_etaModule_sdo |
|
TH1 * | m_h_side_sdo |
|
TH1 * | m_h_strip_sdo |
|
TH1 * | m_h_barcode |
|
TH1 * | m_h_eventIndex |
|
TH1 * | m_h_charge |
|
TH2 * | m_h_phi_v_eta_sdo |
|
TH1 * | m_h_TruthMatchedRDOs |
|
TTree * | m_tree |
|
StringProperty | m_ntupleFileName {this, "NtupleFileName", "/ntuples/file1"} |
|
StringProperty | m_ntupleDirName {this, "NtupleDirectoryName", "/SCT_RDOAnalysis/"} |
|
StringProperty | m_ntupleTreeName {this, "NtupleTreeName", "SCT_RDOAna"} |
|
StringProperty | m_path {this, "HistPath", "/SCT_RDOAnalysis/"} |
|
ServiceHandle< ITHistSvc > | m_thistSvc |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 29 of file SCT_RDOAnalysis.h.
◆ StoreGateSvc_t
◆ SCT_RDOAnalysis()
SCT_RDOAnalysis::SCT_RDOAnalysis |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~SCT_RDOAnalysis()
SCT_RDOAnalysis::~SCT_RDOAnalysis |
( |
| ) |
|
|
default |
◆ 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 SCT_RDOAnalysis::execute |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 299 of file SCT_RDOAnalysis.cxx.
335 const HepMC::GenEvent* hardScatterEvent(
nullptr);
336 bool doTruthMatching =
true;
337 if ((!mcEventCollection.isValid())||mcEventCollection->size()==0){
338 ATH_MSG_WARNING(
"Failed to retrieve a nonzero sized truth event collection, disabling truthMatching");
339 doTruthMatching =
false;
341 if(doTruthMatching) hardScatterEvent = mcEventCollection->at(0);
343 if(p_SCT_RDO_cont.isValid()) {
348 for ( ; rdoCont_itr != rdoCont_end; ++rdoCont_itr ) {
353 for ( ; rdo_itr != rdo_end; ++rdo_itr ) {
356 bool findMatch =
false;
357 if(simDataMapSCT.isValid()){
358 InDetSimDataCollection::const_iterator iter = (*simDataMapSCT).find((*rdo_itr)->identify());
360 if ( iter != (*simDataMapSCT).end() ) {
362 const std::vector< InDetSimData::Deposit >& deposits = sdo.
getdeposits();
363 std::vector< InDetSimData::Deposit >::const_iterator nextdeposit = deposits.begin();
364 std::vector< InDetSimData::Deposit >::const_iterator lastdeposit = deposits.end();
365 for( ; nextdeposit!=lastdeposit; ++nextdeposit) {
367 if(particleLink.
isValid() && !findMatch){
378 const Identifier rdoID((*rdo_itr)->identify());
379 const unsigned int rdoWord((*rdo_itr)->getWord());
386 const int sctGroupSize((*rdo_itr)->getGroupSize());
388 const unsigned long long rdoID_int = rdoID.get_compact();
395 m_side->push_back(sctSide);
419 else if (std::abs(sctBrlEc) == 2) {
433 if (simDataMapSCT.isValid()) {
435 InDetSimDataCollection::const_iterator sdo_itr(simDataMapSCT->begin());
436 const InDetSimDataCollection::const_iterator sdo_end(simDataMapSCT->end());
438 std::vector<int> barcode_vec;
439 std::vector<int> eventIndex_vec;
440 std::vector<float> charge_vec;
441 for (; sdo_itr != sdo_end; ++sdo_itr) {
444 const unsigned long long sdoID_int = sdoID.get_compact();
445 const int sdoWord(sdo.
word());
480 const std::vector<InDetSimData::Deposit>& deposits = sdo.
getdeposits();
481 std::vector<InDetSimData::Deposit>::const_iterator dep_itr(deposits.begin());
482 const std::vector<InDetSimData::Deposit>::const_iterator dep_end(deposits.end());
484 for (; dep_itr != dep_end; ++dep_itr) {
488 const float charge((*dep_itr).second);
498 barcode_vec.push_back(
bar);
499 eventIndex_vec.push_back(eventIx);
500 charge_vec.push_back(
charge);
506 eventIndex_vec.clear();
515 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 SCT_RDOAnalysis::finalize |
( |
| ) |
|
|
finaloverridevirtual |
◆ initialize()
StatusCode SCT_RDOAnalysis::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 91 of file SCT_RDOAnalysis.cxx.
155 m_h_layerDisk =
new TH1F(
"h_layerDisk",
"Barrel layer or Endcap disk", 100, 0, 10);
179 m_h_phi_v_eta =
new TH2F(
"h_phi_v_eta",
"Phi module vs eta module", 100, -7, 7, 100, 0, 60);
207 m_h_brl_phi_v_eta =
new TH2F(
"h_brl_phi_v_eta",
"Barrel phi module vs eta module", 100, -7, 7, 100, 0, 60);
235 m_h_ec_phi_v_eta =
new TH2F(
"h_ec_phi_v_eta",
"Endcap phi module vs eta module", 100, -7.5, 7.5, 100, 0, 60);
283 m_h_phi_v_eta_sdo =
new TH2F(
"h_phi_v_eta_sdo",
"Phi module vs eta module (SDO)", 100, -7, 7, 100, 0, 60);
288 TString truthMatchBinLables[4] = {
"All RDOs",
"Truth Matched",
"HS Matched",
"Unmatched" };
289 for(
unsigned int ibin = 1; ibin < 5; ibin++) {
296 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_barcode
std::vector<int>* SCT_RDOAnalysis::m_barcode |
|
private |
◆ m_barcode_vec
std::vector<std::vector<int> >* SCT_RDOAnalysis::m_barcode_vec |
|
private |
◆ m_barrelEndcap
std::vector<int>* SCT_RDOAnalysis::m_barrelEndcap |
|
private |
◆ m_barrelEndcap_sdo
std::vector<int>* SCT_RDOAnalysis::m_barrelEndcap_sdo |
|
private |
◆ m_belowThresh
std::vector<bool>* SCT_RDOAnalysis::m_belowThresh |
|
private |
◆ m_charge
std::vector<float>* SCT_RDOAnalysis::m_charge |
|
private |
◆ m_charge_vec
std::vector<std::vector<float> >* SCT_RDOAnalysis::m_charge_vec |
|
private |
◆ m_detStore
◆ m_disabled
std::vector<bool>* SCT_RDOAnalysis::m_disabled |
|
private |
◆ m_etaModule
std::vector<int>* SCT_RDOAnalysis::m_etaModule |
|
private |
◆ m_etaModule_sdo
std::vector<int>* SCT_RDOAnalysis::m_etaModule_sdo |
|
private |
◆ m_eventIndex
std::vector<int>* SCT_RDOAnalysis::m_eventIndex |
|
private |
◆ m_eventIndex_vec
std::vector<std::vector<int> >* SCT_RDOAnalysis::m_eventIndex_vec |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_groupSize
std::vector<int>* SCT_RDOAnalysis::m_groupSize |
|
private |
◆ m_h_barcode
TH1* SCT_RDOAnalysis::m_h_barcode |
|
private |
◆ m_h_barrelEndcap
TH1* SCT_RDOAnalysis::m_h_barrelEndcap |
|
private |
◆ m_h_barrelEndcap_sdo
TH1* SCT_RDOAnalysis::m_h_barrelEndcap_sdo |
|
private |
◆ m_h_brl_phi_v_eta
TH2* SCT_RDOAnalysis::m_h_brl_phi_v_eta |
|
private |
◆ m_h_brlEtaMod
TH1* SCT_RDOAnalysis::m_h_brlEtaMod |
|
private |
◆ m_h_brlGroupSize
TH1* SCT_RDOAnalysis::m_h_brlGroupSize |
|
private |
◆ m_h_brlLayer
TH1* SCT_RDOAnalysis::m_h_brlLayer |
|
private |
◆ m_h_brlPhiMod
TH1* SCT_RDOAnalysis::m_h_brlPhiMod |
|
private |
◆ m_h_brlSide
TH1* SCT_RDOAnalysis::m_h_brlSide |
|
private |
◆ m_h_brlStrip
TH1* SCT_RDOAnalysis::m_h_brlStrip |
|
private |
◆ m_h_charge
TH1* SCT_RDOAnalysis::m_h_charge |
|
private |
◆ m_h_ec_phi_v_eta
TH2* SCT_RDOAnalysis::m_h_ec_phi_v_eta |
|
private |
◆ m_h_ecDisk
TH1* SCT_RDOAnalysis::m_h_ecDisk |
|
private |
◆ m_h_ecEtaMod
TH1* SCT_RDOAnalysis::m_h_ecEtaMod |
|
private |
◆ m_h_ecGroupSize
TH1* SCT_RDOAnalysis::m_h_ecGroupSize |
|
private |
◆ m_h_ecPhiMod
TH1* SCT_RDOAnalysis::m_h_ecPhiMod |
|
private |
◆ m_h_ecSide
TH1* SCT_RDOAnalysis::m_h_ecSide |
|
private |
◆ m_h_ecStrip
TH1* SCT_RDOAnalysis::m_h_ecStrip |
|
private |
◆ m_h_etaModule
TH1* SCT_RDOAnalysis::m_h_etaModule |
|
private |
◆ m_h_etaModule_sdo
TH1* SCT_RDOAnalysis::m_h_etaModule_sdo |
|
private |
◆ m_h_eventIndex
TH1* SCT_RDOAnalysis::m_h_eventIndex |
|
private |
◆ m_h_groupSize
TH1* SCT_RDOAnalysis::m_h_groupSize |
|
private |
◆ m_h_layerDisk
TH1* SCT_RDOAnalysis::m_h_layerDisk |
|
private |
◆ m_h_layerDisk_sdo
TH1* SCT_RDOAnalysis::m_h_layerDisk_sdo |
|
private |
◆ m_h_phi_v_eta
TH2* SCT_RDOAnalysis::m_h_phi_v_eta |
|
private |
◆ m_h_phi_v_eta_sdo
TH2* SCT_RDOAnalysis::m_h_phi_v_eta_sdo |
|
private |
◆ m_h_phiModule
TH1* SCT_RDOAnalysis::m_h_phiModule |
|
private |
◆ m_h_phiModule_sdo
TH1* SCT_RDOAnalysis::m_h_phiModule_sdo |
|
private |
◆ m_h_rdoID
TH1* SCT_RDOAnalysis::m_h_rdoID |
|
private |
◆ m_h_rdoWord
TH1* SCT_RDOAnalysis::m_h_rdoWord |
|
private |
◆ m_h_sdoID
TH1* SCT_RDOAnalysis::m_h_sdoID |
|
private |
◆ m_h_sdoWord
TH1* SCT_RDOAnalysis::m_h_sdoWord |
|
private |
◆ m_h_side
TH1* SCT_RDOAnalysis::m_h_side |
|
private |
◆ m_h_side_sdo
TH1* SCT_RDOAnalysis::m_h_side_sdo |
|
private |
◆ m_h_strip
TH1* SCT_RDOAnalysis::m_h_strip |
|
private |
◆ m_h_strip_sdo
TH1* SCT_RDOAnalysis::m_h_strip_sdo |
|
private |
◆ m_h_TruthMatchedRDOs
TH1* SCT_RDOAnalysis::m_h_TruthMatchedRDOs |
|
private |
◆ m_inputKey
◆ m_inputMcEventCollectionKey
◆ m_inputTruthKey
◆ m_layerDisk
std::vector<int>* SCT_RDOAnalysis::m_layerDisk |
|
private |
◆ m_layerDisk_sdo
std::vector<int>* SCT_RDOAnalysis::m_layerDisk_sdo |
|
private |
◆ m_noise
std::vector<bool>* SCT_RDOAnalysis::m_noise |
|
private |
◆ m_ntupleDirName
StringProperty SCT_RDOAnalysis::m_ntupleDirName {this, "NtupleDirectoryName", "/SCT_RDOAnalysis/"} |
|
private |
◆ m_ntupleFileName
StringProperty SCT_RDOAnalysis::m_ntupleFileName {this, "NtupleFileName", "/ntuples/file1"} |
|
private |
◆ m_ntupleTreeName
StringProperty SCT_RDOAnalysis::m_ntupleTreeName {this, "NtupleTreeName", "SCT_RDOAna"} |
|
private |
◆ m_path
StringProperty SCT_RDOAnalysis::m_path {this, "HistPath", "/SCT_RDOAnalysis/"} |
|
private |
◆ m_phiModule
std::vector<int>* SCT_RDOAnalysis::m_phiModule |
|
private |
◆ m_phiModule_sdo
std::vector<int>* SCT_RDOAnalysis::m_phiModule_sdo |
|
private |
◆ m_rdoID
std::vector<unsigned long long>* SCT_RDOAnalysis::m_rdoID |
|
private |
◆ m_rdoWord
std::vector<unsigned int>* SCT_RDOAnalysis::m_rdoWord |
|
private |
◆ m_sctID
◆ m_sdoID
std::vector<unsigned long long>* SCT_RDOAnalysis::m_sdoID |
|
private |
◆ m_sdoWord
std::vector<int>* SCT_RDOAnalysis::m_sdoWord |
|
private |
◆ m_side
std::vector<int>* SCT_RDOAnalysis::m_side |
|
private |
◆ m_side_sdo
std::vector<int>* SCT_RDOAnalysis::m_side_sdo |
|
private |
◆ m_strip
std::vector<int>* SCT_RDOAnalysis::m_strip |
|
private |
◆ m_strip_sdo
std::vector<int>* SCT_RDOAnalysis::m_strip_sdo |
|
private |
◆ m_thistSvc
◆ m_tree
TTree* SCT_RDOAnalysis::m_tree |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
std::vector< int > * m_groupSize
def retrieve(aClass, aKey=None)
std::vector< unsigned int > * m_rdoWord
std::vector< bool > * m_disabled
std::vector< int > * m_phiModule
Const iterator class for DataVector/DataList.
std::vector< bool > * m_noise
std::vector< std::vector< int > > * m_barcode_vec
const std::vector< Deposit > & getdeposits() const
std::vector< int > * m_barrelEndcap_sdo
static bool isDisabled(const InDetSimData &sdo)
std::vector< unsigned long long > * m_rdoID
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< int > * m_strip_sdo
TH1 * m_h_barrelEndcap_sdo
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
ServiceHandle< ITHistSvc > m_thistSvc
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int phi_module(const Identifier &id) const
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
StringProperty m_ntupleDirName
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
HepMC::ConstGenParticlePtr cptr() const
Dereference.
a link optimized in size for a GenParticle in a McEventCollection
TH1 * m_h_TruthMatchedRDOs
std::vector< unsigned long long > * m_sdoID
virtual StatusCode sysInitialize() override
Override sysInitialize.
StringProperty m_ntupleTreeName
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
std::vector< int > * m_eventIndex
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< McEventCollection > m_inputMcEventCollectionKey
std::vector< int > * m_side
std::vector< int > * m_layerDisk_sdo
std::vector< int > * m_etaModule
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
bool isValid() const
Validity check.
virtual void renounce()=0
std::vector< int > * m_phiModule_sdo
SG::ReadHandleKey< SCT_RDO_Container > m_inputKey
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< int > * m_side_sdo
index_type eventIndex() const
Return the event number of the referenced GenEvent.
const GenParticle * ConstGenParticlePtr
std::vector< int > * m_barrelEndcap
double charge(const T &p)
int layer_disk(const Identifier &id) const
SG::ReadHandleKey< InDetSimDataCollection > m_inputTruthKey
std::vector< int > * m_layerDisk
static bool isNoise(const InDetSimData &sdo)
std::vector< int > * m_etaModule_sdo
DataObjIDColl m_extendedExtraObjects
std::vector< float > * m_charge
#define ATH_MSG_WARNING(x)
int strip(const Identifier &id) const
int eta_module(const Identifier &id) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int side(const Identifier &id) const
std::vector< int > * m_strip
AthAlgorithm()
Default constructor:
std::vector< int > * m_barcode
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
StringProperty m_ntupleFileName
std::vector< bool > * m_belowThresh
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
static bool isBelowThreshold(const InDetSimData &sdo)
std::vector< int > * m_sdoWord
std::vector< std::vector< float > > * m_charge_vec
std::vector< std::vector< int > > * m_eventIndex_vec