IB-0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
IBPocaEvaluator.h
Go to the documentation of this file.
1
/*////////////////////////////////////////////////////////////////////////////
2
Copyright 2018 Istituto Nazionale di Fisica Nucleare
3
4
Licensed under the EUPL, Version 1.2 or - as soon they will be approved by
5
the European Commission - subsequent versions of the EUPL (the "Licence").
6
You may not use this work except in compliance with the Licence.
7
8
You may obtain a copy of the Licence at:
9
10
https://joinup.ec.europa.eu/software/page/eupl
11
12
Unless required by applicable law or agreed to in writing, software
13
distributed under the Licence is distributed on an "AS IS" basis, WITHOUT
14
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
Licence for the specific language governing permissions and limitations under
16
the Licence.
18
19
20
21
#ifndef IBPOCAEVALUATOR_H
22
#define IBPOCAEVALUATOR_H
23
24
#include "Math/Dense.h"
25
#include "Math/Utils.h"
26
#include "Detectors/MuonScatter.h"
27
28
using namespace uLib;
29
30
class IBTiltedAxisPocaEvaluator;
31
class IBLineDistancePocaEvaluator;
32
33
class IBPocaEvaluator
34
{
35
public:
36
virtual ~IBPocaEvaluator() {}
37
38
enum IBPocaEvaluationAlgorithms {
39
TiltedAxis,
40
LineDistance
41
};
42
43
static IBPocaEvaluator* New(enum IBPocaEvaluationAlgorithms S);
44
45
virtual bool evaluate(MuonScatterData muon) = 0;
46
virtual HPoint3f getPoca() = 0;
47
virtual HPoint3f getInTrackPoca() = 0;
48
virtual HPoint3f getOutTrackPoca() = 0;
49
virtual Scalarf getDistance() = 0;
50
protected:
51
IBPocaEvaluator() {}
52
};
53
54
#endif // IBPOCAEVALUATOR_H
IBPocaEvaluator.h
Generated by
1.8.5