Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27114 from cms-sw/code-format-analysis-reconstruc…
…tion-4ecc02 Running code-format for analysis-reconstruction
- Loading branch information
Showing
93 changed files
with
3,472 additions
and
3,622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,37 @@ | ||
#ifndef __CommonTools_ParticleFlow_interface_EventHypothesis__ | ||
#define __CommonTools_ParticleFlow_interface_EventHypothesis__ | ||
|
||
|
||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
|
||
#include <map> | ||
#include <string> | ||
|
||
|
||
namespace pf2pat { | ||
|
||
class EventHypothesis { | ||
|
||
class EventHypothesis { | ||
public: | ||
/// the name of the parameter set is given to the event hypothesis | ||
/// the parameter set must contain a vstring named "sequence" | ||
/// and at least a parameter set named after each string in the | ||
/// sequence. | ||
EventHypothesis( const edm::ParameterSet& ps); | ||
|
||
/// and at least a parameter set named after each string in the | ||
/// sequence. | ||
EventHypothesis(const edm::ParameterSet& ps); | ||
|
||
private: | ||
// need a base class for all algorithms/producers | ||
typedef std::string Producer; | ||
typedef std::map< std::string, Producer > Producers; | ||
typedef std::vector< std::string > Sequence; | ||
typedef std::map<std::string, Producer> Producers; | ||
typedef std::vector<std::string> Sequence; | ||
|
||
/// unique name | ||
std::string name_; | ||
std::string name_; | ||
|
||
/// map of producers, indexed by producer name | ||
Producers producers_; | ||
Producers producers_; | ||
|
||
/// sequence of producers | ||
Sequence sequence_; | ||
|
||
/// sequence of producers | ||
Sequence sequence_; | ||
}; | ||
|
||
} | ||
} // namespace pf2pat | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.