Project
Loading...
Searching...
No Matches
AlignableSensorTPC.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
15
16#ifndef ALIGNABLESENSORTPC_H
17#define ALIGNABLESENSORTPC_H
18
20class AlignmentPoint;
21class TObjArray;
22
23namespace o2
24{
25namespace align
26{
27
29{
30 public:
31 AlignableSensorTPC() = default;
32 AlignableSensorTPC(const char* name, int vid, int iid, int isec, Controller* ctr);
33 ~AlignableSensorTPC() final = default;
34 int getSector() const { return mSector; }
35 void setSector(int sc) { mSector = (uint8_t)sc; }
36 void prepareMatrixT2L() final;
37 void prepareMatrixL2G(bool reco = false) final;
38 void prepareMatrixL2GIdeal() final;
39
41 uint8_t mSector = 0; // sector ID
42
43 ClassDef(AlignableSensorTPC, 1)
44};
45} // namespace align
46} // namespace o2
47#endif
End-chain alignment volume in detector branch, where the actual measurement is done.
#define protected
void prepareMatrixL2G(bool reco=false) final
~AlignableSensorTPC() final=default
GLuint const GLchar * name
Definition glcorearb.h:781
void align(gsl::span< ElinkEncoder< BareFormat, CHARGESUM > > elinks)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...