IB-0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
IBAnalyzerEMAlgorithm.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 IBANALYZEREMALGORITHM_H
22
#define IBANALYZEREMALGORITHM_H
23
24
#include "IBAnalyzerEM.h"
25
26
using namespace uLib;
27
28
29
30
class IBAnalyzerEMAlgorithm
31
{
32
protected:
33
typedef struct IBAnalyzerEM::Event Event;
34
public:
35
IBAnalyzerEMAlgorithm() : inertia(1) {}
36
37
virtual void evaluate(Matrix4f &Sigma, Event *evc) = 0;
38
39
virtual bool ComputeSigma(Matrix4f &Sigma, Event *evc);
40
41
protected:
42
Scalarf inertia;
43
44
virtual ~IBAnalyzerEMAlgorithm() {}
45
46
};
47
48
49
#endif // IBANALYZEREMALGORITHM_H
IBAnalyzerEMAlgorithm.h
Generated by
1.8.5