ATLAS Offline Software
Loading...
Searching...
No Matches
T_AnalysisConfigMT_Tier0< T, A > Class Template Reference

#include <T_AnalysisConfigMT_Tier0.h>

Inheritance diagram for T_AnalysisConfigMT_Tier0< T, A >:
Collaboration diagram for T_AnalysisConfigMT_Tier0< T, A >:

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)
const std::string & releaseData () const
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
bool select (std::vector< TIDA::Vertex > &vertices, xAOD::VertexContainer::const_iterator vtx_start, xAOD::VertexContainer::const_iterator vtx_end)
bool selectTracks (TrigTrackSelector *selector, const ElementLink< TrigRoiDescriptorCollection > &roi_link, 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)
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="Electrons")
 select offline electrons
unsigned processMuons (TrigTrackSelector &selectorRef, const unsigned int selection=0, double ETOffline=0, const std::string &containerName="Muons")
 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="TauJets")
 select offline taus

Protected Attributes

bool m_useBeamCondSvc
TIDA::Event * m_event
std::vector< ChainString > m_chainNames
std::vector< A * > m_analyses
std::string m_testType
bool m_doOffline
bool m_doMuons
bool m_doElectrons
bool m_doTaus
bool m_doBjets
bool m_hasTruthMap
bool m_doTauThreeProng
bool m_tauEtCutOffline
std::string m_outputFileName
int m_NRois
 output stats
int m_NRefTracks
int m_NTestTracks
bool m_runPurity
bool m_shifter
double m_pTthreshold
bool m_first
bool m_containTracks
TagNProbe * m_TnP_tool
TH1F * m_invmass
TH1F * m_invmass_obj
ToolHandle< GenericMonitoringTool > * m_monTool
T * m_provider
ToolHandle< Trig::TrigDecisionTool > * m_tdt
std::string m_analysisInstanceName
std::vector< std::vector< std::string > > m_types
std::vector< std::vector< std::string > > m_keys
std::vector< std::vector< TrackFilter * > > m_filters
std::string m_refChainName
std::string m_refChainKey
std::string m_testChainName
std::string m_testChainKey
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

Detailed Description

template<typename T, typename A = Analysis_Tier0>
class T_AnalysisConfigMT_Tier0< T, A >

Definition at line 86 of file T_AnalysisConfigMT_Tier0.h.

Constructor & Destructor Documentation

◆ T_AnalysisConfigMT_Tier0()

template<typename T, typename A = Analysis_Tier0>
T_AnalysisConfigMT_Tier0< T, A >::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 )
inline

FIXME: the m_event should not be needed, we need to make this a local variable

Definition at line 96 of file T_AnalysisConfigMT_Tier0.h.

102 :
108 analysis),
109 _analysis(0),
110 m_useBeamCondSvc(false),
111 m_doOffline(true),
112 m_doMuons(false),
113 m_doElectrons(false),
114 m_doTaus(false),
115 m_doBjets(false),
116 m_hasTruthMap(false),
117 m_doTauThreeProng(false),
118 m_tauEtCutOffline(false),
119 m_NRois(0),
120 m_NRefTracks(0),
121 m_NTestTracks(0),
122 m_runPurity(false),
123 m_shifter(false),
124 m_pTthreshold(0),
125 m_first(true),
126 m_containTracks(false),
128 m_invmass(0),
129 m_invmass_obj(0),
130 m_monTool(0)
131 {
133 m_event = new TIDA::Event();
134 m_chainNames.push_back(testChainName);
135
136#if 0
137 ChainString& chain = m_chainNames.back();
138
139 std::cout << "\nT_AnalysisConfigMT_Tier0::name: " << name() << "\t" << this << std::endl;
140 std::cout << "T_AnalysisConfigMT_Tier0::chain specification: " << testChainName << " -> " << chain << "\t" << chain.raw() << std::endl;
141 std::cout << "\tchain: " << chain.head() << std::endl;
142 std::cout << "\tkey: " << chain.tail() << std::endl;
143 std::cout << "\troi: " << chain.roi() << std::endl;
144 std::cout << "\tvtx: " << chain.vtx() << std::endl;
145 std::cout << "\tte: " << chain.element() << std::endl;
146
147 std::cout << "\tpost: " << chain.post() << std::endl;
148 std::cout << "\tpt: " << chain.postvalue("pt") << std::endl;
149
150 std::cout << "\tcontainTracks: " << m_containTracks << std::endl;
151#endif
152
154 }
std::vector< ChainString > m_chainNames
ToolHandle< GenericMonitoringTool > * m_monTool
const TrackAnalysis * analysis() const
const std::string & name() const
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_AnalysisConfigMT_Tier0()

template<typename T, typename A = Analysis_Tier0>
virtual T_AnalysisConfigMT_Tier0< T, A >::~T_AnalysisConfigMT_Tier0 ( )
inlinevirtual

Definition at line 156 of file T_AnalysisConfigMT_Tier0.h.

156 {
157 delete m_event;
158 if ( m_TnP_tool != 0 ) delete m_TnP_tool ;
159 }

Member Function Documentation

◆ addReferenceChain()

void T_AnalysisConfig< T >::addReferenceChain ( const std::string & chainName,
const std::string & type,
const std::string & key )
inlineinherited

Definition at line 157 of file T_AnalysisConfig.h.

157 {
158 m_chainNames[1].push_back(chainName); m_types[1].push_back(type); m_keys[1].push_back(key);
159 }
std::vector< std::vector< std::string > > m_chainNames
std::vector< std::vector< std::string > > m_types
std::vector< std::vector< std::string > > m_keys

◆ addReferenceFilter()

void T_AnalysisConfig< T >::addReferenceFilter ( TrackFilter * filter)
inlineinherited

Definition at line 166 of file T_AnalysisConfig.h.

166{ m_filters[1].push_back(filter); }
std::vector< std::vector< TrackFilter * > > m_filters

◆ addSelectionChain()

void T_AnalysisConfig< T >::addSelectionChain ( const std::string & chainName,
const std::string & type,
const std::string & key )
inlineinherited

Definition at line 161 of file T_AnalysisConfig.h.

161 {
162 m_chainNames[2].push_back(chainName); m_types[2].push_back(type); m_keys[2].push_back(key);
163 }

◆ addSelectionFilter()

void T_AnalysisConfig< T >::addSelectionFilter ( TrackFilter * filter)
inlineinherited

Definition at line 167 of file T_AnalysisConfig.h.

167{ m_filters[2].push_back(filter); }

◆ addTestChain()

void T_AnalysisConfig< T >::addTestChain ( const std::string & chainName,
const std::string & type,
const std::string & key )
inlineinherited

Definition at line 153 of file T_AnalysisConfig.h.

153 {
154 m_chainNames[0].push_back(chainName); m_types[0].push_back(type); m_keys[0].push_back(key);
155 }

◆ addTestFilter()

void T_AnalysisConfig< T >::addTestFilter ( TrackFilter * filter)
inlineinherited

Definition at line 165 of file T_AnalysisConfig.h.

165{ m_filters[0].push_back(filter); }

◆ analysis()

const TrackAnalysis * T_AnalysisConfig< T >::analysis ( ) const
inlineinherited

Definition at line 212 of file T_AnalysisConfig.h.

212{return m_analysis;}
TrackAnalysis * m_analysis

◆ beamX()

double T_AnalysisConfig< T >::beamX ( ) const
inlineinherited

Definition at line 220 of file T_AnalysisConfig.h.

220{ return m_beamX; }

◆ beamY()

double T_AnalysisConfig< T >::beamY ( ) const
inlineinherited

Definition at line 221 of file T_AnalysisConfig.h.

221{ return m_beamY; }

◆ beamZ()

double T_AnalysisConfig< T >::beamZ ( ) const
inlineinherited

Definition at line 222 of file T_AnalysisConfig.h.

222{ return m_beamZ; }

◆ book()

template<typename T, typename A = Analysis_Tier0>
virtual void T_AnalysisConfigMT_Tier0< T, A >::book ( )
inlineprotectedvirtual

Reimplemented from T_AnalysisConfig< T >.

Definition at line 1059 of file T_AnalysisConfigMT_Tier0.h.

1059 {
1060
1061 if(m_provider->msg().level() <= MSG::VERBOSE)
1062 m_provider->msg(MSG::VERBOSE) << "AnalysisConfigMT_Tier0::book() " << name() << endmsg;
1063
1064 m_provider->msg(MSG::ERROR) << "AnalysisConfigMT_Tier0::book() should no longer be called: " << name() << endmsg;
1065
1066
1067 }

