Skip to content
Snippets Groups Projects
Commit 49f98536 authored by Emmanuel Le Guirriec's avatar Emmanuel Le Guirriec
Browse files

Clean TrackSelector, update WorkDir/CMakeList

parent 514f175a
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,6 @@ public:
/** Returns true if the argument track fulfills the selection
*/
bool selectTrack(const xAOD::TrackParticle* track, double refPt = 0);
/** Processes all the tracks in input and outputs the tracks
passing the selection */
//StatusCode selectAllTracks();
inline const std::bitset<17> currentTrackpassedCuts() const { return m_passedCuts; }
......
......@@ -12,7 +12,6 @@
#include "CLHEP/GenericFunctions/CumulativeChiSquare.hh"
#include "GeoPrimitives/GeoPrimitives.h"
#include "GaudiKernel/IToolSvc.h"
//#include "StoreGate/ReadHandle.h"
#include "ITrackToVertex/ITrackToVertex.h"
#include <TMath.h>
#include <string>
......@@ -364,42 +363,4 @@ namespace Analysis {
return pass;
}
// StatusCode TrackSelector::selectAllTracks() {
/** retrieve input tracks: */
//const xAOD::TrackParticleContainer* inputTracks(0);
//SG::ReadHandle<xAOD::TrackParticleContainer> inputTracks(m_inputTrackCollection);
/* StatusCode sc = evtStore()->retrieve(inputTracks, m_inputTrackCollection);
if (sc.isFailure()) {
ATH_MSG_ERROR("#BTAG# TrackParticleContainer " << m_inputTrackCollection << " not found.");
return sc;
}
ATH_MSG_VERBOSE("#BTAG# TrackParticleContainer " << m_inputTrackCollection << " found.");
*/
/** create output container: */
// xAOD::TrackParticleContainer* outputTracks = new xAOD::TrackParticleContainer();
/** loop on tracks, select and fill output container: */
/* xAOD::TrackParticleContainer::const_iterator nextTrk(inputTracks->begin());
xAOD::TrackParticleContainer::const_iterator lastTrk(inputTracks->end());
for (; nextTrk!=lastTrk; nextTrk++) {
if( this->selectTrack( (*nextTrk) ) ) {
ATH_MSG_VERBOSE("#BTAG# track selected");
outputTracks->push_back( new xAOD::TrackParticle(**nextTrk) );
}
}
*/
/** storing output collection in StoreGate: */
/* ATH_MSG_VERBOSE("#BTAG# recording to StoreGate: " << m_outputTrackCollection);
StatusCode sc = evtStore()->record(outputTracks, m_outputTrackCollection, false);
if (sc.isFailure()) {
ATH_MSG_ERROR("#BTAG# unable to store TrackParticleContainer " << m_outputTrackCollection);
return sc;
}
ATH_MSG_VERBOSE("#BTAG# TrackParticleContainer " << m_outputTrackCollection << " stored.");
return StatusCode::SUCCESS;
}
*/
}
......@@ -15,7 +15,7 @@ find_package( AtlasCMake QUIET )
# of possible project names. Basically the names of all the other
# sub-directories inside the Projects/ directory in the repository.
set( _parentProjectNames Athena AthenaP1 AnalysisBase AthAnalysisBase
AthSimulation )
AthSimulation AthDerivation)
set( _defaultParentProject Athena )
set( _defaultUseFortran TRUE )
foreach( _pp ${_parentProjectNames} )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment