CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PatternGenerator.h
Go to the documentation of this file.
1 /*
2  * PatternGenerator.h
3  *
4  * Created on: Nov 8, 2019
5  * Author: kbunkow
6  */
7 
8 #ifndef L1T_OmtfP1_PATTERNGENERATOR_H_
9 #define L1T_OmtfP1_PATTERNGENERATOR_H_
10 
12 
14 public:
18 
19  ~PatternGenerator() override;
20 
21  void observeEventEnd(const edm::Event& iEvent,
22  std::unique_ptr<l1t::RegionalMuonCandBxCollection>& finalCandidates) override;
23 
24  void endJob() override;
25 
26 protected:
27  void initPatternGen();
28 
29  void updateStat();
30 
31  void upadatePdfs();
32 
33  void saveHists(TFile& outfile) override;
34 
35  void modifyClassProb(double step);
36 
37  void reCalibratePt();
38 
39  void groupPatterns();
40 
41  //indexing: [charge][iLayer]
42  std::vector<std::vector<TH2I*> > ptDeltaPhiHists;
43 
44  std::vector<unsigned int> eventCntPerGp;
45 };
46 
47 #endif /* L1T_OmtfP1_PATTERNGENERATOR_H_ */
~PatternGenerator() override
void observeEventEnd(const edm::Event &iEvent, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates) override
int iEvent
Definition: GenABIO.cc:224
PatternGenerator(const edm::ParameterSet &edmCfg, const OMTFConfiguration *omtfConfig, GoldenPatternVec< GoldenPatternWithStat > &gps)
std::vector< std::vector< TH2I * > > ptDeltaPhiHists
std::vector< std::unique_ptr< GoldenPatternType > > GoldenPatternVec
void modifyClassProb(double step)
void endJob() override
std::vector< unsigned int > eventCntPerGp
step
Definition: StallMonitor.cc:94
const OMTFConfiguration * omtfConfig
void saveHists(TFile &outfile) override