IB-0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
IBAnalyzerPoca.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 IBANALYZERPOCA_H
22
#define IBANALYZERPOCA_H
23
24
#include "IBAnalyzer.h"
25
26
using namespace uLib;
27
28
class IBPocaEvaluator;
29
30
class IBAnalyzerPoca : public IBAnalyzer
31
{
32
public:
33
typedef IBAnalyzer BaseClass;
34
35
IBAnalyzerPoca();
36
~IBAnalyzerPoca();
37
38
inline virtual const char *type_name() const { return "IBAnalyzerPoca"; }
39
40
bool AddMuon(const MuonScatterData &event);
41
42
void Run(unsigned int iterations = 1, float muons_ratio = 1);
43
44
void SetPocaAlgorithm(IBPocaEvaluator *poca);
45
46
void SetMuonCollection(IBMuonCollection *muons);
47
48
private:
49
IBPocaEvaluator *m_PocaAlgorithm;
50
std::vector<HPoint3f> m_Data;
51
};
52
53
54
55
56
#endif // IBANALYZERPOCA_H
IBAnalyzerPoca.h
Generated by
1.8.5