forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
/
FittedEntriesManager.h
45 lines (33 loc) · 1.15 KB
/
FittedEntriesManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// COCOA class header file
//Id: FittedEntriesManager.h
//CAT: Model
//
// Class to manage the sets of fitted entries (one set per each measurement data set)
//
// History: v1.0
// Pedro Arce
#ifndef _FittedEntriesManager_HH
#define _FittedEntriesManager_HH
#include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
#include "Alignment/CocoaAnalysis/interface/FittedEntriesSet.h"
class FittedEntriesManager
{
public:
//---------- Constructors / Destructor
FittedEntriesManager(){ };
~FittedEntriesManager(){ };
static FittedEntriesManager* getInstance();
void AddFittedEntriesSet( FittedEntriesSet* fents);
void MakeHistos();
public:
std::vector< FittedEntriesSet* > getFittedEntriesSets() const {
return theFittedEntriesSets; }
private:
ALIstring createFileName( const ALIstring& optoName, const ALIstring& entryName);
void dumpEntriesSubstraction( std::ofstream& fout, FittedEntriesSet& fes, ALIint order1, ALIint order2 );
private:
static FittedEntriesManager* instance;
std::vector< FittedEntriesSet* > theFittedEntriesSets;
void GetDifferentBetweenLasers();
};
#endif