LCOV - code coverage report
Current view: top level - STEER/AOD - AliAODTagCreator.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2016-06-14 17:26:59 Functions: 1 5 20.0 %

          Line data    Source code
       1             : #ifndef ALIAODTAGCREATOR_H
       2             : #define ALIAODTAGCREATOR_H
       3             : /*  See cxx source for full Copyright notice */
       4             : 
       5             : 
       6             : /* $Id$ */
       7             : 
       8             : //-------------------------------------------------------------------------
       9             : //                          Class AliAODTagCreator
      10             : //   This is the AliAODTagCreator class for the tag creation (post process)
      11             : //
      12             : //    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
      13             : //-------------------------------------------------------------------------
      14             : 
      15             : 
      16             : 
      17             : //////////////////////////////////////////////////////////////////////////
      18             : //                                                                      //
      19             : //                        AliAODTagCreator                              //
      20             : //                                                                      //
      21             : //           Implementation of the tag creation mechanism.              //
      22             : //                                                                      //
      23             : //////////////////////////////////////////////////////////////////////////
      24             : 
      25             : 
      26             : //ROOT
      27             : //#include <TObject.h>
      28             : 
      29             : #include <AliTagCreator.h>
      30             : 
      31             : class TChain;
      32             : class TTree;
      33             : class TFile;
      34             : class TGridResult;
      35             : 
      36             : class AliAODEvent;
      37             : class AliRunTag;
      38             : class AliEventTag;
      39             : class AliFileTag;
      40             : 
      41             : //___________________________________________________________________________
      42             : class AliAODTagCreator : public AliTagCreator {
      43             : 
      44             :  public:
      45             :   AliAODTagCreator();
      46             :   ~AliAODTagCreator(); 
      47             : 
      48             :   void CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList);
      49             : 
      50             :   Bool_t ReadGridCollection(TGridResult *result);
      51             :   Bool_t ReadLocalCollection(const char *localpath, const char* pattern = "AliAOD.root");
      52             :   Bool_t ReadCAFCollection(const char *filename);
      53             :   void FillEventTag(AliAODEvent* aod, AliEventTag* evtTag);  
      54             :  protected:  
      55             :   void CreateTag(TChain *chain, const char* type);
      56             :   void CreateTags(const char* type = "");
      57             : 
      58             :   
      59             :  private:
      60             :   AliAODTagCreator(const AliAODTagCreator& creator);             
      61             :   AliAODTagCreator& operator=(const AliAODTagCreator& creator);    
      62             :  private:
      63             :   TChain       *fChain;     //! Chain of esd files
      64             :   AliAODEvent  *fAODEvent;  //! AOD Event 
      65             :   TTree        *fTreeT;     //! Tag Tree
      66             :   AliRunTag    *fRunTag;    //! Run tag
      67             :   TChain       *fTreeTEsd;  //! ESD tag Tree
      68             :   AliRunTag    *fRunTagEsd; //! ESD run tag
      69             :   
      70         170 :   ClassDef(AliAODTagCreator,0)  
      71             : };
      72             : 
      73             : #endif
      74             : 

Generated by: LCOV version 1.11