Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:24

0001 //   COCOA class header file

0002 //Id:  FittedEntriesManager.h

0003 //CAT: Model

0004 //

0005 //   Class to manage the sets of fitted entries (one set per each measurement data set)

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef _FittedEntriesManager_HH
0011 #define _FittedEntriesManager_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include "Alignment/CocoaFit/interface/FittedEntriesSet.h"
0015 
0016 class FittedEntriesManager {
0017 public:
0018   //---------- Constructors / Destructor

0019   FittedEntriesManager(){};
0020   ~FittedEntriesManager(){};
0021   static FittedEntriesManager* getInstance();
0022   void AddFittedEntriesSet(FittedEntriesSet* fents);
0023   void MakeHistos();
0024 
0025 public:
0026   std::vector<FittedEntriesSet*> getFittedEntriesSets() const { return theFittedEntriesSets; }
0027 
0028 private:
0029   ALIstring createFileName(const ALIstring& optoName, const ALIstring& entryName);
0030   void dumpEntriesSubstraction(std::ofstream& fout, FittedEntriesSet& fes, ALIint order1, ALIint order2);
0031 
0032 private:
0033   static FittedEntriesManager* instance;
0034   std::vector<FittedEntriesSet*> theFittedEntriesSets;
0035 
0036   void GetDifferentBetweenLasers();
0037 };
0038 
0039 #endif