Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:03:10

0001 #ifndef TAGGINGSTUDYMODULE_HH
0002 #define TAGGINGSTUDYMODULE_HH
0003 
0004 #include "classes/DelphesClasses.h"
0005 
0006 #include "Module.h"
0007 
0008 class TaggingStudyModule : public Module {
0009 
0010  public:
0011 
0012   TaggingStudyModule(ExRootTreeReader* data);
0013 
0014   ~TaggingStudyModule();
0015 
0016   void initialize() override;
0017   bool execute(std::map<std::string, std::any>* DataStore) override;
0018   void finalize() override;
0019 
0020 
0021  private:
0022   // errd0 and errz0 are in millimeters
0023   // bool Tagged(Jet* jet, float minSignif=2.2, float minPT = 1.0, int minTracks = 3, float errd0 = -1, float errz0 = -1);
0024 
0025   // Branch variables for storage to disk
0026   float _jet_pt;
0027   float _jet_eta;
0028   float _jet_flavor;
0029   float _jet_tagged;
0030   float _jet_btag;
0031 
0032 
0033   // study map linking variations to numbers and kinds of jet
0034 
0035   std::map<std::string, std::map<std::string, int>> study_variations;
0036   std::vector<int> minTrackVar{2, 3, 4};
0037   std::vector<float> minSignifVar{1.5, 1.75, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.5, 3.75, 4.00, 4.25, 4.50, 4.75, 5.00, 6.00, 7.00, 8.00, 9.00,10.00,12.00,14.00, 16.00};
0038   std::vector<float> minTrkPTVar{0.10, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5};
0039 
0040 };
0041 
0042 #endif