Line data Source code
1 : /**************************************************************************
2 : * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 : * *
4 : * Author: The ALICE Off-line Project. *
5 : * Contributors are mentioned in the code where appropriate. *
6 : * *
7 : * Permission to use, copy, modify and distribute this software and its *
8 : * documentation strictly for non-commercial purposes is hereby granted *
9 : * without fee, provided that the above copyright notice appears in all *
10 : * copies and that both the copyright notice and this permission notice *
11 : * appear in the supporting documentation. The authors make no claims *
12 : * about the suitability of this software for any purpose. It is *
13 : * provided "as is" without express or implied warranty. *
14 : **************************************************************************/
15 :
16 :
17 : /**************************************************************************************
18 :
19 : ACORDE's RecoParams Version 1.0
20 :
21 : In this version we only consider:
22 :
23 : ->) The ACORDE's Trigger Mode (Single Muon Trigger or Multi Muon Trigger)
24 : ->) The ACORDE's Trigger Mask (Same in SMT and MMT)
25 :
26 : In Runs PbPb, pp, and cosmics by default we have the same RecoParams.
27 :
28 : From:
29 : Mario Rodriguez Cahuantzi <mrodrigu@mail.cern.ch> @ CERN
30 : FCFM, BUAP. Puebla, Mexico
31 :
32 : Further comments:
33 :
34 : Arturo Fernandez <afernan@mail.cern.ch>
35 :
36 : March 2nd. 2009
37 :
38 : NOTE: Please suggest improvements if needed.
39 :
40 : **************************************************************************************/
41 :
42 :
43 : #ifndef ALIACORDERECOPARAM_H
44 : #define ALIACORDERECOPARAM_H
45 :
46 : #include "AliDetectorRecoParam.h"
47 :
48 : class AliACORDERecoParam : public AliDetectorRecoParam
49 : {
50 : public:
51 : AliACORDERecoParam();
52 : AliACORDERecoParam(const AliACORDERecoParam &p); // Copy constructor
53 : AliACORDERecoParam& operator=(const AliACORDERecoParam &p); // Assignment operator
54 : virtual ~AliACORDERecoParam();
55 :
56 : virtual void PrintParameters() const;
57 :
58 : //Getters
59 : /*
60 : Bool_t GetAcordeSingleMuonTrigger() const {return fAcordeSingleMuonTrigger;}
61 : Bool_t GetAcordeMultiMuonTrigger() const {return fAcordeMultiMuonTrigger;}
62 : UInt_t GetAcordeWord0() const {return fAcordeWord0;}
63 : UInt_t GetAcordeWord1() const {return fAcordeWord1;}
64 : UInt_t GetAcordeWord2() const {return fAcordeWord2;}
65 : UInt_t GetAcordeWord3() const {return fAcordeWord3;}
66 :
67 :
68 : //Setters
69 :
70 : void SetAcordeSingleMuonTrigger(Bool_t flag) {fAcordeSingleMuonTrigger=flag;}
71 : void SetAcordeMultiMuonTrigger(Bool_t flag) {fAcordeMultiMuonTrigger=flag;}
72 : void SetAcordeWord0(UInt_t flag) {fAcordeWord0=flag;}
73 : void SetAcordeWord1(UInt_t flag) {fAcordeWord1=flag;}
74 : void SetAcordeWord2(UInt_t flag) {fAcordeWord2=flag;}
75 : void SetAcordeWord3(UInt_t flag) {fAcordeWord3=flag;}
76 :
77 :
78 :
79 : static AliACORDERecoParam *GetPbPbparam(); // reco param for PbPb.
80 : static AliACORDERecoParam *GetPPparam(); // reco param for PP
81 : static AliACORDERecoParam *GetCosmicMuonParam(); // reco param for cosmic muons
82 :
83 : private:
84 :
85 : Bool_t fAcordeSingleMuonTrigger; // kTRUE if ACORDE triggered in Singe Muon Mode
86 : Bool_t fAcordeMultiMuonTrigger; // kTRUE if ACORDE triggered in Multi Muon Mode
87 : UInt_t fAcordeWord0; // [1..30] Acorde's Modules in Single Muon Trigger
88 : UInt_t fAcordeWord1; // [31..60] Acorde's Modules in Single Muon Trigger
89 : UInt_t fAcordeWord2; // [1..30] Acorde's Modules in Multi Muon Trigger
90 : UInt_t fAcordeWord3; // [31..60] Acorde's Modules in Multi Muon Trigger
91 : */
92 32 : ClassDef(AliACORDERecoParam, 4)
93 : };
94 : #endif
|