◆ containTracks()

template<typename T, typename A = Analysis_Tier0>
void T_AnalysisConfigMT_Tier0< T, A >::containTracks ( bool b)
inline

Definition at line 167 of file T_AnalysisConfigMT_Tier0.h.

167{ m_containTracks = b; }

◆ execute()

virtual void T_AnalysisConfig< T >::execute ( )
inlinevirtualinherited

Definition at line 179 of file T_AnalysisConfig.h.

179 {
180 if ( !m_provider ) std::cerr << "ERROR T_AnalysisConfig::execute() called without initialising" << std::endl;
181 loop();
182 }
virtual void loop()=0

◆ filterOnRoi()

bool T_AnalysisConfig< T >::filterOnRoi ( ) const
inlineinherited

Definition at line 238 of file T_AnalysisConfig.h.

◆ finalize()

template<typename T, typename A = Analysis_Tier0>
virtual void T_AnalysisConfigMT_Tier0< T, A >::finalize ( )
inlineprotectedvirtual

Reimplemented from T_AnalysisConfig< T >.

Definition at line 1071 of file T_AnalysisConfigMT_Tier0.h.

1071 {
1072
1073 if(m_provider->msg().level() <= MSG::VERBOSE){
1074 m_provider->msg(MSG::VERBOSE) << "AnalysisConfigMT_Tier0::finalise() " << m_provider->name() << endmsg;
1075 }
1076
1077 m_analysis->finalise();
1078
1079 // deleting instance of TnP_tool and setting pointer to null
1080 if ( m_TnP_tool != 0 ) {
1081 delete m_TnP_tool ;
1082 m_TnP_tool = 0 ;
1083 }
1084
1085 m_provider->msg(MSG::INFO) << m_provider->name() << " " << m_chainNames[0] << " \tNRois processed: " << m_NRois << "\tRef tracks: " << m_NRefTracks << "\tTestTracks: " << m_NTestTracks << endmsg;
1086
1087 if(m_provider->msg().level() <= MSG::VERBOSE) {
1088 m_provider->msg(MSG::VERBOSE) << m_provider->name() << " finalised" << endmsg;
1089 }
1090 }

◆ genericFlag()

bool T_AnalysisConfig< T >::genericFlag ( ) const
inlineinherited

Definition at line 224 of file T_AnalysisConfig.h.

◆ getBeamspot()

std::vector< double > T_AnalysisConfig< T >::getBeamspot ( const std::string & key)
inlineprotectedinherited

Definition at line 585 of file T_AnalysisConfig.h.

585 {
586 const Collection* collection = 0;
588
589 if ( key!="" ) {
590 if ( m_provider->evtStore()->template contains<Collection>( key ) ) {
592 if( sc.isSuccess() && collection ) {
593 m_provider->msg(MSG::DEBUG) << "SG Collection->size() " << collection->size() << " (" << key << ")" << endmsg;
594
597 if ( trackitr!=trackend ) {
598 v.resize(3);
599 v[0] = (*trackitr)->vx();
600 v[1] = (*trackitr)->vy();
601 v[2] = (*trackitr)->vz();
602 return v;
603 } // only need to look at the first track
604 }
605 }
606 }
607 return v;
608 }
StatusCode retrieve(Collection const *&collection, const std::string &key="")

◆ getCollection()

std::pair< typename Collection::const_iterator, typename Collection::const_iterator > T_AnalysisConfig< T >::getCollection ( const ElementLink< TrigRoiDescriptorCollection > & roi_link,
const std::string & key = "" )
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 253 of file T_AnalysisConfig.h.

254 {
255
258 // std::cout << "try " << key << "\t" << m_provider->evtStore()->template transientContains<Collection>(key) << std::endl;
259
264 size_t pos = key_collection.find("/");
265 if ( pos!=std::string::npos ) {
266 key_collection = key.substr( pos+1, key.size()-pos );
267 key_tename = key.substr( 0, pos );
268 }
269
272
274
276 const std::string* keyStr = m_provider->evtStore()->keyToString(roi_link.key(), checkCLID);
277 m_provider->msg(MSG::DEBUG) << "Requesting range over (" << key << ") associated to ROI from " << (keyStr == nullptr ? "UNKNOWN" : *keyStr) << endmsg;
278
279 itrpair = (*m_tdt)->associateToEventView( handle, roi_link );
280
281 return itrpair;
282 }

◆ getUseHighestPT()

bool T_AnalysisConfig< T >::getUseHighestPT ( ) const
inlineinherited

Definition at line 233 of file T_AnalysisConfig.h.

◆ getVtxIndex()

int T_AnalysisConfig< T >::getVtxIndex ( ) const
inlineinherited

Definition at line 236 of file T_AnalysisConfig.h.

◆ initialize()

virtual void T_AnalysisConfig< T >::initialize ( T * p,
ToolHandle< Trig::TrigDecisionTool > * tdt )
inlinevirtualinherited

Definition at line 170 of file T_AnalysisConfig.h.

170 {
171 m_provider = p;
172 m_tdt = tdt;
173 if ( m_tdt==0 ) m_analysis->initialise();
174
175 }
ToolHandle< Trig::TrigDecisionTool > * m_tdt

◆ keepAllEvents()

void T_AnalysisConfig< T >::keepAllEvents ( bool b)
inlineinherited

Definition at line 230 of file T_AnalysisConfig.h.

◆ loop()

template<typename T, typename A = Analysis_Tier0>
virtual void T_AnalysisConfigMT_Tier0< T, A >::loop ( )
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" );

I'm oldschool and prefer the implicit (T*)0 than the implicit (T*)nullptr

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

  • loop made on chain selected as the one steering RoI creation

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

  • check_a_trigger_chain_has_passed
  • get_offline_or_truth_particles
  • loop_over_rois
    • get_trigger_tracks
    • filter_offline_or_truth_reference
    • match_tracks
    • call_analyis_routine

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 188 of file T_AnalysisConfigMT_Tier0.h.

