|
ATLAS Offline Software
|
#include <T_AnalysisConfig.h>
|
| T_AnalysisConfig (const std::string &analysisInstanceName, const std::string &testChainName, const std::string &testType, const std::string &testKey, const std::string &referenceChainName, const std::string &referenceType, const std::string &referenceKey, const std::string &selectionChainName, const std::string &selectionType, const std::string &selectionKey, TrackFilter *testFilter, TrackFilter *referenceFilter, TrackFilter *selectionFilter, TrackAssociator *associator, TrackAnalysis *analysis) |
|
| T_AnalysisConfig (const std::string &analysisInstanceName, const std::string &testChainName, const std::string &testType, const std::string &testKey, const std::string &referenceChainName, const std::string &referenceType, const std::string &referenceKey, TrackFilter *testFilter, TrackFilter *referenceFilter, TrackAssociator *associator, TrackAnalysis *analysis) |
|
virtual | ~T_AnalysisConfig () |
|
void | addTestChain (const std::string &chainName, const std::string &type, const std::string &key) |
|
void | addReferenceChain (const std::string &chainName, const std::string &type, const std::string &key) |
|
void | addSelectionChain (const std::string &chainName, const std::string &type, const std::string &key) |
|
void | addTestFilter (TrackFilter *filter) |
|
void | addReferenceFilter (TrackFilter *filter) |
|
void | addSelectionFilter (TrackFilter *filter) |
|
virtual void | initialize (Provider *p, ToolHandle< Trig::TrigDecisionTool > *tdt) |
|
virtual void | execute () |
|
virtual void | finalize () |
|
virtual void | book () |
|
const std::string | name () const |
|
const std::string | testChains () const |
|
const std::string | referenceChains () const |
|
const std::string | selectionChains () const |
|
const TrackAnalysis * | analysis () const |
|
void | setMCTruth (bool b=true) |
|
bool | mcTruth () const |
|
void | setBeamX (double d) |
|
void | setBeamY (double d) |
|
void | setBeamZ (double d) |
|
double | beamX () const |
|
double | beamY () const |
|
double | beamZ () const |
|
bool | genericFlag () const |
|
void | setGenericFlag (bool b) |
|
std::string | releaseData () const |
|
void | releaseData (const std::string &s) |
|
void | keepAllEvents (bool b) |
|
void | setUseHighestPT (bool b) |
|
bool | getUseHighestPT () const |
|
void | setVtxIndex (int i) |
|
int | getVtxIndex () const |
|
bool | filterOnRoi () const |
|
bool | setFilterOnRoi (bool b) |
|
void | setRequireDecision (bool b) |
|
bool | requireDecision () const |
|
|
virtual void | loop ()=0 |
|
template<class Collection > |
std::pair< typename Collection::const_iterator, typename Collection::const_iterator > | getCollection (const ElementLink< TrigRoiDescriptorCollection > &roi_link, const std::string &key="") |
| new MT feature access More...
|
|
bool | select (std::vector< TIDA::Vertex > &vertices, xAOD::VertexContainer::const_iterator vtx_start, xAOD::VertexContainer::const_iterator vtx_end) |
|
bool | select (std::vector< TIDA::Vertex > &vertices, const ElementLink< TrigRoiDescriptorCollection > &roi_link, const std::string &key="") |
|
bool | select (std::vector< TIDA::Vertex > &vertices, const std::string &key="") |
|
template<class Collection > |
bool | selectTracks (TrigTrackSelector *selector, const ElementLink< TrigRoiDescriptorCollection > &roi_link, const std::string &key="") |
|
template<class Collection > |
bool | selectTracks (TrigTrackSelector *selector, Trig::FeatureContainer::combination_const_iterator citr, const std::string &key="") |
| lagacy run 2 access More...
|
|
template<class Collection > |
bool | selectTracks (TrigTrackSelector *selector, Trig::FeatureContainer::combination_const_iterator citr, const TrigInDetTrackTruthMap *truthmap, const std::string &key="", unsigned index=0) |
| NB: because we want to use this for the L2Star chains, we have to use this method, not the above method without the TruthMap argument - if we don't want/have the TruthMap, just set the pointer to 0 - there should be abetter way to do this, but shan't worry about it now. More...
|
|
template<class Collection > |
StatusCode | retrieve (Collection const *&collection, const std::string &key="") |
|
template<class Collection > |
bool | selectTracks (TrigTrackSelector *selector, const std::string &key) |
|
template<class Collection > |
bool | selectTracksNotEmpty (TrigTrackSelector *selector, const std::string &key) |
|
template<class Collection > |
std::vector< double > | getBeamspot (const std::string &key) |
|
template<class Collection > |
std::vector< double > | getBeamspot (Trig::FeatureContainer::combination_const_iterator citr, const std::string &key="") |
|
unsigned | processElectrons (TrigTrackSelector &selectorRef, std::vector< TrackTrigObject > *elevec=0, const unsigned int selection=0, bool raw_track=false, double ETOffline=0, const std::string &containerName="ElectronAODCollection") |
| select offline electrons More...
|
|
unsigned | processMuons (TrigTrackSelector &selectorRef, const unsigned int selection=0, double ETOffline=0, const std::string &containerName="StacoMuonCollection") |
| select offlinqe muons More...
|
|
unsigned | processTaus (TrigTrackSelector &selectorRef, std::vector< TrackTrigObject > *tauvec=0, const unsigned selection=0, int requireNtracks=0, double EtCutOffline=0, const std::string &containerName="TauRecContainer") |
| select offline taus More...
|
|
template<class Provider>
class T_AnalysisConfig< Provider >
Definition at line 59 of file T_AnalysisConfig.h.
◆ T_AnalysisConfig() [1/2]
template<class Provider >
T_AnalysisConfig< Provider >::T_AnalysisConfig |
( |
const std::string & |
analysisInstanceName, |
|
|
const std::string & |
testChainName, |
|
|
const std::string & |
testType, |
|
|
const std::string & |
testKey, |
|
|
const std::string & |
referenceChainName, |
|
|
const std::string & |
referenceType, |
|
|
const std::string & |
referenceKey, |
|
|
const std::string & |
selectionChainName, |
|
|
const std::string & |
selectionType, |
|
|
const std::string & |
selectionKey, |
|
|
TrackFilter * |
testFilter, |
|
|
TrackFilter * |
referenceFilter, |
|
|
TrackFilter * |
selectionFilter, |
|
|
TrackAssociator * |
associator, |
|
|
TrackAnalysis * |
analysis |
|
) |
| |
|
inline |
Definition at line 69 of file T_AnalysisConfig.h.
100 std::vector<std::string> testChainNames; testChainNames.push_back(testChainName);
101 std::vector<std::string> referenceChainNames; referenceChainNames.push_back(referenceChainName);
102 std::vector<std::string> selectionChainNames; selectionChainNames.push_back(selectionChainName);
105 std::vector<std::string> testTypes; testTypes.push_back(testType);
106 std::vector<std::string> referenceTypes; referenceTypes.push_back(referenceType);
107 std::vector<std::string> selectionTypes; selectionTypes.push_back(selectionType);
111 std::vector<std::string> referenceKeys; referenceKeys.push_back(referenceKey);
112 std::vector<std::string> selectionKeys; selectionKeys.push_back(selectionKey);
115 std::vector<TrackFilter*> testFilters; testFilters.push_back(testFilter);
116 std::vector<TrackFilter*> referenceFilters; referenceFilters.push_back(referenceFilter);
117 std::vector<TrackFilter*> selectionFilters; selectionFilters.push_back(selectionFilter);
◆ T_AnalysisConfig() [2/2]
template<class Provider >
T_AnalysisConfig< Provider >::T_AnalysisConfig |
( |
const std::string & |
analysisInstanceName, |
|
|
const std::string & |
testChainName, |
|
|
const std::string & |
testType, |
|
|
const std::string & |
testKey, |
|
|
const std::string & |
referenceChainName, |
|
|
const std::string & |
referenceType, |
|
|
const std::string & |
referenceKey, |
|
|
TrackFilter * |
testFilter, |
|
|
TrackFilter * |
referenceFilter, |
|
|
TrackAssociator * |
associator, |
|
|
TrackAnalysis * |
analysis |
|
) |
| |
|
inline |
Definition at line 128 of file T_AnalysisConfig.h.
158 std::vector<std::string> testChainNames; testChainNames.push_back(testChainName);
159 std::vector<std::string> referenceChainNames; referenceChainNames.push_back(referenceChainName);
160 std::vector<std::string> selectionChainNames; selectionChainNames.push_back(
"NONE");
163 std::vector<std::string> testTypes; testTypes.push_back(testType);
164 std::vector<std::string> referenceTypes; referenceTypes.push_back(referenceType);
165 std::vector<std::string> selectionTypes; selectionTypes.push_back(
"");
169 std::vector<std::string> referenceKeys; referenceKeys.push_back(referenceKey);
170 std::vector<std::string> selectionKeys; selectionKeys.push_back(
"");
173 std::vector<TrackFilter*> testFilters; testFilters.push_back(testFilter);
174 std::vector<TrackFilter*> referenceFilters; referenceFilters.push_back(referenceFilter);
175 std::vector<TrackFilter*> selectionFilters;
◆ ~T_AnalysisConfig()
template<class Provider >
◆ addReferenceChain()
template<class Provider >
◆ addReferenceFilter()
template<class Provider >
◆ addSelectionChain()
template<class Provider >
◆ addSelectionFilter()
template<class Provider >
◆ addTestChain()
template<class Provider >
◆ addTestFilter()
template<class Provider >
◆ analysis()
template<class Provider >
◆ beamX()
template<class Provider >
◆ beamY()
template<class Provider >
◆ beamZ()
template<class Provider >
◆ book()
template<class Provider >
◆ execute()
template<class Provider >
Definition at line 223 of file T_AnalysisConfig.h.
224 if ( !
m_provider ) std::cerr <<
"ERROR T_AnalysisConfig::execute() called without initialising" << std::endl;
◆ filterOnRoi()
template<class Provider >
◆ finalize()
template<class Provider >
◆ genericFlag()
template<class Provider >
◆ getBeamspot() [1/2]
template<class Provider >
template<class Collection >
Definition at line 632 of file T_AnalysisConfig.h.
634 std::vector<double>
v;
637 if (
m_provider->evtStore()->template contains<Collection>(
key ) ) {
640 if(
sc.isSuccess() && collection ) {
642 typename Collection::const_iterator trackitr = collection->begin();
643 typename Collection::const_iterator trackend = collection->end();
644 if ( trackitr!=trackend ) {
646 v[0] = (*trackitr)->vx();
647 v[1] = (*trackitr)->vy();
648 v[2] = (*trackitr)->vz();
◆ getBeamspot() [2/2]
template<class Provider >
template<class Collection >
Definition at line 661 of file T_AnalysisConfig.h.
662 std::vector< Trig::Feature<Collection> > trackcollections = citr->get<
Collection>(
key, TrigDefs::alsoDeactivateTEs );
663 std::vector<double>
v;
664 if ( !trackcollections.empty() ) {
667 for (
unsigned ifeat=0 ; ifeat<trackcollections.size() ; ifeat++ ) {
670 if ( !trackfeature.
empty() ) {
675 typename Collection::const_iterator trackitr = trigtracks->begin();
676 typename Collection::const_iterator trackend = trigtracks->end();
677 if ( trackitr!=trackend ) {
679 v[0] = (*trackitr)->vx();
680 v[1] = (*trackitr)->vy();
681 v[2] = (*trackitr)->vz();
◆ getCollection()
template<class Provider >
template<class Collection >
new MT feature access
will need this printout for debugging the feature access, so leave this commented until it has been properly debugged, then it can be removed
will not use the te name here, but keep it on just the same for the time being, for subsequent development
Definition at line 297 of file T_AnalysisConfig.h.
306 std::string key_collection =
key;
307 std::string key_tename =
"";
308 size_t pos = key_collection.find(
"/");
309 if (
pos!=std::string::npos ) {
311 key_tename =
key.substr( 0,
pos );
314 std::pair<
typename Collection::const_iterator,
315 typename Collection::const_iterator > itrpair;
320 const std::string* keyStr =
m_provider->evtStore()->keyToString(roi_link.
key(), checkCLID);
321 m_provider->msg(
MSG::DEBUG) <<
"Requesting range over (" <<
key <<
") associated to ROI from " << (keyStr ==
nullptr ?
"UNKNOWN" : *keyStr) <<
endmsg;
323 itrpair = (*m_tdt)->associateToEventView( handle, roi_link );
◆ getUseHighestPT()
template<class Provider >
◆ getVtxIndex()
template<class Provider >
◆ initialize()
template<class Provider >
◆ keepAllEvents()
template<class Provider >
◆ loop()
template<class Provider >
◆ mcTruth()
template<class Provider >
◆ name()
template<class Provider >
◆ processElectrons()
template<class Provider >
select offline electrons
Definition at line 701 of file T_AnalysisConfig.h.
717 # ifdef XAODTRACKING_TRACKPARTICLE_H
726 if( !
m_provider->evtStore()->template contains<Container>(containerName) ) {
727 m_provider->msg(MSG::WARNING) <<
"Error No Electron Container " << containerName <<
" !" <<
endmsg;
732 if(
sc.isFailure() || !container ) {
733 m_provider->msg(MSG::WARNING) <<
"Error retrieving container: " << containerName <<
" !" <<
endmsg;
739 Container::const_iterator elec = container->begin();
740 Container::const_iterator elec_end = container->end();
742 for( ; elec!=elec_end ; ++elec ){
753 bool good_electron =
false;
754 # ifdef XAODTRACKING_TRACKPARTICLE_H
762 long unsigned eleid = (
unsigned long)(&eleduff) ;
772 else trk_added = selectorRef.
selectTrack( (*elec)->trackParticle() );
774 if (trk_added) eleobj.
addChild( selectorRef.
tracks().back()->id() );
775 if (elevec) elevec->push_back( eleobj );
779 return selectorRef.
tracks().size();
◆ processMuons()
template<class Provider >
select offlinqe muons
Definition at line 787 of file T_AnalysisConfig.h.
796 # ifdef XAODTRACKING_TRACKPARTICLE_H
808 if( !
m_provider->evtStore()->template contains<Container>(containerName) ) {
809 m_provider->msg(MSG::WARNING) <<
"Error No MuonCollection" << containerName <<
" !" <<
endmsg;
814 if(
sc.isFailure() || !container ) {
815 m_provider->msg(MSG::WARNING) <<
"Error retrieving " << containerName <<
" !" <<
endmsg;
819 auto muon = container->begin();
820 auto muon_end = container->end();
825 # ifdef XAODTRACKING_TRACKPARTICLE_H
836 return selectorRef.
tracks().size();
◆ processTaus()
template<class Provider >
select offline taus
Definition at line 844 of file T_AnalysisConfig.h.
856 # ifdef XAODTRACKING_TRACKPARTICLE_H
870 if ( !
m_provider->evtStore()->template contains<Container>(containerName)) {
876 if (
sc != StatusCode::SUCCESS) {
877 m_provider->msg(MSG::WARNING) <<
" Offline tau retrieval not successful" <<
endmsg;
881 Container::const_iterator tau = container->begin();
882 Container::const_iterator tau_end = container->end();
885 for ( ; tau!=tau_end ; ++tau ) {
887 # ifdef XAODTRACKING_TRACKPARTICLE_H
890 # ifndef XAODTAU_VERSIONS_TAUJET_V3_H
891 int N = (*tau)->nTracks();
900 unsigned N = (*tau)->numTrack();
904 bool good_tau =
false;
905 # ifdef XAODTRACKING_TRACKPARTICLE_H
915 long unsigned tauid = (
unsigned long)(&duff) ;
923 bool trk_added =
false;
925 for (
unsigned i=
N ;
i-- ; ) {
926 # ifdef XAODTAU_TAUTRACK_H
928 std::vector< ElementLink<xAOD::TrackParticleContainer> > alink = (*tau)->track(
i)->trackLinks();
932 for (
size_t ilink=0 ; ilink<alink.size() ; ilink++ ) {
941 if ( trk_added ) tauobj.
addChild( selectorRef.
tracks().back()->id() );
943 if ( tauvec ) tauvec->push_back( tauobj );
947 return selectorRef.
tracks().size();
◆ referenceChains()
template<class Provider >
◆ releaseData() [1/2]
template<class Provider >
◆ releaseData() [2/2]
template<class Provider >
◆ requireDecision()
template<class Provider >
◆ retrieve()
template<class Provider >
template<class Collection >
old implementation - leave in place until after the full validation ... return m_provider->evtStore()->retrieve( container, containerName);
commented code intentionally left for development purposes ... std::cout << "\t\t\t T_AnalysisConfig::selectTracks() - > TrackSelector" << std::endl;
Definition at line 571 of file T_AnalysisConfig.h.
574 if (
m_provider->evtStore()->template contains<Collection>(
key ) ) {
576 if ( handle.isValid() ) {
579 collection = handle.cptr();
580 return StatusCode::SUCCESS;
583 return StatusCode::FAILURE;
◆ select() [1/3]
template<class Provider >
Definition at line 369 of file T_AnalysisConfig.h.
378 if ( vtx_itrpair.first == vtx_itrpair.second ) {
383 m_provider->msg(
MSG::DEBUG) <<
"\txAOD::VertexContainer found with size " << (vtx_itrpair.second - vtx_itrpair.first)
386 return select( vertices, vtx_itrpair.first, vtx_itrpair.second );
◆ select() [2/3]
template<class Provider >
Definition at line 392 of file T_AnalysisConfig.h.
398 if (
retrieve( xaodVtxCollection,
key ).isFailure()) {
399 m_provider->msg(MSG::WARNING) <<
"xAOD vertex container not found with key " <<
key <<
endmsg;
403 if ( xaodVtxCollection!=0 ) {
407 return select( vertices, xaodVtxCollection->
begin(), xaodVtxCollection->
end() );
413 for ( ; vtxitr != xaodVtxCollection->
end(); vtxitr++ ) {
414 if ( (*vtxitr)->nTrackParticles()>0 && (*vtxitr)->vertexType()!=0 ) {
422 (*vtxitr)->nTrackParticles(),
424 (*vtxitr)->chiSquared(),
425 (*vtxitr)->numberDoF() ) );
◆ select() [3/3]
template<class Provider >
variances
quality
Definition at line 340 of file T_AnalysisConfig.h.
346 for ( ; vtxitr!=vtx_end ; vtxitr++ ) {
347 if ( (*vtxitr)->vertexType()!=0 ) {
357 (*vtxitr)->nTrackParticles(),
359 (*vtxitr)->chiSquared(),
360 (*vtxitr)->numberDoF() ) );
◆ selectionChains()
template<class Provider >
◆ selectTracks() [1/4]
template<class Provider >
template<class Collection >
will need this printout for debugging the feature access, so leave this commented until it has been properly debugged, then it can be removed
will not use the te name here, but keep it on just the same for the time being, for subsequent development
Definition at line 439 of file T_AnalysisConfig.h.
451 std::string key_collection =
key;
452 std::string key_tename =
"";
453 size_t pos = key_collection.find(
"/");
454 if (
pos!=std::string::npos ) {
456 key_tename =
key.substr( 0,
pos );
459 std::pair<
typename Collection::const_iterator,
460 typename Collection::const_iterator > itrpair;
465 const std::string* keyStr =
m_provider->evtStore()->keyToString(roi_link.
key(), checkCLID);
466 m_provider->msg(
MSG::DEBUG) <<
"Requesting range over (" <<
key <<
") associated to ROI from " << (keyStr ==
nullptr ?
"UNKNOWN" : *keyStr) <<
endmsg;
468 itrpair = (*m_tdt)->associateToEventView( handle, roi_link );
470 if ( itrpair.first != itrpair.second ) {
471 selector->selectTracks( itrpair.first, itrpair.second );
◆ selectTracks() [2/4]
template<class Provider >
template<class Collection >
commented code intentionally left for development purposes ...
Definition at line 589 of file T_AnalysisConfig.h.
592 if ( handle.isValid() ) {
595 selector->selectTracks( handle.cptr() );
◆ selectTracks() [3/4]
template<class Provider >
template<class Collection >
lagacy run 2 access
Definition at line 485 of file T_AnalysisConfig.h.
489 std::string key_collection =
key;
490 std::string key_tename =
"";
491 size_t pos = key_collection.find(
"/");
492 if (
pos!=std::string::npos ) {
494 key_tename =
key.substr( 0,
pos );
497 std::vector< Trig::Feature<Collection> > trackcollections = citr->get<
Collection>( key_collection, TrigDefs::alsoDeactivateTEs, key_tename );
498 if ( !trackcollections.empty() ) {
500 for (
unsigned ifeat=0 ; ifeat<trackcollections.size() ; ifeat++ ) {
502 if ( !trackfeature.
empty() ) {
505 selector->selectTracks( trigtracks );
◆ selectTracks() [4/4]
template<class Provider >
template<class Collection >
NB: because we want to use this for the L2Star chains, we have to use this method, not the above method without the TruthMap argument - if we don't want/have the TruthMap, just set the pointer to 0 - there should be abetter way to do this, but shan't worry about it now.
get the correspondiong TE
get all the named collections attached to the TE
now got the collectionVector, can navigate through this
NB: this is safer than using index as an index, ie collectionVector[index] since it will do nothing if index is out of range, although it will be a little slower
useful for debug
Definition at line 521 of file T_AnalysisConfig.h.
525 std::vector< Trig::Feature<Collection> > trackcollections = citr->get<
Collection>(
key, TrigDefs::alsoDeactivateTEs );
526 if ( !trackcollections.empty() ) {
534 for (
unsigned ifeat=0 ; ifeat<trackcollections.size() ; ifeat++ ) {
542 std::vector< const Collection* > collectionVector;
549 for (
unsigned iv=collectionVector.size() ; iv-- ; ) {
553 if (
index!=iv )
continue;
556 selector->selectTracks( collectionVector[iv], truthmap );
◆ selectTracksNotEmpty()
template<class Provider >
template<class Collection >
Definition at line 606 of file T_AnalysisConfig.h.
608 if (
key.empty() )
return false;
609 if ( !
m_provider->evtStore()->template contains<Collection>(
key ) )
return false;
615 if ( !(
sc.isSuccess() && collection ) )
return false;
618 if ( collection->size() == 0 ) {
623 selector->selectTracks( collection );
◆ setBeamX()
template<class Provider >
◆ setBeamY()
template<class Provider >
◆ setBeamZ()
template<class Provider >
◆ setFilterOnRoi()
template<class Provider >
◆ setGenericFlag()
template<class Provider >
◆ setMCTruth()
template<class Provider >
◆ setRequireDecision()
template<class Provider >
◆ setUseHighestPT()
template<class Provider >
◆ setVtxIndex()
template<class Provider >
◆ testChains()
template<class Provider >
◆ m_analysis
template<class Provider >
◆ m_analysisInstanceName
template<class Provider >
◆ m_associator
template<class Provider >
◆ m_beamX
template<class Provider >
◆ m_beamY
template<class Provider >
◆ m_beamZ
template<class Provider >
◆ m_chainNames
template<class Provider >
std::vector< std::vector<std::string> > T_AnalysisConfig< Provider >::m_chainNames |
|
protected |
◆ m_filterOnRoi
template<class Provider >
◆ m_filters
template<class Provider >
◆ m_genericFlag
template<class Provider >
◆ m_keepAllEvents
template<class Provider >
◆ m_keys
template<class Provider >
◆ m_mcTruth
template<class Provider >
◆ m_provider
template<class Provider >
◆ m_refChainKey
template<class Provider >
◆ m_refChainName
template<class Provider >
◆ m_releaseData
template<class Provider >
◆ m_requireDecision
template<class Provider >
◆ m_selectorRef
template<class Provider >
◆ m_selectorSel
template<class Provider >
◆ m_selectorTest
template<class Provider >
◆ m_tdt
template<class Provider >
◆ m_testChainKey
template<class Provider >
◆ m_testChainName
template<class Provider >
◆ m_types
template<class Provider >
◆ m_useHighestPT
template<class Provider >
◆ m_vtxIndex
template<class Provider >
The documentation for this class was generated from the following file:
TrigTrackSelector * m_selectorRef
virtual void initialise()=0
standard operation interface
std::vector< std::vector< std::string > > m_types
std::string m_refChainKey
Const iterator class for DataVector/DataList.
bool isGoodOffline(const Analysis::Electron &elec)
@ z
global position (cartesian)
virtual void clear() override
virtual void finalise()=0
ToolHandle< Trig::TrigDecisionTool > * m_tdt
DataModel_detail::const_iterator< DataVector > const_iterator
Standard const_iterator.
std::string m_testChainName
std::string m_refChainName
const TrackAnalysis * analysis() const
TrigTrackSelector * m_selectorSel
sgkey_t key() const
Get the key that we reference, as a hash.
bool empty() const
test method to check if the object is truly there
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
std::string m_analysisInstanceName
storage of the time histories of all the cells
std::vector< std::vector< std::string > > m_keys
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
const HLT::TriggerElement * te() const
explicit conversion to TriggerElement
bool getFeatures(const TriggerElement *te, std::vector< const T * > &features, const std::string &label="", std::map< const T *, std::string > *labels=0) const
retrieve features attached to given TriggerElement
::StatusCode StatusCode
StatusCode definition for legacy code.
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
TrackAnalysis * m_analysis
Class describing a tau jet.
definition of StoreGate container holding a vector of Analysis::Muon
uint32_t CLID
The Class ID type.
bool selectTrack(const TrigInDetTrack *track, const TrigInDetTrackTruthMap *truthMap=0)
neater code to make use of vector function also for a single ancestor pdgid, instead of the full code...
StatusCode retrieve(Collection const *&collection, const std::string &key="")
TrackAssociator * m_associator
const std::vector< TIDA::Track * > & tracks() const
void testKeys(StoreGateSvc &rSG)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const xAOD::TrackParticle * getOriginalTrackParticle(const xAOD::Electron *el)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the electron.
const std::string name() const
std::vector< std::vector< TrackFilter * > > m_filters
TrigTrackSelector * m_selectorTest
void addChild(unsigned long id)
size_type size() const noexcept
Returns the number of elements in the collection.
std::string m_testChainKey
const T * cptr() const
explicit conversion to object
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
bool select(std::vector< TIDA::Vertex > &vertices, xAOD::VertexContainer::const_iterator vtx_start, xAOD::VertexContainer::const_iterator vtx_end)
std::string m_releaseData
std::vector< std::vector< std::string > > m_chainNames