Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:08

0001 #ifndef SELECTIONUSERVARIABLES_H
0002 #define SELECTIONUSERVARIABLES_H
0003 
0004 /**
0005  * \class SelectionUserVariables
0006  *
0007  * Ugly class to "missuse" AlignmentParameters::userVariables() to transfer information
0008  * about other parameter selections then just '1' (keep) or '0' (ignore) to the alignment
0009  * algorithm.
0010  *
0011  *  \author    : Gero Flucke
0012  *  date       : November 2006
0013  *  $Revision: 1.1 $
0014  *  $Date: 2006/11/30 10:08:26 $
0015  *  (last update by $Author: flucke $)
0016  */
0017 
0018 #include "Alignment/CommonAlignment/interface/AlignmentUserVariables.h"
0019 
0020 #include <vector>
0021 
0022 class SelectionUserVariables : public AlignmentUserVariables {
0023 public:
0024   explicit SelectionUserVariables(const std::vector<char>& sel) : myFullSelection(sel) {}
0025   ~SelectionUserVariables() override {}
0026   SelectionUserVariables* clone() const override { return new SelectionUserVariables(*this); }
0027 
0028   const std::vector<char>& fullSelection() const { return myFullSelection; }
0029 
0030 private:
0031   std::vector<char> myFullSelection;
0032 };
0033 
0034 #endif