AliRoot Core  3dc7879 (3dc7879)
AliMUONPedestalEventGenerator.h
Go to the documentation of this file.
1 #ifndef ALIMUONPEDESTALEVENTGENERATOR_H
2 #define ALIMUONPEDESTALEVENTGENERATOR_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche
14 
15 #ifndef ROOT_TTask
16 # include "TTask.h"
17 #endif
18 #ifndef ROOT_TString
19 # include "TString.h"
20 #endif
21 
23 class TList;
24 class AliRunLoader;
25 class AliMUONVDigitStore;
26 class AliLoader;
27 class AliMUONVStore;
28 class AliMUONRawWriter;
29 
30 class AliMUONPedestalEventGenerator : public TTask
31 {
32 public:
33  AliMUONPedestalEventGenerator(Int_t runNumber, Int_t nevents, const char* dateFileName);
35 
36  void Exec(Option_t* option);
37 
39  void MakeDDL(Bool_t value) { fMakeDDL = value; }
40 
41 private:
46 
47  Bool_t ConvertRawFilesToDate();
49  void GenerateDigits(AliMUONVDigitStore& digitStore);
50  AliRunLoader* LoadRun(const char* mode);
51  void Digits2Raw(Int_t event);
52 
53 private:
55  TString fDateFileName;
56  TString fGAliceFileName;
57  Bool_t fMakeDDL;
62  static Int_t fgCounter;
63 
64  ClassDef(AliMUONPedestalEventGenerator,3) // Random generator of pedestal events for MUON TRK
65 };
66 
67 #endif
AliMUONCalibrationData * fCalibrationData
! access to pedestal CDB
Generate pedestal events (only for tracker).
Interface for a digit container.
void MakeDDL(Bool_t value)
Set option whether to generate DDL ascii files or not.
AliRunLoader * LoadRun(const char *mode)
AliLoader * fLoader
! to access trees
Bool_t fMakeDDL
! whether to generate DDL ascii files or not
AliMUONRawWriter * fRawWriter
! to convert digits to raw data
void GenerateDigits(AliMUONVDigitStore &digitStore)
AliMUONVDigitStore * fDigitStore
! digit container
AliMUONVStore * fPedestals
! pedestals
Raw data class for trigger and tracker chambers.
Single entry point to access MUON calibration data.
AliMUONPedestalEventGenerator(Int_t runNumber, Int_t nevents, const char *dateFileName)
AliMUONPedestalEventGenerator & operator=(const AliMUONPedestalEventGenerator &)
Not implemented.
TString fGAliceFileName
! absolute path to galice.root file
static Int_t runNumber
Definition: pdc06_config.C:126
TString fDateFileName
! basefilename of the DATE output file
Base class for MUON data stores.
Definition: AliMUONVStore.h:22