188 {
189
190 bool TnP_flag = (m_TnP_tool != 0) ; // flag for tag and probe analysis
191
192 if( m_provider->msg().level() <= MSG::VERBOSE) {
193 m_provider->msg(MSG::VERBOSE) << "AnalysisConfigMT_Tier0::loop() for " << T_AnalysisConfig<T>::m_analysisInstanceName << endmsg;
194 }
195
196 // get (offline) beam position
197 double xbeam = 0;
198 double ybeam = 0;
199
200 if ( m_first ) {
201
202 m_first = false;
203
204 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
205 m_provider->msg(MSG::VERBOSE) << " using beam position\tx=" << xbeam << "\ty=" << ybeam << endmsg;
206
208
209 for ( unsigned i=0 ; i<configuredChains.size() ; i++ ) {
210 // std::cout << "Configured chain " << configuredChains[i] << std::endl;
211 m_provider->msg(MSG::VERBOSE) << "Chain " << configuredChains[i] << endmsg;
212 }
213 }
214
215 // std::cout << "\tloop() analyse chains " << m_chainNames.size() << std::endl;
216
218
220
224 while ( chainitr!=m_chainNames.end() ) {
225
227 ChainString& chainName = (*chainitr);
228
229 if (m_provider->msg().level() <= MSG::VERBOSE) {
230 m_provider->msg(MSG::VERBOSE) << "process chain " << chainName << endmsg;
231 }
232
233 if ( chainName.head() == "" ) {
234
236
237 chains.push_back( ChainString(selectChain) );
238
239 }
240 else {
241
244
245 for ( unsigned iselected=0 ; iselected<selectChains.size() ; iselected++ ) {
246
248
249#if 0
250 std::cout << "sorting:: chain specification: " << chainName << "\traw:" << chainName.raw() << std::endl;
251 std::cout << "\tchain: " << chainName.head() << std::endl;
252 std::cout << "\tkey: " << chainName.tail() << std::endl;
253 std::cout << "\tind: " << chainName.extra() << std::endl;
254 std::cout << "\troi: " << chainName.roi() << std::endl;
255 std::cout << "\tvtx: " << chainName.vtx() << std::endl;
256 std::cout << "\tte: " << chainName.element() << std::endl;
257#endif
258
261
262 if(m_provider->msg().level() <= MSG::VERBOSE) {
263 m_provider->msg(MSG::VERBOSE) << "Matching chain " << selectChains[iselected] << " (" << chainName.head() << ")" << endmsg;
264 }
265
266 // std::cout<< "\tMatching chain " << sc << " (" << chainName.head() << ")" << std::endl;
267
268 }
269 }
270
271 ++chainitr;
272 }
273
274 // m_chainNames.insert( m_chainNames.end(), chains.begin(), chains.end() );
276
277 if(m_provider->msg().level() <= MSG::VERBOSE) {
278 for ( size_t ic=m_chainNames.size() ; ic-- ; ) m_provider->msg(MSG::VERBOSE) << "Analyse chain " << m_chainNames[ic] << endmsg;
279 }
280
281 }
282
283 // std::cout << "\tloop() event analysis ..." << std::endl;
284
287
290
292 // Filter_Combined filterRef (&filter_offline, &filter_vertex);
293
294 int iRefFilter = 1;
295 int iTestFilter = 0;
296
297 if ( m_runPurity ) {
298 iRefFilter = 0;
299 iTestFilter = 1;
300 }
301
304
305
311
312 if ( xbeam!=0 || ybeam!=0 ) {
313 m_selectorRef->setBeamline( xbeam, ybeam );
314 }
315
317
318 // clear the ntuple TIDA::Event class
319 m_event->clear();
320
322
324
325 unsigned run_number = 0;
326 unsigned long long event_number = 0;
327 unsigned lumi_block = 0;
328 unsigned bunch_crossing_id = 0;
329 unsigned time_stamp = 0;
330 double mu_val = 0;
331
332 // std::cout << "\tloop() get EventInfo" << std::endl;
333
334 if ( this->template retrieve(pEventInfo, "EventInfo").isFailure() ) {
335 m_provider->msg(MSG::WARNING) << "Failed to get EventInfo " << endmsg;
336 } else {
337
338 run_number = pEventInfo->runNumber();
339 event_number = pEventInfo->eventNumber();
340 lumi_block = pEventInfo->lumiBlock();
341 time_stamp = pEventInfo->timeStamp();
343 mu_val = pEventInfo->averageInteractionsPerCrossing();
344 }
345
346 if(m_provider->msg().level() <= MSG::VERBOSE){
347 m_provider->msg(MSG::VERBOSE) << "run " << run_number
348 << "\tevent " << event_number
349 << "\tlb " << lumi_block << endmsg;
350 }
351
352 // m_provider->msg(MSG::INFO) << "run " << run_number
353 // << "\tevent " << event_number
354 // << "\tlb " << lumi_block << endmsg;
355
356 // std::cout << "\trun " << run_number << "\tevent " << event_number << "\tlb " << lumi_block << std::endl;
357
358
359 // clear the ntuple TIDA::Event class
360 m_event->clear();
361
362 m_event->run_number(run_number);
363 m_event->event_number(event_number);
364 m_event->lumi_block(lumi_block);
365 m_event->time_stamp(time_stamp);
366 m_event->bunch_crossing_id(bunch_crossing_id);
367 m_event->mu(mu_val);
368
371
372 bool analyse = false;
373
374 // Check HLTResult
375
376 // std::cout << "\tloop() loop over trigger chains to determine whether to process this event ..." << std::endl;
377
378 for ( unsigned ichain=0 ; ichain<m_chainNames.size() ; ichain++ ) {
379
380 const std::string& chainname = m_chainNames[ichain].head();
381
382 if ( chainname == "" ) analyse = true;
383 else {
384
385 //Only for trigger chains
386 if ( chainname.find("L2") == std::string::npos &&
387 chainname.find("EF") == std::string::npos &&
388 chainname.find("HLT") == std::string::npos ) continue;
389
390 if ( m_provider->msg().level() <= MSG::DEBUG ) {
391 m_provider->msg(MSG::DEBUG) << "Chain " << chainname
392 << "\tpass " << (*m_tdt)->isPassed(chainname)
393 << "\tpres " << (*m_tdt)->getPrescale(chainname) << endmsg;
394 }
395
396 // std::cout << "\tChain " << chainname << "\tpass " << (*m_tdt)->isPassed(chainname)
397 // << "\tpres " << (*m_tdt)->getPrescale(chainname) << std::endl;
398
399 if ( (*(m_tdt))->isPassed(chainname) || (*(m_tdt))->getPrescale(chainname) ) analyse = true;
400
401 }
402 }
403
404
405 // if ( (*m_tdt)->ExperimentalAndExpertMethods().isHLTTruncated() ) {
406 // m_provider->msg(MSG::WARNING) << "HLTResult truncated, skipping event" << endmsg;
407 // return;
408 // }
409
410 if ( !this->m_keepAllEvents && !analyse ) {
411 // m_provider->msg(MSG::VERBOSE) << "No chains passed unprescaled - not processing this event" << endmsg;
412 if(m_provider->msg().level() <= MSG::VERBOSE) {
413 m_provider->msg(MSG::VERBOSE) << "No chains passed unprescaled - not processing this event" << endmsg;
414 }
415 // std::cout << "\tNo chains passed unprescaled - not processing this event" << std::endl;
416 return;
417 }
418
419
420
422
423 selectorTruth.clear();
424
425
426
427 if(m_provider->msg().level() <= MSG::VERBOSE)
428 m_provider->msg(MSG::VERBOSE) << "MC Truth flag " << m_mcTruth << endmsg;
429
430 if ( m_mcTruth && m_provider->msg().level() <= MSG::VERBOSE ) m_provider->msg(MSG::VERBOSE) << "getting Truth" << endmsg;
431
432
434
437
440
442
443 m_provider->msg(MSG::VERBOSE) << "fetching AOD Primary vertex container" << endmsg;
444
445 if ( !this->select( vertices, "PrimaryVertices" ) ) {
446 m_provider->msg(MSG::VERBOSE) << "could not retrieve vertex collection " "PrimaryVertices" << std::endl;
447 }
448
450
451 if ( m_mcTruth ) {
452 m_event->addChain( "Truth" );
453 m_event->back().addRoi(TIDARoiDescriptor());
454 m_event->back().back().addTracks(selectorTruth.tracks());
455 }
456
458
459 if ( m_doOffline ) {
460 for ( unsigned i=0 ; i<vertices.size() ; i++ ) {
461 if(m_provider->msg().level() <= MSG::VERBOSE)
462 m_provider->msg(MSG::VERBOSE) << "vertex " << i << " " << vertices[i] << endmsg;
463 m_event->addVertex(vertices[i]);
464 }
465 }
466
468
469 // int Noff = 0;
473
476
477 offline_tracks.clear();
478 electron_tracks.clear();
479 muon_tracks.clear();
480
481 ref_tracks.clear();
482 test_tracks.clear();
483
484 // offline track retrieval now done once for each chain rather than each roi
485 if ( m_provider->msg().level() <= MSG::VERBOSE )
486 m_provider->msg(MSG::VERBOSE) << "MC Truth flag " << m_mcTruth << endmsg;
487
488 bool foundTruth = false;
489
490 if ( !m_doOffline && m_mcTruth ) {
491
492 filter_truth.setRoi( 0 ); // don't filter on RoI yet (or until needed)
493
494 selectorTruth.clear();
495
496 if ( m_provider->msg().level() <= MSG::VERBOSE )
497 m_provider->msg(MSG::VERBOSE) << "getting Truth" << endmsg;
498
499 if ( m_provider->evtStore()->template contains<TruthParticleContainer>("INav4MomTruthEvent") ) {
500 //ESD
501 this->template selectTracks<TruthParticleContainer>( &selectorTruth, "INav4MomTruthEvent" );
502 foundTruth = true;
503 }
504 else if ( m_provider->evtStore()->template contains<TruthParticleContainer>("SpclMC") ) {
506 this->template selectTracks<TruthParticleContainer>( &selectorTruth, "SpclMC");
507 foundTruth = true;
508 }
509 else if ( m_provider->evtStore()->template contains<xAOD::TruthParticleContainer>("TruthParticles") ) {
511 this->template selectTracks<xAOD::TruthParticleContainer>( &selectorTruth, "TruthParticles");
512 foundTruth = true;
513 }
514 else if ( m_provider->evtStore()->template contains<TruthParticleContainer>("") ) {
517 foundTruth = true;
518 }
519 else
520 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
521 m_provider->msg(MSG::VERBOSE) << "Truth not found - none whatsoever!" << endmsg;
522 }
523 }
524
525 if ( !m_doOffline && m_mcTruth && !foundTruth ) {
526
527 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
528 m_provider->msg(MSG::VERBOSE) << "getting Truth" << endmsg;
529 }
530
532
534 const McEventCollection* mcevent = 0;
535
537
538 std::string keys[4] = { "GEN_AOD", "TruthEvent", "", "G4Truth" };
539
540 std::string key = "";
541
542 bool foundcollection = false;
543
544 for ( int ik=0 ; ik<4 ; ik++ ) {
545
546 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
547 m_provider->msg(MSG::VERBOSE) << "Try McEventCollection: " << keys[ik] << endmsg;
548 }
549
550 if ( !m_provider->evtStore()->template contains<McEventCollection>(keys[ik]) ) {
551 if( m_provider->msg().level() <= MSG::VERBOSE )
552 m_provider->msg(MSG::VERBOSE) << "No McEventCollection: " << keys[ik] << endmsg;
553 continue;
554 }
555
556 if ( m_provider->msg().level() <= MSG::VERBOSE )
557 m_provider->msg(MSG::VERBOSE) << "evtStore()->retrieve( mcevent, " << keys[ik] << " )" << endmsg;
558
559 if ( this->template retrieve( mcevent, keys[ik] ).isFailure() ) {
560 if ( m_provider->msg().level() <= MSG::VERBOSE )
561 m_provider->msg(MSG::VERBOSE) << "Failed to get McEventCollection: " << keys[ik] << endmsg;
562 }
563 else {
565 key = keys[ik];
566 if(m_provider->msg().level() <= MSG::VERBOSE)
567 m_provider->msg(MSG::VERBOSE) << "Found McEventCollection: " << key << endmsg;
568 foundcollection = true;
569 break;
570 }
571 }
572
574 if ( !foundcollection ) {
575 if(m_provider->msg().level() <= MSG::VERBOSE)
576 m_provider->msg(MSG::WARNING) << "No MC Truth Collections of any sort, whatsoever!!!" << endmsg;
577
578 // m_tree->Fill();
579 // return StatusCode::FAILURE;
580
581 return;
582 }
583
584 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
585 m_provider->msg(MSG::VERBOSE) << "Found McEventCollection: " << key << "\tNevents " << mcevent->size() << endmsg;
586 }
587
590
591 unsigned ie = 0;
592 unsigned ip = 0;
593
594 unsigned ie_ip = 0;
595
596 while ( evitr!=evend ) {
597
598 int _ip = 0;
599
601
602 //The logic should be clarified here
603 if ( pid!=0 ) {
604
605 for (auto pitr: *(*evitr) ) {
606
607 selectorTruth.selectTrack( pitr );
608
609 ++_ip;
610
611 }
612
613 }
614 ++ie;
615 ++evitr;
616
617 if ( _ip>0 ) {
619 // m_provider->msg(MSG::VERBOSE) << "Found " << ie << "\tpid " << pid << "\t with " << ip << " TruthParticles (GenParticles)" << endmsg;
620 ++ie_ip;
621 ip += _ip;
622 }
623 }
624
625 if(m_provider->msg().level() <= MSG::VERBOSE){
626 m_provider->msg(MSG::VERBOSE) << "Found " << ip << " TruthParticles (GenParticles) in " << ie_ip << " GenEvents out of " << ie << endmsg;
627 m_provider->msg(MSG::VERBOSE) << "selected " << selectorTruth.size() << " TruthParticles (GenParticles)" << endmsg;
628 }
629
630 if(selectorTruth.size() > 0) foundTruth = true;
631
632 if ( !(ip>0) ) {
633 if (m_provider->msg().level() <= MSG::VERBOSE) m_provider->msg(MSG::WARNING) << "NO TRUTH PARTICLES - returning" << endmsg;
634 return;
635 }
636
637 }
638
639 // m_provider->msg(MSG::VERBOSE) << " Offline tracks " << endmsg;
640
641 if ( m_doOffline ) {
642
643 if ( m_provider->evtStore()->template contains<xAOD::TrackParticleContainer>("InDetTrackParticles") ) {
644 this->template selectTracks<xAOD::TrackParticleContainer>( m_selectorRef, "InDetTrackParticles" );
645 refbeamspot = this->template getBeamspot<xAOD::TrackParticleContainer>( "InDetTrackParticles" );
646 }
647 else if ( m_provider->msg().level() <= MSG::WARNING ) {
648 m_provider->msg(MSG::WARNING) << " Offline tracks not found " << endmsg;
649 }
650
651 }
652
653
654 // std::cout << "\tloop() loop over chains proper ..." << std::endl;
655
657 for ( unsigned ichain=0 ; ichain<m_chainNames.size() ; ichain++ ) {
658
660
661 // std::string& chainname = chains[ichain];
662 const std::string& chainname = m_chainNames[ichain].head();
663 const std::string& key = m_chainNames[ichain].tail();
664 const std::string& vtx_name = m_chainNames[ichain].vtx();
665 //Not used left just in case
666 //const std::string& roi_name = m_chainNames[ichain].roi();
667 //const std::string& te_name = m_chainNames[ichain].element();
668 m_pTthreshold = 0;
669
670 if ( m_chainNames[ichain].postcount() ) {
671 std::string ptvalue = m_chainNames[ichain].postvalue("pt");
673 }
674
675
677 unsigned decisiontype;
678
680
681
684
686 // if ( decisiontype==TrigDefs::requireDecision ) std::cout << "\tSUTT TrigDefs::requireDecision " << decisiontype << std::endl;
687 // if ( decisiontype==TrigDefs::Physics ) std::cout << "\tSUTT TrigDefs::Physics " << decisiontype << std::endl;
688
689 if ( chainname!="" && m_provider->msg().level() <= MSG::VERBOSE ) {
690
691 m_provider->msg(MSG::VERBOSE) << "status for chain " << chainname
692 << "\tpass " << (*m_tdt)->isPassed(chainname)
693 << "\tprescale " << (*m_tdt)->getPrescale(chainname) << endmsg;
694
695 m_provider->msg(MSG::VERBOSE) << "fetching features for chain " << chainname << endmsg;
696
697 m_provider->msg(MSG::VERBOSE) << chainname << "\tpassed: " << (*m_tdt)->isPassed( chainname ) << endmsg;
698 }
699
701 // std::cout << "\tstatus for chain " << chainname
702 // << "\tpass " << (*m_tdt)->isPassed( chainname )
703 // << "\tpassdt " << (*m_tdt)->isPassed( chainname, decisiontype )
704 // << "\tprescale " << (*m_tdt)->getPrescale( chainname ) << std::endl;
705
706
707 // m_provider->msg(MSG::INFO) << chainname << "\tpassed: " << (*m_tdt)->isPassed( chainname ) << "\t" << m_chainNames[ichain] << "\trun " << run_number << "\tevent " << event_number << endmsg;
708
709
710 if ( chainname!="" && !this->m_keepAllEvents && !(*m_tdt)->isPassed( chainname, decisiontype ) ) continue;
711
712
715 // Trig::FeatureContainer f = (*m_tdt)->features( chainname, TrigDefs::alsoDeactivateTEs);
716
719
720 // tag and probe analysis processes multiple chains passed in the tag and probe tool at once so loop over vector of chains
722
723 if ( !TnP_flag ) {
724 chainNames.push_back(m_chainNames[ichain].raw()) ;
725 }
726 else {
727 chainNames.push_back(m_TnP_tool->tag()) ;
728 chainNames.push_back(m_TnP_tool->probe()) ;
729 }
730
731 // loop over new chainNames vector but doing the same stuff
732 for ( unsigned i = 0 ; i < chainNames.size() ; ++i ) {
733
736
737 m_event->addChain( chainNames[i] );
738
739 TIDA::Chain& chain = m_event->back();
740
741 if ( chainName == "" ) {
742
744
745 m_selectorTest->clear();
746
748
750
751 chain.addRoi( *roiInfo );
752
753 if ( m_provider->evtStore()->template contains<xAOD::TrackParticleContainer>(key) ) {
756 }
757
759
760 chain.back().addTracks(testtracks);
761
762 if ( vtx_name!="" ) {
763
765
766 m_provider->msg(MSG::VERBOSE) << "\tFetch xAOD::VertexContainer with key " << vtx_name << endmsg;
767
769
770 if ( this->select( tidavertices, vtx_name ) ) chain.back().addVertices( tidavertices );
771 }
772
773
774 delete roiInfo;
775
776 }
777 else {
778
780
781 //std::string roi_key = m_chainNames[ichain].roi();
782
784
786
788
790
791 int leg = -1;
792
793 if ( chainConfig.element()!="" ) {
794 leg = std::atoi(chainConfig.element().c_str());
795 }
796
800 roi_key,
802 "roi",
803 leg ) );
804
805 // const unsigned int featureCollectionMode = const std::string& navElementLinkKey = "roi") const;
806
807 int iroi = 0;
808
810
811 iroi++;
812
816
817 if ( roi_key=="SuperRoi" && iroi>1 ) continue;
818
819 // std::cout << "\troi: get link " << roi_key << " ..." << std::endl;
820
822
824 if ( roi_key!="" && roi_link.dataID()!=roi_key ) continue;
825
826 const TrigRoiDescriptor* const* roiptr = roi_link.cptr();
827
828 if ( roiptr == 0 ) {
829 continue;
830 }
831
832 // std::cout << "\troi: link deref ..." << *roiptr << std::endl;
833
834 if (m_provider->msg().level() <= MSG::VERBOSE) {
835 m_provider->msg(MSG::VERBOSE) << " RoI descriptor for seeded chain " << chainname << " " << **roiptr << endmsg;
836 }
837
839
840 // if ( dbg ) std::cout << "\troi " << iroi << " " << *roiInfo << std::endl;
841
843
844 m_selectorTest->clear();
845
847
848 // beamspot stuff not needed for xAOD::TrackParticles
849
851
852 chain.addRoi( *roiInfo );
853
855
857
858 chain.back().addTracks(testtracks);
859
860
862
863 if ( vtx_name!="" ) {
864
866
868
869 chain.back().addVertices( tidavertices );
870
871 }
872
873
874#if 0
875 if ( dbg ) {
876 std::cout << "\tTIDA analysis for chain: " << chainname << "\t key: " << key << "\t" << **roiptr << std::endl;
877 std::cout << "\tcollections: " << chain.back() << std::endl;
878 }
879#endif
880
881 delete roiInfo;
882
883 }
884
885
886 }
887
888 } // end of loop chainNames vector loop
889
890
891 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
892 m_provider->msg(MSG::VERBOSE) << "event: " << *m_event << endmsg;
893 }
894
895 }
896
897 // close previous loop over chains and open new one
898
899 for ( unsigned ichain=0 ; ichain<m_event->size() ; ichain++ ) {
900
901 TIDA::Chain& chain = (*m_event)[ichain];
903 const std::string& vtx_name = chainConfig.vtx();
904
905 // skip tag chains to avoid performing standard analysis on them (done for tnp at the same time as probes)
906 if ( TnP_flag && chainConfig.extra().find("_tag")!=std::string::npos ) continue ;
907
909
910 if (TnP_flag) {
912 // needs to be done AFTER retrieving offline tracks as m_selectorRef passed as arguement, hence restructuring
913 }
914 else {
915 rois.reserve( chain.size() );
916 for ( size_t ir=0 ; ir<chain.size() ; ir++ ) {
917 rois.push_back( &(chain.rois()[ir]) );
918 }
919 }
920
921 // now loop over the rois (again)
922
923 for ( unsigned iroi=0 ; iroi<rois.size() ; iroi++ ) {
924
925 if ( this->filterOnRoi() ) {
926 filterRef.setRoi( &(rois.at(iroi)->roi() ) );
927 filterRef.containtracks( m_containTracks );
928 }
929 else filterRef.setRoi( 0 );
930
931 test_tracks.clear();
932
933 // this block is before the track retrieval in the original, is it working the same here?
934
948
949 if ( m_provider->msg().level() <= MSG::VERBOSE )
950 m_provider->msg(MSG::VERBOSE) << "MC Truth flag " << m_mcTruth << endmsg;
951
952 if ( !m_doOffline && m_mcTruth ) {
953 if ( this->filterOnRoi() ) filter_truth.setRoi( &(rois.at(iroi)->roi() ) );
955 }
956 else { // ie. if ( m_doOffline )
957 ref_tracks = m_selectorRef->tracks(&filterRef) ;
958 }
959
960 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
961 m_provider->msg(MSG::VERBOSE) << "ref tracks.size() " << m_selectorRef->tracks().size() << endmsg;
962 for ( int ii=m_selectorRef->tracks().size() ; ii-- ; ) {
963 m_provider->msg(MSG::VERBOSE) << " ref track " << ii << " " << *m_selectorRef->tracks()[ii] << endmsg;
964 }
965 }
966
967 test_tracks.clear();
968
969
970 for ( unsigned itrk=0 ; itrk<rois.at(iroi)->tracks().size() ; itrk++ ) {
971 test_tracks.push_back(&(rois.at(iroi)->tracks().at(itrk)));
972 }
973
974 // std::cout << "sutt track multiplicities: offline " << offline_tracks.size() << "\ttest " << test_tracks.size() << std::endl;
975
976 _analysis->setvertices( vertices.size() );
977
978 if ( refbeamspot.size()>0 ) _analysis->setBeamRef( refbeamspot );
979 if ( testbeamspot.size()>0 ) _analysis->setBeamTest( testbeamspot );
980
983
984 if ( m_runPurity ) {
985
986 if ( this->getUseHighestPT() ) HighestPTOnly( test_tracks );
987
989
991 m_NRois++;
992 m_NRefTracks += test_tracks.size();
993 m_NTestTracks += ref_tracks.size();
994
995
998
1000
1001 }
1002 else {
1003
1005 if ( this->getUseHighestPT() ) HighestPTOnly( ref_tracks );
1006
1008
1010
1012 m_NRois++;
1013 m_NRefTracks += ref_tracks.size();
1014 m_NTestTracks += test_tracks.size();
1015
1018
1019 _analysis->setroi( &rois.at(iroi)->roi() );
1021
1022 if ( vtx_name!="" ) {
1024 std::vector<TIDA::Vertex> vr = rois.at(iroi)->vertices();
1026 for ( unsigned iv=0 ; iv<vr.size() ; iv++ ) vtx_rec.push_back( &vr[iv] );
1027
1029 if ( this->getVtxIndex()<0 ) {
1030 for ( unsigned iv=0 ; iv<vertices.size() ; iv++ ) vtx.push_back( &vertices[iv] );
1031 }
1032 else {
1033 if ( vertices.size()>unsigned(this->getVtxIndex()) ) vtx.push_back( &vertices[this->getVtxIndex()] );
1034 }
1035
1036 _analysis->execute_vtx( vtx, vtx_rec, m_event );
1037 }
1038
1039 }
1040
1041 if ( _analysis->debug() ) {
1042 m_provider->msg(MSG::INFO) << "Missing track for " << m_chainNames[ichain]
1043 << "\trun " << run_number
1044 << "\tevent " << event_number
1045 << "\tlb " << lumi_block << endmsg;
1046 }
1047
1048 }
1049
1050 }
1051
1052 if ( m_provider->msg().level() <= MSG::VERBOSE ) {
1053 m_provider->msg(MSG::VERBOSE) << "\n\nEvent " << *m_event << endmsg;
1054 }
1055 }
bool passed(DecisionID id, const DecisionIDContainer &)
checks if required decision ID is in the set of IDs in the container
size_t size() const
Number of registered mappings.
void HighestPTOnly(std::vector< T * > &tracks)
Definition TIDATools.h:20
void FilterPT(std::vector< T * > &tracks, double pt)
Definition TIDATools.h:41
TrigTrackSelector * m_selectorTest
bool selectTracks(TrigTrackSelector *selector, const ElementLink< TrigRoiDescriptorCollection > &roi_link, const std::string &key="")
TrigTrackSelector * m_selectorRef
std::vector< double > getBeamspot(const std::string &key)
TrackAssociator * m_associator
bool select(std::vector< TIDA::Vertex > &vertices, xAOD::VertexContainer::const_iterator vtx_start, xAOD::VertexContainer::const_iterator vtx_end)
int signal_process_id(const GenEvent &evt)
Definition GenEvent.h:572

