AliPhysics  ad6828d (ad6828d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalPatchFromCellMaker.h
Go to the documentation of this file.
1 #ifndef ALIEMCALPATCHFROMCELLMAKER_H
2 #define ALIEMCALPATCHFROMCELLMAKER_H
3 
4 class TClonesArray;
5 class TH3F;
6 class AliEMCALTriggerBitConfig;
7 
8 #include "AliAnalysisTaskEmcal.h"
9 
11  public:
13  AliEmcalPatchFromCellMaker(const char *name);
15 
16  void SetCaloTriggersOutName(const char *name) { fCaloTriggersOutName = name; }
18  void SetMinCellE(Double_t e) { fMinCellE = e; }
19  void SetCellTimeCuts(Double_t min, Double_t max) { fCellTimeMin = min; fCellTimeMax = max; }
21 
22  protected:
23  enum{
24  kPatchCols = 48,
26  };
27 
28  void ExecOnce();
29  Bool_t Run();
30  // Bool_t FillHistograms();
32 
35 
36  //Getters
37  Int_t GetPatchDimension() const { return fPatchDim; }
38  Double_t GetPatchArea() const { return (Double_t)(fPatchDim*fPatchDim)*0.014*0.014; }
39  Int_t GetDimFastor() const;
41 
42  TString fCaloTriggersOutName; // name of output patch array
43  TClonesArray *fCaloTriggersOut;
44 
45  Double_t fPatchADCSimple[kPatchCols][kPatchRows]; // patch map for simple offline trigger
46  Double_t fPatchESimple[kPatchCols][kPatchRows]; // patch map for simple offline trigger
47 
48  Int_t fPatchDim; // dimension of patch in #cells
49  Double_t fMinCellE; // minimum cell energy
50  Double_t fCellTimeMin; // minimum time cell
51  Double_t fCellTimeMax; // maximum time cell
52  Bool_t fL1Slide; // sliding window on
53  AliEMCALTriggerBitConfig *fTriggerBitConfig; // dummy trigger bit config
54 
55  private:
59 
60  AliEmcalPatchFromCellMaker(const AliEmcalPatchFromCellMaker&); // not implemented
62 
63  ClassDef(AliEmcalPatchFromCellMaker, 1); // Task to make PicoTracks in a grid corresponding to EMCAL/DCAL acceptance
64 };
65 #endif
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
Double_t fPatchESimple[kPatchCols][kPatchRows]
Base task in the EMCAL framework.
AliEMCALTriggerBitConfig * fTriggerBitConfig
AliEmcalPatchFromCellMaker & operator=(const AliEmcalPatchFromCellMaker &)
void SetCellTimeCuts(Double_t min, Double_t max)
int Int_t
Definition: External.C:63
TH2F * fh2CellEnergyVsTime
cell E, eta, phi
Double_t fPatchADCSimple[kPatchCols][kPatchRows]
trigger array out
void SetCaloTriggersOutName(const char *name)
ClassDef(AliEmcalPatchFromCellMaker, 1)
bool Bool_t
Definition: External.C:53
TH1F * fh1CellEnergySum
emcal cell energy vs time