LCOV - code coverage report
Current view: top level - EMCAL/EMCALUtils - AliEMCALTriggerMappingV1.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 9 11.1 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       1             : #ifndef ALIEMCALTRIGGERMAPPINGV1_H
       2             : #define ALIEMCALTRIGGERMAPPINGV1_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /*
       7             :  
       8             :  
       9             : Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
      10             : */
      11             : 
      12             : #include "AliEMCALTriggerMapping.h"
      13             : class AliEMCALGeometry;
      14             : class AliEMCALTriggerMappingV1 : public AliEMCALTriggerMapping 
      15             : {
      16             : public:
      17             :         
      18             :                        AliEMCALTriggerMappingV1();
      19             :                        AliEMCALTriggerMappingV1(Int_t ntru, const AliEMCALGeometry* geo);
      20           0 :               virtual ~AliEMCALTriggerMappingV1() {}
      21             : 
      22             :   Bool_t   GetAbsFastORIndexFromTRU(Int_t iTRU, Int_t iADC, Int_t& id) const;
      23             :   Bool_t                    GetAbsFastORIndexFromPositionInTRU(Int_t iTRU, Int_t iEta, Int_t iPhi, Int_t& id) const;        
      24             :   Bool_t                    GetAbsFastORIndexFromPositionInSM( Int_t  iSM, Int_t iEta, Int_t iPhi, Int_t& id) const;        
      25             :   Bool_t                    GetAbsFastORIndexFromPositionInEMCAL(                Int_t iEta, Int_t iPhi, Int_t& id) const;
      26           0 :   Bool_t                    GetAbsFastORIndexFromPHOSSubregion( Int_t iPHOS, Int_t& id) const {return kFALSE;}
      27             :   Bool_t                                GetTRUFromAbsFastORIndex(Int_t id, Int_t& iTRU, Int_t& iADC) const;
      28             :   Bool_t   GetPositionInTRUFromAbsFastORIndex(Int_t id, Int_t& iTRU, Int_t& iEta, Int_t& iPhi) const;
      29             :   Bool_t    GetPositionInSMFromAbsFastORIndex(Int_t id, Int_t& iSM, Int_t& iEta, Int_t& iPhi) const;
      30             :   Bool_t GetPositionInEMCALFromAbsFastORIndex(Int_t id, Int_t& iEta, Int_t& iPhi) const;
      31             :   Bool_t          GetFastORIndexFromCellIndex(Int_t id, Int_t& idx) const;
      32             :   Bool_t          GetCellIndexFromFastORIndex(Int_t id, Int_t idx[4]) const;
      33             :   Bool_t              GetTRUIndexFromSTUIndex(Int_t id, Int_t& idx, Int_t detector) const;
      34             :   Int_t               GetTRUIndexFromSTUIndex(Int_t id, Int_t detector) const;
      35             :   Bool_t           GetTRUIndexFromOnlineIndex(Int_t id, Int_t& idx) const;
      36             :   Int_t            GetTRUIndexFromOnlineIndex(Int_t id) const;
      37             :   Int_t            GetTRUIndexFromOnlineHwAdd(Int_t hwAdd, Int_t ddl, Int_t sm) const;
      38             :   Bool_t           GetOnlineIndexFromTRUIndex(Int_t id, Int_t& idx) const;
      39             :   Int_t            GetOnlineIndexFromTRUIndex(Int_t id) const;
      40             :   Bool_t            GetFastORIndexFromL0Index(Int_t iTRU, Int_t id, Int_t idx[], Int_t size) const;
      41             : 
      42             : 
      43             : 
      44             : 
      45           0 :   Bool_t  GetSTUIndexFromTRUIndex(    Int_t id, Int_t& idx                  ) const{return kFALSE;};
      46           0 :   Int_t   GetSTUIndexFromTRUIndex(    Int_t id                              ) const{return 0;}
      47           0 :   Bool_t  GetTRUFromSTU(Int_t iTRU, Int_t iADC, Int_t& oTRU, Int_t& oADC, Int_t detector) const{return kFALSE;}
      48           0 :   Bool_t  GetSTUFromTRU(Int_t iTRU, Int_t iADC, Int_t& oTRU, Int_t& oADC                ) const{return kFALSE;}
      49           0 :   Bool_t  GetTRUFromSTU(Int_t iTRU, Int_t ieta, Int_t iphi, Int_t& oTRU, Int_t& oeta, Int_t& ophi, Int_t detector) const{return kFALSE;}
      50           0 :   Bool_t  GetSTUFromTRU(Int_t iTRU, Int_t ieta, Int_t iphi, Int_t& oTRU, Int_t& oeta, Int_t& ophi                ) const{return kFALSE;}
      51             : 
      52             : 
      53             : 
      54             : private:
      55             :                             AliEMCALTriggerMappingV1(const AliEMCALTriggerMappingV1& rhs);
      56             :                  AliEMCALTriggerMappingV1& operator=(const AliEMCALTriggerMappingV1& rhs);
      57             :         
      58          72 :         ClassDef(AliEMCALTriggerMappingV1,1)
      59             : };
      60             :  
      61             : #endif
      62             : 

Generated by: LCOV version 1.11