◆ mcTruth()

bool T_AnalysisConfig< T >::mcTruth ( ) const
inlineinherited

Definition at line 215 of file T_AnalysisConfig.h.

215{ return m_mcTruth; }

◆ monTool()

template<typename T, typename A = Analysis_Tier0>
ToolHandle< GenericMonitoringTool > * T_AnalysisConfigMT_Tier0< T, A >::monTool ( )
inlineprotected

Definition at line 1094 of file T_AnalysisConfigMT_Tier0.h.

1094{ return m_monTool; }

◆ name()

const std::string & T_AnalysisConfig< T >::name ( ) const
inlineinherited

Definition at line 189 of file T_AnalysisConfig.h.

std::string m_analysisInstanceName

◆ processElectrons()

unsigned T_AnalysisConfig< T >::processElectrons ( TrigTrackSelector & selectorRef,
std::vector< TrackTrigObject > * elevec = 0,
const unsigned int selection = 0,
bool raw_track = false,
double ETOffline = 0,
const std::string & containerName = "Electrons" )
inlineprotectedinherited

select offline electrons

Definition at line 654 of file T_AnalysisConfig.h.

660 {
661
662 m_provider->msg(MSG::DEBUG) << "Fetching offline electrons: " << containerName << endmsg;
663
664 selectorRef.clear();
665
667
668 const Container* container = 0;
669
670 if( ! m_provider->evtStore()->template contains<Container>(containerName) ) {
671 m_provider->msg(MSG::WARNING) << "Error No Electron Container " << containerName << " !" << endmsg;
672 return 0;
673 }
674
676 if( sc.isFailure() || !container ) {
677 m_provider->msg(MSG::WARNING) << "Error retrieving container: " << containerName << " !" << endmsg;
678 return 0;
679 }
680
681 m_provider->msg(MSG::DEBUG) << "Event with " << container->size() << " Electron object(s) " << endmsg;
682
685
686 for( ; elec!=elec_end ; ++elec ){
687 //m_provider->msg(MSG::DEBUG) << " Electron " << (*elec)
688 // << ", eta " << (*elec)->eta()
689 // << ", phi " << (*elec)->phi()
690 // << ", ET " << (*elec)->pt()
691 // << ", author " << (*elec)->author()
692 // << ", trackParticle " << (*elec)->trackParticle()
693 // << ", conversion " << (*elec)->conversion()
694 // << ", mediumPP " << ((*elec)->isem(egammaPID::ElectronMediumPP)==0)
695 // << endmsg;
696
697 bool good_electron = false;
699
700 if (good_electron) {
701 const xAOD::Electron_v1& eleduff = *(*elec);
702 long unsigned eleid = (unsigned long)(&eleduff) ;
703 TrackTrigObject eleobj = TrackTrigObject( (*elec)->eta(),
704 (*elec)->phi(),
705 (*elec)->pt(),
706 0,
707 (*elec)->type(),
708 eleid );
709
710 bool trk_added ;
712 else trk_added = selectorRef.selectTrack( (*elec)->trackParticle() );
713
714 if (trk_added) eleobj.addChild( selectorRef.tracks().back()->id() );
715 if (elevec) elevec->push_back( eleobj );
716 }
717 }
718
719 return selectorRef.tracks().size();
720 }
bool isGoodOffline(const xAOD::Electron &elec, const unsigned int selection=0, double ETOffline=0)

