![]() |
ATLAS Offline Software
|
#include <T_AnalysisConfig.h>
Public Member Functions | |
| 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) |
| const 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 |
Protected Member Functions | |
| 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 | |
| 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 | |
| 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. | |
| 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 | |
| unsigned | processMuons (TrigTrackSelector &selectorRef, const unsigned int selection=0, double ETOffline=0, const std::string &containerName="StacoMuonCollection") |
| select offlinqe muons | |
| 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 | |
Protected Attributes | |
| Provider * | m_provider |
| ToolHandle< Trig::TrigDecisionTool > * | m_tdt |
| std::string | m_analysisInstanceName |
| std::vector< std::vector< std::string > > | m_chainNames |
| std::vector< std::vector< std::string > > | m_types |
| std::vector< std::vector< std::string > > | m_keys |
| std::string | m_refChainName |
| std::string | m_refChainKey |
| std::string | m_testChainName |
| std::string | m_testChainKey |
| std::vector< std::vector< TrackFilter * > > | m_filters |
| TrigTrackSelector * | m_selectorRef |
| TrigTrackSelector * | m_selectorTest |
| TrigTrackSelector * | m_selectorSel |
| TrackAssociator * | m_associator |
| TrackAnalysis * | m_analysis |
| bool | m_mcTruth |
| double | m_beamX |
| double | m_beamY |
| double | m_beamZ |
| int | m_genericFlag |
| std::string | m_releaseData |
| bool | m_keepAllEvents |
| bool | m_useHighestPT |
| int | m_vtxIndex |
| bool | m_filterOnRoi |
| bool | m_requireDecision |
Definition at line 59 of file T_AnalysisConfig.h.
|
inline |
Definition at line 69 of file T_AnalysisConfig.h.
|
inline |
Definition at line 129 of file T_AnalysisConfig.h.
|
inlinevirtual |
Definition at line 189 of file T_AnalysisConfig.h.
|
inline |
Definition at line 203 of file T_AnalysisConfig.h.
|
inline |
Definition at line 212 of file T_AnalysisConfig.h.
|
inline |
Definition at line 207 of file T_AnalysisConfig.h.
|
inline |
Definition at line 213 of file T_AnalysisConfig.h.
|
inline |
Definition at line 199 of file T_AnalysisConfig.h.
|
inline |
Definition at line 211 of file T_AnalysisConfig.h.
|
inline |
Definition at line 258 of file T_AnalysisConfig.h.
|
inline |
Definition at line 266 of file T_AnalysisConfig.h.
|
inline |
Definition at line 267 of file T_AnalysisConfig.h.
|
inline |
Definition at line 268 of file T_AnalysisConfig.h.
|
inlinevirtual |
Reimplemented in AnalysisConfig_Ntuple, T_AnalysisConfig_Tier0< T >, T_AnalysisConfigMT_Tier0< T, A >, T_AnalysisConfigR3_Tier0< T, A >, and T_AnalysisConfigR3_Tier0< AthReentrantAlgorithm, AnalysisR3_Tier0 >.
Definition at line 232 of file T_AnalysisConfig.h.
|
inlinevirtual |
Definition at line 225 of file T_AnalysisConfig.h.
|
inline |
Definition at line 284 of file T_AnalysisConfig.h.
|
inlinevirtual |
Reimplemented in AnalysisConfig_Ntuple, T_AnalysisConfig_Tier0< T >, T_AnalysisConfigMT_Tier0< T, A >, T_AnalysisConfigR3_Tier0< T, A >, and T_AnalysisConfigR3_Tier0< AthReentrantAlgorithm, AnalysisR3_Tier0 >.
Definition at line 230 of file T_AnalysisConfig.h.
|
inline |
Definition at line 270 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 634 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 663 of file T_AnalysisConfig.h.
|
inlineprotected |
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 299 of file T_AnalysisConfig.h.
|
inline |
Definition at line 279 of file T_AnalysisConfig.h.
|
inline |
Definition at line 282 of file T_AnalysisConfig.h.
|
inlinevirtual |
Definition at line 216 of file T_AnalysisConfig.h.
|
inline |
Definition at line 276 of file T_AnalysisConfig.h.
|
protectedpure virtual |
|
inline |
Definition at line 261 of file T_AnalysisConfig.h.
|
inline |
Definition at line 235 of file T_AnalysisConfig.h.
|
inlineprotected |
select offline electrons
Definition at line 703 of file T_AnalysisConfig.h.
|
inlineprotected |
select offlinqe muons
Definition at line 789 of file T_AnalysisConfig.h.
|
inlineprotected |
select offline taus
Definition at line 846 of file T_AnalysisConfig.h.
|
inline |
Definition at line 244 of file T_AnalysisConfig.h.
|
inline |
Definition at line 273 of file T_AnalysisConfig.h.
|
inline |
Definition at line 274 of file T_AnalysisConfig.h.
|
inline |
Definition at line 288 of file T_AnalysisConfig.h.
|
inlineprotected |
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 573 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 371 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 394 of file T_AnalysisConfig.h.
|
inlineprotected |
variances
quality
Definition at line 342 of file T_AnalysisConfig.h.
|
inline |
Definition at line 251 of file T_AnalysisConfig.h.
|
inlineprotected |
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 441 of file T_AnalysisConfig.h.
|
inlineprotected |
commented code intentionally left for development purposes ...
Definition at line 591 of file T_AnalysisConfig.h.
|
inlineprotected |
lagacy run 2 access
Definition at line 487 of file T_AnalysisConfig.h.
|
inlineprotected |
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 523 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 608 of file T_AnalysisConfig.h.
|
inline |
Definition at line 263 of file T_AnalysisConfig.h.
|
inline |
Definition at line 264 of file T_AnalysisConfig.h.
|
inline |
Definition at line 265 of file T_AnalysisConfig.h.
|
inline |
Definition at line 285 of file T_AnalysisConfig.h.
|
inline |
Definition at line 271 of file T_AnalysisConfig.h.
|
inline |
Definition at line 260 of file T_AnalysisConfig.h.
|
inline |
Definition at line 287 of file T_AnalysisConfig.h.
|
inline |
Definition at line 278 of file T_AnalysisConfig.h.
|
inline |
Definition at line 281 of file T_AnalysisConfig.h.
|
inline |
Definition at line 237 of file T_AnalysisConfig.h.
|
protected |
Definition at line 986 of file T_AnalysisConfig.h.
|
protected |
Definition at line 965 of file T_AnalysisConfig.h.
|
protected |
Definition at line 985 of file T_AnalysisConfig.h.
|
protected |
Definition at line 990 of file T_AnalysisConfig.h.
|
protected |
Definition at line 990 of file T_AnalysisConfig.h.
|
protected |
Definition at line 990 of file T_AnalysisConfig.h.
|
protected |
Definition at line 968 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1001 of file T_AnalysisConfig.h.
|
protected |
Definition at line 979 of file T_AnalysisConfig.h.
|
protected |
Definition at line 992 of file T_AnalysisConfig.h.
|
protected |
Definition at line 995 of file T_AnalysisConfig.h.
|
protected |
Definition at line 970 of file T_AnalysisConfig.h.
|
protected |
Definition at line 988 of file T_AnalysisConfig.h.
|
protected |
Definition at line 957 of file T_AnalysisConfig.h.
|
protected |
Definition at line 973 of file T_AnalysisConfig.h.
|
protected |
Definition at line 972 of file T_AnalysisConfig.h.
|
protected |
Definition at line 993 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1003 of file T_AnalysisConfig.h.
|
protected |
Definition at line 981 of file T_AnalysisConfig.h.
|
protected |
Definition at line 983 of file T_AnalysisConfig.h.
|
protected |
Definition at line 982 of file T_AnalysisConfig.h.
|
protected |
Definition at line 959 of file T_AnalysisConfig.h.
|
protected |
Definition at line 976 of file T_AnalysisConfig.h.
|
protected |
Definition at line 975 of file T_AnalysisConfig.h.
|
protected |
Definition at line 969 of file T_AnalysisConfig.h.
|
protected |
Definition at line 997 of file T_AnalysisConfig.h.
|
protected |
Definition at line 999 of file T_AnalysisConfig.h.