LCOV - code coverage report
Current view: top level - ANALYSIS/ANALYSISalice - AliTrackSelectionFactory.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 2 50.0 %
Date: 2016-06-14 17:26:59 Functions: 1 6 16.7 %

          Line data    Source code
       1             : /**
       2             :  * \file AliTrackSelectionFactory.h
       3             :  * \brief Declaration of AliTrackSelectionFactory
       4             :  * \author Markus Fasel <markus.fasel@cern.ch>, Lawrence Berkeley National Laboratory
       5             :  * \since Feb. 24, 2015
       6             :  */
       7             : #ifndef ALITRACKSELECTIONFACTORY_H_
       8             : #define ALITRACKSELECTIONFACTORY_H_
       9             : /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
      10             :  * See cxx source for full Copyright notice                               */
      11             : 
      12             : #include <TObject.h>
      13             : 
      14             : class AliVTrackSelection;
      15             : 
      16             : /**
      17             :  * \class AliTrackSelectionFactory
      18             :  * \brief Base class for track selection generators
      19             :  */
      20           0 : class AliTrackSelectionFactory : public TObject {
      21             : public:
      22             :   /**
      23             :    * Switch for different data types
      24             :    */
      25             :   enum DataType_t{
      26             :     kESD,//!< ESD analysis
      27             :     kAOD //!< AOD analysis
      28             :   };
      29             :   AliTrackSelectionFactory();
      30             :   virtual ~AliTrackSelectionFactory();
      31             : 
      32             :   /**
      33             :    * Method creating track selection, to be implemented by the user
      34             :    * @return virtual track selection object
      35             :    */
      36             :   virtual AliVTrackSelection *CreateTrackCuts(DataType_t datatype) const = 0;
      37             : 
      38         170 :   ClassDef(AliTrackSelectionFactory, 1);
      39             : };
      40             : 
      41             : #endif /* ALITRACKSELECTIONFACTORY_H_ */

Generated by: LCOV version 1.11