◆ processMuons()

unsigned T_AnalysisConfig< T >::processMuons ( TrigTrackSelector & selectorRef,
const unsigned int selection = 0,
double ETOffline = 0,
const std::string & containerName = "Muons" )
inlineprotectedinherited

select offlinqe muons

Definition at line 727 of file T_AnalysisConfig.h.

730 {
731
733
734 m_provider->msg(MSG::DEBUG) << " Offline muons (" << containerName << ")" << endmsg;
735
736 selectorRef.clear();
737
738 const Container* container = 0;
739
740 if( ! m_provider->evtStore()->template contains<Container>(containerName) ) {
741 m_provider->msg(MSG::WARNING) << "Error No MuonCollection" << containerName << " !" << endmsg;
742 return 0;
743 }
744
746 if( sc.isFailure() || !container ) {
747 m_provider->msg(MSG::WARNING) << "Error retrieving " << containerName << " !" << endmsg;
748 return 0;
749 }
750
751 auto muon = container->begin();
752 auto muon_end = container->end();
753
754 // std::cout << "SUTT Offline muons " << container->size() << "\t threshold " << ETOffline << std::endl;
755
756 for( ; muon!=muon_end ; ++muon ){
758 }
759
760
761 // std::cout << "SUTT found " << selectorRef.tracks().size() << " muons for " << containerName << std::endl;
762 m_provider->msg(MSG::DEBUG) << "found " << selectorRef.tracks().size() << " muons for " << containerName << endmsg;
763
764 return selectorRef.tracks().size();
765}

