Skip to content
Dylan Teague edited this page Jul 24, 2017 · 2 revisions

Systematics

This class is a work in progress. To separate the systematics related functions from the Analyzer related functions, the systematic class will grow.

The basic idea of the systematics is to set up a map of different TLorentzVectors for each particle. As particles are smeared by the systematics, the respective vector for that systematic is altered. Each set of particles for each systematic goes through the preprocess functions so different lists of "goodParts" are found. This is all printed out then at the end.

The systematics then just genericize the previous structures in the Analyzer, so The systematics should hopefully make the code easier to read even though it adds more complexity and functionality to the code

Constructor and Destructor

Systematics();
Systematics(std::unordered_map<string, PartStats> const &distats);
~Systematics();

Currently no functionality


Public Functions

void init();

Currently no functionality


void shiftParticle(Particle& jet, TLorentzVector recJet, double const& ratio, double& dPx, double& dPy, string syst);

Takes a particle and a ratio and smears the jet based on the ratio. This new particle is then added to the systematic for the particle.


Clone this wiki locally