ATLAS Offline Software
|
#include <T_AnalysisConfigMT_Tier0.h>
Public Member Functions | |
T_AnalysisConfigMT_Tier0 (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, TagNProbe *TnP_tool=0) | |
virtual | ~T_AnalysisConfigMT_Tier0 () |
void | setRunPurity (bool b) |
void | setShifter (bool b) |
void | useBeamCondSvc (bool b) |
void | containTracks (bool b) |
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 (T *p, ToolHandle< Trig::TrigDecisionTool > *tdt) |
virtual void | execute () |
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 |
Public Attributes | |
A * | _analysis |
Protected Member Functions | |
virtual void | loop () |
virtual void | book () |
virtual void | finalize () |
void | set_monTool (ToolHandle< GenericMonitoringTool > *m) |
ToolHandle< GenericMonitoringTool > * | monTool () |
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="") |
bool | selectTracks (TrigTrackSelector *selector, const ElementLink< TrigRoiDescriptorCollection > &roi_link, const std::string &key="") |
bool | selectTracks (TrigTrackSelector *selector, Trig::FeatureContainer::combination_const_iterator citr, const std::string &key="") |
lagacy run 2 access More... | |
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... | |
bool | selectTracks (TrigTrackSelector *selector, const std::string &key) |
StatusCode | retrieve (Collection const *&collection, const std::string &key="") |
bool | selectTracksNotEmpty (TrigTrackSelector *selector, const std::string &key) |
std::vector< double > | getBeamspot (const std::string &key) |
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... | |
Definition at line 93 of file T_AnalysisConfigMT_Tier0.h.
|
inline |
FIXME: the m_event should not be needed, we need to make this a local variable
Definition at line 103 of file T_AnalysisConfigMT_Tier0.h.
|
inlinevirtual |
Definition at line 159 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 201 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 210 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 205 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 211 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 197 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 209 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 256 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 264 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 265 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 266 of file T_AnalysisConfig.h.
|
inlineprotectedvirtual |
Reimplemented from T_AnalysisConfig< T >.
Definition at line 1079 of file T_AnalysisConfigMT_Tier0.h.
|
inline |
Definition at line 170 of file T_AnalysisConfigMT_Tier0.h.
|
inlinevirtualinherited |
Definition at line 223 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 282 of file T_AnalysisConfig.h.
|
inlineprotectedvirtual |
Reimplemented from T_AnalysisConfig< T >.
Definition at line 1091 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 268 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
Definition at line 632 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
Definition at line 661 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
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.
|
inlineinherited |
Definition at line 277 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 280 of file T_AnalysisConfig.h.
|
inlinevirtualinherited |
Definition at line 214 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 274 of file T_AnalysisConfig.h.
|
inlineprotectedvirtual |
handle wildcard chain selection - but only the first time NB: also check all other chains as well - only set up an analysis for configured chains
get chain
get matching chains
replace wildcard with actual matching chains ...
end of first event setup
all this should perhaps be class variables
will need to add a vertex filter at some point probably
now start everything going for this event properly ...
(obviously) get the event info
first check whether the chains have actually run, otherwise there's no point doing anything
for Monte Carlo get the truth particles if requested to do so
get the offline vertices into our structure
fetch offline vertices ...
add the truth particles if needed
now add the vertices
now add the offline tracks and reco objects
AOD
xAOD::TruthParticles
anything else?
selectTracks<TruthParticleContainer>( &selectorTruth, "INav4MomTruthEvent" );
now as a check go through the GenEvent collection
found this key
not found any truth collection
count of "events" - or interactions
count of particles
count of "events with some particles"
count of particles in this interaction
hooray! actually found a sensible event
if there were some particles in this interaction ...
need to be careful here, if not requiring truth only should not return
now loop over all relevant chains to get the trigger tracks...
create chains for ntpl
why does this need to be a class variable ???
useful debug information to be kept in for the time being
useful debug information to be kept in
Get chain combinations and loop on them
only use the TDT for extracting collections if this was a trigger analysis for fullscan "offline" type analyses (ie fullscan FTK) do not use this
do we still want the blind chain access for track collections ???
dummy full scan chain
MT Vertex access
new Roi based feature access
new FeatureRequestDescriptor with leg access
count of how many rois processed so far
don't extract any additional rois if a superRoi is requested: In this case, the superRoi would be shared between the different chains
check this is not a spurious TDT match
get the tracks
create analysis chain
get tracks
now get the vertices
retrieve online vertices
"offline" of "roi" type chains
This is nonsense and needs restructuring - why is the truth and offline selection done within this RoI loop? It means the complete offline and truth tracks will be retrieved for every RoI ! really we should have the structure
will leave as it is for the time being
what is this for ???
if we want a purity, we need to swap round which tracks are the reference tracks and which the test tracks
stats book keeping
match test and reference tracks
filter on highest pt track only if required
ignore all tracks belong the specific analysis pt threshold if set
stats book keeping
match test and reference tracks
get vertices for this roi - have to copy to a vector<Vertex*>
Implements T_AnalysisConfig< T >.
Definition at line 191 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 259 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 1114 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 233 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
select offline electrons
Definition at line 701 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
select offlinqe muons
Definition at line 787 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
select offline taus
Definition at line 844 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 242 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 271 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 272 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 286 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
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.
|
inlineprotectedinherited |
Definition at line 369 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
Definition at line 392 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 249 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
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.
|
inlineprotectedinherited |
commented code intentionally left for development purposes ...
Definition at line 589 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
lagacy run 2 access
Definition at line 485 of file T_AnalysisConfig.h.
|
inlineprotectedinherited |
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.
|
inlineprotectedinherited |
Definition at line 606 of file T_AnalysisConfig.h.
|
inlineprotected |
Definition at line 1112 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 261 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 262 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 263 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 283 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 269 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 258 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 285 of file T_AnalysisConfig.h.
|
inline |
Definition at line 164 of file T_AnalysisConfigMT_Tier0.h.
|
inline |
Definition at line 166 of file T_AnalysisConfigMT_Tier0.h.
|
inlineinherited |
Definition at line 276 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 279 of file T_AnalysisConfig.h.
|
inlineinherited |
Definition at line 235 of file T_AnalysisConfig.h.
|
inline |
Definition at line 168 of file T_AnalysisConfigMT_Tier0.h.
A* T_AnalysisConfigMT_Tier0< T, A >::_analysis |
Definition at line 174 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1123 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 984 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 963 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 983 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 988 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 988 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 988 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1122 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1150 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1130 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1128 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1127 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1126 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1129 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1132 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1120 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 999 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 977 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1148 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 990 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1131 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1154 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1155 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 993 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 968 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 986 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1157 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1139 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
output stats
Definition at line 1138 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1140 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1135 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 955 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1146 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 971 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 970 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 991 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 1001 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1142 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 979 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 981 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 980 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1144 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1133 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 957 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 974 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 973 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1124 of file T_AnalysisConfigMT_Tier0.h.
|
protected |
Definition at line 1152 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 967 of file T_AnalysisConfig.h.
|
protected |
Definition at line 1118 of file T_AnalysisConfigMT_Tier0.h.
|
protectedinherited |
Definition at line 995 of file T_AnalysisConfig.h.
|
protectedinherited |
Definition at line 997 of file T_AnalysisConfig.h.