◆ processTaus()

unsigned T_AnalysisConfig< T >::processTaus ( TrigTrackSelector & selectorRef,
std::vector< TrackTrigObject > * tauvec = 0,
const unsigned selection = 0,
int requireNtracks = 0,
double EtCutOffline = 0,
const std::string & containerName = "TauJets" )
inlineprotectedinherited

select offline taus

the previous version of the code ...

used the link to the Trk::Track

Definition at line 772 of file T_AnalysisConfig.h.

778 {
779
781
782 selectorRef.clear();
783
784 const Container* container = 0;
785
786 selectorRef.clear();
787
788 m_provider->msg(MSG::DEBUG) << " Offline taus " << containerName << endmsg;
789
790 if ( !m_provider->evtStore()->template contains<Container>(containerName)) {
791 m_provider->msg(MSG::WARNING) << " Offline taus not found" << endmsg;
792 return 0;
793 }
794
796 if (sc != StatusCode::SUCCESS) {
797 m_provider->msg(MSG::WARNING) << " Offline tau retrieval not successful" << endmsg;
798 return 0;
799 }
800
803
804
805 for ( ; tau!=tau_end ; ++tau ) {
806
807# ifndef XAODTAU_VERSIONS_TAUJET_V3_H
808 int N = (*tau)->nTracks();
809 // std::cout << "SUTT no tau detail " << N << "\t3prong: " << doThreeProng << std::endl;
810# else
811 int N=0;
812 (*tau)->detail( xAOD::TauJetParameters::nChargedTracks, N );
813 // std::cout << "SUTT tau detail: N " << N << "\t3prong: " << doThreeProng << std::endl;
814# endif
815
816 bool good_tau = false;
818
819 // std::cout << "SUTT tau ntracks: " << N << "\tgoodtau: " << good_tau << "\tpt: " << (*tau)->p4().Et() << "\t3prong: " << doThreeProng << std::endl;
820
821 if (good_tau){
822 const xAOD::TauJet_v3& duff = *(*tau);
823 long unsigned tauid = (unsigned long)(&duff) ;
824 TrackTrigObject tauobj = TrackTrigObject( (*tau)->eta(),
825 (*tau)->phi(),
826 (*tau)->pt(),
827 0,
828 (*tau)->type(),
829 tauid );
830
831 bool trk_added = false;
832
833 for ( unsigned i=N ; i-- ; ) {
834
835 std::vector< ElementLink<xAOD::TrackParticleContainer> > alink = (*tau)->track(i)->trackLinks();
836
837 trk_added = false;
838
839 for ( size_t ilink=0 ; ilink<alink.size() ; ilink++ ) {
840 if ( alink[ilink].isValid() ) trk_added = selectorRef.selectTrack((*alink[ilink]));
841 }
843 // trk_added = selectorRef.selectTrack((*tau)->track(i)->track());
845 if ( trk_added ) tauobj.addChild( selectorRef.tracks().back()->id() );
846 }
847 if ( tauvec ) tauvec->push_back( tauobj );
848 }
849 }
850
851 return selectorRef.tracks().size();
852
853}

◆ referenceChains()

const std::string T_AnalysisConfig< T >::referenceChains ( ) const
inlineinherited

Definition at line 198 of file T_AnalysisConfig.h.

198 {
200 for(unsigned int i=0; i<m_chainNames[1].size(); i++)
201 name += (m_chainNames[1][i]+"::"+m_types[1][i]+"::"+m_keys[1][i]+" ");
202 return name;
203 }

◆ releaseData()

const std::string & T_AnalysisConfig< T >::releaseData ( ) const
inlineinherited

Definition at line 227 of file T_AnalysisConfig.h.

227{ return m_releaseData; }

◆ requireDecision()

bool T_AnalysisConfig< T >::requireDecision ( ) const
inlineinherited

Definition at line 242 of file T_AnalysisConfig.h.

◆ retrieve()

StatusCode T_AnalysisConfig< T >::retrieve ( Collection const *& collection,
const std::string & key = "" )
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 524 of file T_AnalysisConfig.h.

524 {
527 if ( m_provider->evtStore()->template contains<Collection>( key ) ) {
529 if ( handle.isValid() ) {
532 collection = handle.cptr();
533 return StatusCode::SUCCESS;
534 }
535 }
536 return StatusCode::FAILURE;
537 }

