IB-0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
IBLineDistancePocaEvaluator.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 IBLINEDISTANCEPOCAEVALUATOR_H
22
#define IBLINEDISTANCEPOCAEVALUATOR_H
23
24
#include "IBPocaEvaluator.h"
25
26
class IBLineDistancePocaEvaluator : public IBPocaEvaluator
27
{
28
public:
29
IBLineDistancePocaEvaluator();
30
~IBLineDistancePocaEvaluator();
31
32
bool evaluate(MuonScatterData muon);
33
HPoint3f getPoca();
34
HPoint3f getOutTrackPoca();
35
HPoint3f getInTrackPoca();
36
void setDistanceCut(Scalarf length);
37
Scalarf getDistance();
38
39
private:
40
41
HVector3f getDirectorCosines(const HVector3f &track_direction);
42
43
//TODO probably useless
44
bool m_integrity;
45
46
Scalarf m_cutlength;
47
Scalarf m_dist;
48
MuonScatterData m_muon;
49
HPoint3f m_poca;
50
HPoint3f m_inPoca;
51
HPoint3f m_outPoca;
52
};
53
54
#endif // IBLINEDISTANCEPOCAEVALUATOR_H
IBLineDistancePocaEvaluator.h
Generated by
1.8.5