eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
Smear.h File Reference
#include <cmath>
#include <fstream>
#include <iostream>
#include <memory>
#include <sstream>
#include <TF1.h>
#include <TF2.h>
#include <TLorentzVector.h>
#include <TMath.h>
#include <TRandom3.h>
#include <TROOT.h>
#include <TString.h>
#include <TSystem.h>
#include <TVector2.h>
#include "eicsmear/erhic/Kinematics.h"
#include "eicsmear/erhic/Particle.h"
#include "eicsmear/erhic/ParticleIdentifier.h"
#include "eicsmear/erhic/VirtualParticle.h"
#include "eicsmear/smear/ParticleMCS.h"

Go to the source code of this file.

Namespaces

 Smear
 

Enumerations

enum  Smear::KinType {
  Smear::kE, Smear::kP, Smear::kTheta, Smear::kPhi,
  Smear::kPz, Smear::kPt, Smear::kInvalidKinType
}
 Enumerator listing particle wise kinematic variables. More...
 
enum  Smear::EGenre { Smear::kAll = 0, Smear::kElectromagnetic = 1, Smear::kHadronic = 2 }
 Classes of particles. More...
 
enum  Smear::ECharge { Smear::kNeutral, Smear::kCharged, Smear::kAllCharges }
 Particle charged. More...
 

Functions

int Smear::PGenre (const erhic::VirtualParticle &prt)
 Determine particle "genre". More...
 
double Smear::FixTheta (double theta)
 Fix a polar angle so that it lies within [0,pi]. More...
 
double Smear::FixPhi (double phi)
 Fix an azimuthal angle so that it lies within [0,2*pi). More...
 
double Smear::GetVariable (const erhic::VirtualParticle &prt, KinType kin)
 Returns the kinematic variable associated with kin from the input particle. More...
 
void Smear::SetVariable (ParticleMCS &prt, double z, KinType kin)
 Stores z in the ParticleS.K where K is the kinematic variable associated with kin. More...
 
void Smear::HandleBogusValues (ParticleMCS &prt, KinType kin)
 This dictates how the namespace deals with positive definite variables which have been smeared to negative values. More...
 
void Smear::HandleBogusValues (ParticleMCS &prt)
 
bool Smear::IsCoreType (KinType kin)
 
int Smear::ParseInputFunction (TString &s, KinType &kin1, KinType &kin2)
 

Detailed Description

Declaration of various Smear namespace functions.

Author
Michael Savastio
Date
2011-08-19

Definition in file Smear.h.