◆ select()

bool T_AnalysisConfig< T >::select ( std::vector< TIDA::Vertex > & vertices,
xAOD::VertexContainer::const_iterator vtx_start,
xAOD::VertexContainer::const_iterator vtx_end )
inlineprotectedinherited

variances

quality

Definition at line 296 of file T_AnalysisConfig.h.

298 {
299
301
302 for ( ; vtxitr!=vtx_end ; ++vtxitr ) {
303 if ( (*vtxitr)->vertexType()!=0 ) {
304 m_provider->msg(MSG::VERBOSE) << "\tvertex " << (*vtxitr)->z() << endmsg;
305
306 vertices.push_back( TIDA::Vertex( (*vtxitr)->x(),
307 (*vtxitr)->y(),
308 (*vtxitr)->z(),
310 (*vtxitr)->covariancePosition()(Trk::x,Trk::x),
311 (*vtxitr)->covariancePosition()(Trk::y,Trk::y),
312 (*vtxitr)->covariancePosition()(Trk::z,Trk::z),
313 (*vtxitr)->nTrackParticles(),
315 (*vtxitr)->chiSquared(),
316 (*vtxitr)->numberDoF() ) );
317
318 }
319 }
320
321 return true;
322 }

◆ selectionChains()

const std::string T_AnalysisConfig< T >::selectionChains ( ) const
inlineinherited

Definition at line 205 of file T_AnalysisConfig.h.

205 {
207 for(unsigned int i=0; i<m_chainNames[2].size(); i++)
208 name += (m_chainNames[2][i]+"::"+m_types[2][i]+"::"+m_keys[2][i]+" ");
209 return name;
210 }

◆ selectTracks()

bool T_AnalysisConfig< T >::selectTracks ( TrigTrackSelector * selector,
const ElementLink< TrigRoiDescriptorCollection > & roi_link,
const std::string & key = "" )
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 395 of file T_AnalysisConfig.h.

398 {
399
400
403 // std::cout << "try " << key << "\t" << m_provider->evtStore()->template transientContains<Collection>(key) << std::endl;
404
409 size_t pos = key_collection.find("/");
410 if ( pos!=std::string::npos ) {
411 key_collection = key.substr( pos+1, key.size()-pos );
412 key_tename = key.substr( 0, pos );
413 }
414
417
419
421 const std::string* keyStr = m_provider->evtStore()->keyToString(roi_link.key(), checkCLID);
422 m_provider->msg(MSG::DEBUG) << "Requesting range over (" << key << ") associated to ROI from " << (keyStr == nullptr ? "UNKNOWN" : *keyStr) << endmsg;
423
424 itrpair = (*m_tdt)->associateToEventView( handle, roi_link );
425
426 if ( itrpair.first != itrpair.second ) {
427 selector->selectTracks( itrpair.first, itrpair.second );
428 return true;
429 }
430 else {
431 m_provider->msg(MSG::DEBUG) << "TDT TrackFeature collection (" << key << ") is empty " << endmsg;
432 return false;
433 }
434 }

◆ selectTracksNotEmpty()

bool T_AnalysisConfig< T >::selectTracksNotEmpty ( TrigTrackSelector * selector,
const std::string & key )
inlineprotectedinherited

Definition at line 559 of file T_AnalysisConfig.h.

559 {
560 const Collection* collection = nullptr;
561 if ( key.empty() ) return false;
562 if ( !m_provider->evtStore()->template contains<Collection>( key ) ) return false;
563
565
566 if ( !( sc.isSuccess() && collection ) ) return false;
567
568 m_provider->msg(MSG::DEBUG) << "SG Collection->size() " << collection->size() << " (" << key << ")" << endmsg;
569
570 // added to fix muon samples bug
571 if ( collection->size() == 0 ) {
572 m_provider->msg(MSG::WARNING) << "no particles in collection" << endmsg;
573 return false;
574 }
575
577 return true;
578 }

◆ set_monTool()

template<typename T, typename A = Analysis_Tier0>
void T_AnalysisConfigMT_Tier0< T, A >::set_monTool ( ToolHandle< GenericMonitoringTool > * m)
inlineprotected

Definition at line 1092 of file T_AnalysisConfigMT_Tier0.h.

1092{ m_monTool=m; }

◆ setBeamX()

void T_AnalysisConfig< T >::setBeamX ( double d)
inlineinherited

Definition at line 217 of file T_AnalysisConfig.h.

217{ m_beamX=d; }

◆ setBeamY()

void T_AnalysisConfig< T >::setBeamY ( double d)
inlineinherited

Definition at line 218 of file T_AnalysisConfig.h.

218{ m_beamY=d; }

◆ setBeamZ()

void T_AnalysisConfig< T >::setBeamZ ( double d)
inlineinherited

Definition at line 219 of file T_AnalysisConfig.h.

219{ m_beamZ=d; }

◆ setFilterOnRoi()

bool T_AnalysisConfig< T >::setFilterOnRoi ( bool b)
inlineinherited

Definition at line 239 of file T_AnalysisConfig.h.

239{ return m_filterOnRoi=b; }

◆ setGenericFlag()

void T_AnalysisConfig< T >::setGenericFlag ( bool b)
inlineinherited

Definition at line 225 of file T_AnalysisConfig.h.

225{ m_genericFlag=b; }

◆ setMCTruth()

void T_AnalysisConfig< T >::setMCTruth ( bool b = true)
inlineinherited

Definition at line 214 of file T_AnalysisConfig.h.

214{ m_mcTruth=b; }

◆ setRequireDecision()

void T_AnalysisConfig< T >::setRequireDecision ( bool b)
inlineinherited

Definition at line 241 of file T_AnalysisConfig.h.

◆ setRunPurity()

template<typename T, typename A = Analysis_Tier0>
void T_AnalysisConfigMT_Tier0< T, A >::setRunPurity ( bool b)
inline

Definition at line 161 of file T_AnalysisConfigMT_Tier0.h.

161{ m_runPurity=b; }

◆ setShifter()

template<typename T, typename A = Analysis_Tier0>
void T_AnalysisConfigMT_Tier0< T, A >::setShifter ( bool b)
inline

Definition at line 163 of file T_AnalysisConfigMT_Tier0.h.

163{ m_shifter=b; }

◆ setUseHighestPT()

void T_AnalysisConfig< T >::setUseHighestPT ( bool b)
inlineinherited

Definition at line 232 of file T_AnalysisConfig.h.

232{ m_useHighestPT=b; }

◆ setVtxIndex()

void T_AnalysisConfig< T >::setVtxIndex ( int i)
inlineinherited

Definition at line 235 of file T_AnalysisConfig.h.

235{ m_vtxIndex=i; }

◆ testChains()

const std::string T_AnalysisConfig< T >::testChains ( ) const
inlineinherited

Definition at line 191 of file T_AnalysisConfig.h.

191 {
193 for(unsigned int i=0; i<m_chainNames[0].size(); i++)
194 name += (m_chainNames[0][i]+"::"+m_types[0][i]+"::"+m_keys[0][i]+" ");
195 return name;
196 }

◆ useBeamCondSvc()

template<typename T, typename A = Analysis_Tier0>
void T_AnalysisConfigMT_Tier0< T, A >::useBeamCondSvc ( bool b)
inline

Definition at line 165 of file T_AnalysisConfigMT_Tier0.h.

165{ m_useBeamCondSvc = b; }

Member Data Documentation

◆ _analysis

template<typename T, typename A = Analysis_Tier0>
A* T_AnalysisConfigMT_Tier0< T, A >::_analysis

Definition at line 171 of file T_AnalysisConfigMT_Tier0.h.

◆ m_analyses

template<typename T, typename A = Analysis_Tier0>
std::vector<A*> T_AnalysisConfigMT_Tier0< T, A >::m_analyses
protected

Definition at line 1103 of file T_AnalysisConfigMT_Tier0.h.

◆ m_analysis

TrackAnalysis* T_AnalysisConfig< T >::m_analysis
protectedinherited

Definition at line 887 of file T_AnalysisConfig.h.

◆ m_analysisInstanceName

std::string T_AnalysisConfig< T >::m_analysisInstanceName
protectedinherited

Definition at line 867 of file T_AnalysisConfig.h.

◆ m_associator

TrackAssociator* T_AnalysisConfig< T >::m_associator
protectedinherited

Definition at line 886 of file T_AnalysisConfig.h.

◆ m_beamX

