IB-0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
IBTiltedAxisPocaEvaluator.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 IBTILTEDAXISPOCAEVALUATOR_H
22
#define IBTILTEDAXISPOCAEVALUATOR_H
23
24
#include "IBPocaEvaluator.h"
25
#include "IBMuonError.h"
26
27
class IBTiltedAxisPocaEvaluator : public IBPocaEvaluator
28
{
29
public:
30
31
IBTiltedAxisPocaEvaluator();
32
~IBTiltedAxisPocaEvaluator();
33
34
bool evaluate(MuonScatterData muon);
35
HPoint3f getPoca();
36
HPoint3f getInTrackPoca(){ return HPoint3f();}
37
HPoint3f getOutTrackPoca(){ return HPoint3f();}
38
39
// dummy functions for the moment... to be implemented
40
inline Scalarf getDistance() {return 0;}
41
42
private:
43
44
Matrix4f getRotationMatrix(const HVector3f &track_direction);
45
Matrix4f compileYRotation(Scalarf angle);
46
Matrix4f compileZRotation(Scalarf angle);
47
HVector3f getDirectorCosines(const HVector3f &track_direction);
48
49
MuonScatterData m_muon;
50
HPoint3f m_poca;
51
bool m_integrity;
52
53
};
54
55
#endif // IBTILTEDAXISPOCAEVALUATOR_H
IBTiltedAxisPocaEvaluator.h
Generated by
1.8.5