Project
Loading...
Searching...
No Matches
CathodeSegmentationContours.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 O2_MCH_MAPPING_CATHODESEGMENTATIONCONTOURS_H
16#define O2_MCH_MAPPING_CATHODESEGMENTATIONCONTOURS_H
17
18#include <vector>
19#include "MCHContour/Contour.h"
20#include "MCHContour/Polygon.h"
21#include "MCHContour/BBox.h"
23
24namespace o2
25{
26namespace mch
27{
28namespace mapping
29{
30
31std::vector<std::vector<o2::mch::contour::Polygon<double>>> getPadPolygons(const CathodeSegmentation& seg);
32
33std::vector<std::vector<int>> getPadChannels(const CathodeSegmentation& seg);
34
35std::vector<o2::mch::contour::Contour<double>> getDualSampaContours(const CathodeSegmentation& seg);
36
37o2::mch::contour::Contour<double> getDualSampaContour(const CathodeSegmentation& seg, int dualSampaId);
38
39std::vector<o2::mch::contour::Polygon<double>> getPadPolygons(const CathodeSegmentation& seg, int dualSampaId);
40
41o2::mch::contour::Contour<double> getEnvelop(const CathodeSegmentation& seg);
42
43o2::mch::contour::BBox<double> getBBox(const CathodeSegmentation& seg);
44} // namespace mapping
45} // namespace mch
46} // namespace o2
47
48#endif
o2::mch::mapping::CathodeSegmentation seg
std::vector< o2::mch::contour::Contour< double > > getDualSampaContours(const CathodeSegmentation &seg)
o2::mch::contour::BBox< double > getBBox(const CathodeSegmentation &seg)
o2::mch::contour::Contour< double > getDualSampaContour(const CathodeSegmentation &seg, int dualSampaId)
std::vector< std::vector< o2::mch::contour::Polygon< double > > > getPadPolygons(const CathodeSegmentation &seg)
std::vector< std::vector< int > > getPadChannels(const CathodeSegmentation &seg)
o2::mch::contour::Contour< double > getEnvelop(const CathodeSegmentation &seg)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...