LCOV - code coverage report
Current view: top level - ANALYSIS/ANALYSISalice - AliAODTrackSelection.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 4 25.0 %
Date: 2016-06-14 17:26:59 Functions: 1 12 8.3 %

          Line data    Source code
       1             : /**
       2             :  * \file AliAODTrackSelection.h
       3             :  * \brief Implement virtual track selection for AOD analysis
       4             :  *
       5             :  * \author Markus Fasel <markus.fasel@cern.ch>, Lawrence Berkeley National Laboratory
       6             :  * \date Jul 24, 2015
       7             :  */
       8             : #ifndef ALIAODTRACKSELECTIONAOD_H_
       9             : #define ALIAODTRACKSELECTIONAOD_H_
      10             : /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
      11             :  * See cxx source for full Copyright notice                               */
      12             : 
      13             : #include <AliVTrackSelection.h>
      14             : 
      15             : class AliVCuts;
      16             : class AliVTrack;
      17             : 
      18             : /**
      19             :  * \class AliAODTrackSelection
      20             :  * \brief Implement virtual track selection for AOD analysis
      21             :  *
      22             :  * Implementation of track selection in case the analysis runs on AODs
      23             :  * For the moment it uses the AliESDtrackCuts and converts AOD tracks to
      24             :  * ESD tracks, which might change in the future when an AOD track selection
      25             :  * framework becomes available.
      26             :  */
      27           0 : class AliAODTrackSelection: public AliVTrackSelection {
      28             : public:
      29             :         AliAODTrackSelection();
      30             :         AliAODTrackSelection(AliVCuts *cuts, UInt_t filterbits);
      31           0 :         virtual ~AliAODTrackSelection() {}
      32             : 
      33             :         virtual bool IsTrackAccepted(AliVTrack * const trk);
      34             : 
      35             :         /**
      36             :          * Add a new filter bit to the track selection. Multiple filter bits can be set
      37             :          * at the same time (via the bitwise or operator |).
      38             :          *
      39             :          * \param filterbits
      40             :          */
      41           0 :         void AddFilterBit(UInt_t filterbits) { fFilterBits |= filterbits; }
      42             : 
      43             : private:
      44             :         UInt_t                  fFilterBits;                                ///< Track filter bits
      45             : 
      46             :         /// \cond CLASSIMP
      47         170 :         ClassDef(AliAODTrackSelection, 2);
      48             :         /// \endcond
      49             : };
      50             : 
      51             : #endif /* ALIAODTRACKSELECTIONAOD_H_ */

Generated by: LCOV version 1.11