ROOT logo
#ifndef ALIEMCALV1_H
#define ALIEMCALV1_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                      
         */
/* $Id$ */

//_________________________________________________________________________
// Implementation version v1 of EMCAL Manager class 
//*--                  
//*-- Author: Sahal Yacoob (LBL / UCT) 
//*--  and  : Jennifer Klay (LBL)
//#include <assert.h>

// --- ROOT system ---
class TClonesArray;
class TLorentzVector;
class TFile;

// --- AliRoot header files ---
#include "AliEMCALv0.h"

class AliEMCALv1 : public AliEMCALv0 {
  
public:

  AliEMCALv1(void) ; 
  AliEMCALv1(const char *name, const char *title="", const Bool_t checkGeoAndRun = kTRUE) ;
  virtual ~AliEMCALv1(void) ;

  using AliEMCALv0::AddHit;
  virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
			Int_t id, Float_t *hits, Float_t *p);
  // Gives the version number 
  virtual Int_t  IsVersion(void) const {return 1;}
  virtual void StepManager(void) ;
  virtual void RemapTrackHitIDs(Int_t *map);
  virtual void FinishPrimary();
  virtual const TString Version(void)const {return TString("v0");}
  virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;}
  virtual Float_t GetTimeCut() const {return fTimeCut;} 
    
protected:
  Int_t fCurPrimary;  // Current primary track
  Int_t fCurParent;   // Current parent 
  Int_t fCurTrack;    // Current track
  Float_t fTimeCut;   // Cut to remove the background from the ALICE system

 private:
  AliEMCALv1(const AliEMCALv1 & emcal);
  AliEMCALv1 & operator = (const AliEMCALv1  & /*rvalue*/);

  ClassDef(AliEMCALv1,9) // Implementation of EMCAL manager class to produce hits in a Central Calorimeter 
    
};

#endif // AliEMCALV1_H
 AliEMCALv1.h:1
 AliEMCALv1.h:2
 AliEMCALv1.h:3
 AliEMCALv1.h:4
 AliEMCALv1.h:5
 AliEMCALv1.h:6
 AliEMCALv1.h:7
 AliEMCALv1.h:8
 AliEMCALv1.h:9
 AliEMCALv1.h:10
 AliEMCALv1.h:11
 AliEMCALv1.h:12
 AliEMCALv1.h:13
 AliEMCALv1.h:14
 AliEMCALv1.h:15
 AliEMCALv1.h:16
 AliEMCALv1.h:17
 AliEMCALv1.h:18
 AliEMCALv1.h:19
 AliEMCALv1.h:20
 AliEMCALv1.h:21
 AliEMCALv1.h:22
 AliEMCALv1.h:23
 AliEMCALv1.h:24
 AliEMCALv1.h:25
 AliEMCALv1.h:26
 AliEMCALv1.h:27
 AliEMCALv1.h:28
 AliEMCALv1.h:29
 AliEMCALv1.h:30
 AliEMCALv1.h:31
 AliEMCALv1.h:32
 AliEMCALv1.h:33
 AliEMCALv1.h:34
 AliEMCALv1.h:35
 AliEMCALv1.h:36
 AliEMCALv1.h:37
 AliEMCALv1.h:38
 AliEMCALv1.h:39
 AliEMCALv1.h:40
 AliEMCALv1.h:41
 AliEMCALv1.h:42
 AliEMCALv1.h:43
 AliEMCALv1.h:44
 AliEMCALv1.h:45
 AliEMCALv1.h:46
 AliEMCALv1.h:47
 AliEMCALv1.h:48
 AliEMCALv1.h:49
 AliEMCALv1.h:50
 AliEMCALv1.h:51
 AliEMCALv1.h:52
 AliEMCALv1.h:53
 AliEMCALv1.h:54
 AliEMCALv1.h:55
 AliEMCALv1.h:56
 AliEMCALv1.h:57