Project
Loading...
Searching...
No Matches
MisalignmentParameter.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
15#ifndef ALICEO2_ITS_MISALIGNMENTPARAMETER_H_
16#define ALICEO2_ITS_MISALIGNMENTPARAMETER_H_
17
18#include "FairParGenericSet.h" // for FairParGenericSet
19
20#include "Rtypes.h" // for ClassDef
21
22#include "TArrayD.h" // for TArrayD
23
24class FairParamList;
25
26namespace o2
27{
28namespace its
29{
31{
32 public:
33 MisalignmentParameter(const char* name = "MisalignmentParameter",
34 const char* title = "Misalignment parameter for AliceO2ITSHitProducerIdealMisallign Parameters",
35 const char* context = "TestDefaultContext");
36
38
39 void Clear();
40
41 void putParams(FairParamList*) override;
42
43 Bool_t getParams(FairParamList*) override;
44
45 TArrayD getShiftX() { return mShiftX; }
46 TArrayD getShiftY() { return mShiftY; }
47 TArrayD getShiftZ() { return mShiftZ; }
48 TArrayD getRotX() { return mRotX; }
49 TArrayD getRotY() { return mRotY; }
50 TArrayD getRotZ() { return mRotZ; }
51 Int_t getNumberOfDetectors() { return mNumberOfDetectors; }
52
53 private:
54 TArrayD mShiftX;
55 TArrayD mShiftY;
56 TArrayD mShiftZ;
57 TArrayD mRotX;
58 TArrayD mRotY;
59 TArrayD mRotZ;
60 Int_t mNumberOfDetectors;
61
63
65
66 ClassDefOverride(MisalignmentParameter, 1);
67};
68} // namespace its
69} // namespace o2
70
71#endif
void putParams(FairParamList *) override
Bool_t getParams(FairParamList *) override
GLuint const GLchar * name
Definition glcorearb.h:781
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...