double T_AnalysisConfig< T >::m_beamX
protectedinherited

Definition at line 891 of file T_AnalysisConfig.h.

◆ m_beamY

double T_AnalysisConfig< T >::m_beamY
protectedinherited

Definition at line 891 of file T_AnalysisConfig.h.

◆ m_beamZ

double T_AnalysisConfig< T >::m_beamZ
protectedinherited

Definition at line 891 of file T_AnalysisConfig.h.

◆ m_chainNames

template<typename T, typename A = Analysis_Tier0>
std::vector<ChainString> T_AnalysisConfigMT_Tier0< T, A >::m_chainNames
protected

Definition at line 1102 of file T_AnalysisConfigMT_Tier0.h.

◆ m_containTracks

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_containTracks
protected

Definition at line 1130 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doBjets

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doBjets
protected

Definition at line 1110 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doElectrons

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doElectrons
protected

Definition at line 1108 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doMuons

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doMuons
protected

Definition at line 1107 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doOffline

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doOffline
protected

Definition at line 1106 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doTaus

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doTaus
protected

Definition at line 1109 of file T_AnalysisConfigMT_Tier0.h.

◆ m_doTauThreeProng

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_doTauThreeProng
protected

Definition at line 1112 of file T_AnalysisConfigMT_Tier0.h.

◆ m_event

template<typename T, typename A = Analysis_Tier0>
TIDA::Event* T_AnalysisConfigMT_Tier0< T, A >::m_event
protected

Definition at line 1100 of file T_AnalysisConfigMT_Tier0.h.

◆ m_filterOnRoi

bool T_AnalysisConfig< T >::m_filterOnRoi
protectedinherited

Definition at line 902 of file T_AnalysisConfig.h.

◆ m_filters

std::vector< std::vector<TrackFilter*> > T_AnalysisConfig< T >::m_filters
protectedinherited

Definition at line 874 of file T_AnalysisConfig.h.

◆ m_first

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_first
protected

Definition at line 1128 of file T_AnalysisConfigMT_Tier0.h.

◆ m_genericFlag

int T_AnalysisConfig< T >::m_genericFlag
protectedinherited

Definition at line 893 of file T_AnalysisConfig.h.

◆ m_hasTruthMap

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_hasTruthMap
protected

Definition at line 1111 of file T_AnalysisConfigMT_Tier0.h.

◆ m_invmass

template<typename T, typename A = Analysis_Tier0>
TH1F* T_AnalysisConfigMT_Tier0< T, A >::m_invmass
protected

Definition at line 1134 of file T_AnalysisConfigMT_Tier0.h.

◆ m_invmass_obj

template<typename T, typename A = Analysis_Tier0>
TH1F* T_AnalysisConfigMT_Tier0< T, A >::m_invmass_obj
protected

Definition at line 1135 of file T_AnalysisConfigMT_Tier0.h.

◆ m_keepAllEvents

bool T_AnalysisConfig< T >::m_keepAllEvents
protectedinherited

Definition at line 896 of file T_AnalysisConfig.h.

◆ m_keys

std::vector< std::vector<std::string> > T_AnalysisConfig< T >::m_keys
protectedinherited

Definition at line 872 of file T_AnalysisConfig.h.

◆ m_mcTruth

bool T_AnalysisConfig< T >::m_mcTruth
protectedinherited

Definition at line 889 of file T_AnalysisConfig.h.

◆ m_monTool

template<typename T, typename A = Analysis_Tier0>
ToolHandle<GenericMonitoringTool>* T_AnalysisConfigMT_Tier0< T, A >::m_monTool
protected

Definition at line 1137 of file T_AnalysisConfigMT_Tier0.h.

◆ m_NRefTracks

template<typename T, typename A = Analysis_Tier0>
int T_AnalysisConfigMT_Tier0< T, A >::m_NRefTracks
protected

Definition at line 1119 of file T_AnalysisConfigMT_Tier0.h.

◆ m_NRois

template<typename T, typename A = Analysis_Tier0>
int T_AnalysisConfigMT_Tier0< T, A >::m_NRois
protected

output stats

Definition at line 1118 of file T_AnalysisConfigMT_Tier0.h.

◆ m_NTestTracks

template<typename T, typename A = Analysis_Tier0>
int T_AnalysisConfigMT_Tier0< T, A >::m_NTestTracks
protected

Definition at line 1120 of file T_AnalysisConfigMT_Tier0.h.

◆ m_outputFileName

template<typename T, typename A = Analysis_Tier0>
std::string T_AnalysisConfigMT_Tier0< T, A >::m_outputFileName
protected

Definition at line 1115 of file T_AnalysisConfigMT_Tier0.h.

◆ m_provider

T* T_AnalysisConfig< T >::m_provider
protectedinherited

Definition at line 859 of file T_AnalysisConfig.h.

◆ m_pTthreshold

template<typename T, typename A = Analysis_Tier0>
double T_AnalysisConfigMT_Tier0< T, A >::m_pTthreshold
protected

Definition at line 1126 of file T_AnalysisConfigMT_Tier0.h.

◆ m_refChainKey

std::string T_AnalysisConfig< T >::m_refChainKey
protectedinherited

Definition at line 877 of file T_AnalysisConfig.h.

◆ m_refChainName

std::string T_AnalysisConfig< T >::m_refChainName
protectedinherited

Definition at line 876 of file T_AnalysisConfig.h.

◆ m_releaseData

std::string T_AnalysisConfig< T >::m_releaseData
protectedinherited

Definition at line 894 of file T_AnalysisConfig.h.

◆ m_requireDecision

bool T_AnalysisConfig< T >::m_requireDecision
protectedinherited

Definition at line 904 of file T_AnalysisConfig.h.

◆ m_runPurity

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_runPurity
protected

Definition at line 1122 of file T_AnalysisConfigMT_Tier0.h.

◆ m_selectorRef

TrigTrackSelector* T_AnalysisConfig< T >::m_selectorRef
protectedinherited

Definition at line 882 of file T_AnalysisConfig.h.

◆ m_selectorSel

TrigTrackSelector* T_AnalysisConfig< T >::m_selectorSel
protectedinherited

Definition at line 884 of file T_AnalysisConfig.h.

◆ m_selectorTest

TrigTrackSelector* T_AnalysisConfig< T >::m_selectorTest
protectedinherited

Definition at line 883 of file T_AnalysisConfig.h.

◆ m_shifter

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_shifter
protected

Definition at line 1124 of file T_AnalysisConfigMT_Tier0.h.

◆ m_tauEtCutOffline

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_tauEtCutOffline
protected

Definition at line 1113 of file T_AnalysisConfigMT_Tier0.h.

◆ m_tdt

ToolHandle<Trig::TrigDecisionTool>* T_AnalysisConfig< T >::m_tdt
protectedinherited

Definition at line 861 of file T_AnalysisConfig.h.

◆ m_testChainKey

std::string T_AnalysisConfig< T >::m_testChainKey
protectedinherited

Definition at line 880 of file T_AnalysisConfig.h.

◆ m_testChainName

std::string T_AnalysisConfig< T >::m_testChainName
protectedinherited

Definition at line 879 of file T_AnalysisConfig.h.

◆ m_testType

template<typename T, typename A = Analysis_Tier0>
std::string T_AnalysisConfigMT_Tier0< T, A >::m_testType
protected

Definition at line 1104 of file T_AnalysisConfigMT_Tier0.h.

◆ m_TnP_tool

template<typename T, typename A = Analysis_Tier0>
TagNProbe* T_AnalysisConfigMT_Tier0< T, A >::m_TnP_tool
protected

Definition at line 1132 of file T_AnalysisConfigMT_Tier0.h.

◆ m_types

std::vector< std::vector<std::string> > T_AnalysisConfig< T >::m_types
protectedinherited

Definition at line 871 of file T_AnalysisConfig.h.

◆ m_useBeamCondSvc

template<typename T, typename A = Analysis_Tier0>
bool T_AnalysisConfigMT_Tier0< T, A >::m_useBeamCondSvc
protected

Definition at line 1098 of file T_AnalysisConfigMT_Tier0.h.

◆ m_useHighestPT

bool T_AnalysisConfig< T >::m_useHighestPT
protectedinherited

Definition at line 898 of file T_AnalysisConfig.h.

◆ m_vtxIndex

int T_AnalysisConfig< T >::m_vtxIndex
protectedinherited

Definition at line 900 of file T_AnalysisConfig.h.


The documentation for this class was generated from the following file: