Project
Loading...
Searching...
No Matches
Efficiency.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
16
17
#ifndef O2_MID_EFFICIENCY_H
18
#define O2_MID_EFFICIENCY_H
19
20
#include <gsl/span>
21
#include <array>
22
#include "
DataFormatsMID/Track.h
"
23
#include "
MIDEfficiency/ChamberEfficiency.h
"
24
namespace
o2
25
{
26
namespace
mid
27
{
28
30
class
Efficiency
31
{
32
public
:
33
enum class
ElementType
{
34
Board
,
35
RPC
,
36
Plane
37
};
38
41
void
process
(gsl::span<const mid::Track> midTracks);
42
46
const
ChamberEfficiency
&
getChamberEfficiency
(
ElementType
et)
const
{
return
mEff[
static_cast<
int
>
(et)]; }
47
48
private
:
49
std::array<ChamberEfficiency, 3> mEff;
50
};
51
52
}
// namespace mid
53
}
// namespace o2
54
55
#endif
// O2_MID_EFFICIENCY_H
ChamberEfficiency.h
Measured values of the RPC efficiency.
Track.h
Reconstructed MID track.
o2::mid::ChamberEfficiency
Definition
ChamberEfficiency.h:31
o2::mid::Efficiency
Class to estimate the MID chamber efficiency.
Definition
Efficiency.h:31
o2::mid::Efficiency::getChamberEfficiency
const ChamberEfficiency & getChamberEfficiency(ElementType et) const
Returns the chamber efficiency.
Definition
Efficiency.h:46
o2::mid::Efficiency::ElementType
ElementType
Definition
Efficiency.h:33
o2::mid::Efficiency::ElementType::Plane
@ Plane
Efficiency per RPC.
o2::mid::Efficiency::ElementType::Board
@ Board
o2::mid::Efficiency::ElementType::RPC
@ RPC
Efficiency per board.
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
process
Definition
process_iterator.h:53
Detectors
MUON
MID
Efficiency
include
MIDEfficiency
Efficiency.h
Generated on Tue Feb 25 2025 23:16:19 for Project by
1.9.8