CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Enumerations | Variables
Histograms.cc File Reference
#include "QCDAnalysis/ChargedHadronSpectra/interface/Histograms.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "TROOT.h"
#include "TTree.h"
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include <iostream>
#include <cmath>

Go to the source code of this file.

Macros

#define nCharges   2
 
#define nFeedDowns   18
 
#define nParticles   21
 
#define nResonances   4
 

Enumerations

enum  Charges { pos, neg, zero, undefined }
 
enum  Particles {
  pip, pim, kap, kam,
  prp, prm, elp, elm,
  hap, ham, gam, k0s,
  lam, ala, rho, kst,
  aks, phi, sip, asi,
  any
}
 

Variables

const char * chargeName [2+2]
 
const std::pair< int, int > feedDown [18]
 
const int partCharge [21]
 
const char * partName [21]
 
const std::pair< int, int > resonance [4]
 

Macro Definition Documentation

#define nCharges   2

Definition at line 17 of file Histograms.cc.

Referenced by Histograms::declareHistograms().

#define nFeedDowns   18

Definition at line 60 of file Histograms.cc.

Referenced by Histograms::declareHistograms(), and Histograms::fillRecHistograms().

#define nParticles   21
#define nResonances   4

Definition at line 74 of file Histograms.cc.

Enumeration Type Documentation

enum Charges
Enumerator
pos 
neg 
zero 
undefined 

Definition at line 18 of file Histograms.cc.

19 { pos, neg, zero, undefined };
enum Particles
Enumerator
pip 
pim 
kap 
kam 
prp 
prm 
elp 
elm 
hap 
ham 
gam 
k0s 
lam 
ala 
rho 
kst 
aks 
phi 
sip 
asi 
any 

Definition at line 26 of file Histograms.cc.

27 {
28  pip, pim, kap, kam,
29  prp, prm, elp, elm,
30  hap, ham,
31  gam, k0s, lam, ala,
32  rho, kst, aks, phi,
33  sip, asi,
34  any
35 };
Definition: DDAxes.h:10
Definition: DDAxes.h:10

Variable Documentation

const char* chargeName[2+2]
Initial value:
=
{ "pos", "neg", "zero", "undefined" }

Definition at line 21 of file Histograms.cc.

Referenced by Histograms::declareHistograms().

const std::pair<int,int> feedDown[18]
Initial value:
=
{
std::pair<int,int>(k0s, pip), std::pair<int,int>(k0s, pim),
std::pair<int,int>(lam, prp), std::pair<int,int>(lam, pim),
std::pair<int,int>(ala, prm), std::pair<int,int>(ala, pip),
std::pair<int,int>(sip, prp), std::pair<int,int>(asi, prm),
std::pair<int,int>(any, pip), std::pair<int,int>(any, pim),
std::pair<int,int>(any, kap), std::pair<int,int>(any, kam),
std::pair<int,int>(any, prp), std::pair<int,int>(any, prm),
std::pair<int,int>(any, elp), std::pair<int,int>(any, elm),
std::pair<int,int>(any, hap), std::pair<int,int>(any, ham)
}

Definition at line 61 of file Histograms.cc.

Referenced by Histograms::declareHistograms(), and Histograms::fillRecHistograms().

const int partCharge[21]
Initial value:
=
{
pos , neg , pos , neg ,
pos , neg , pos , neg ,
pos , neg ,
pos , neg ,
}

Definition at line 48 of file Histograms.cc.

Referenced by Histograms::fillRecHistograms(), Histograms::fillSimHistograms(), and GenHFHadronMatcher::findInMothers().

const char* partName[21]
Initial value:
=
{
"pip", "pim", "kap", "kam",
"prp", "prm", "elp", "elm",
"hap", "ham",
"gam", "k0s", "lam", "ala",
"rho", "kst", "aks", "phi",
"sip", "asi",
"any"
}

Definition at line 37 of file Histograms.cc.

Referenced by Histograms::declareHistograms(), main(), and makeTKTrend().

const std::pair<int,int> resonance[4]
Initial value:
=
{
std::pair<int,int>(pip, pim),
std::pair<int,int>(kap, pim),
std::pair<int,int>(pip, kam),
std::pair<int,int>(kap, kam)
}

Definition at line 75 of file Histograms.cc.

Referenced by PrimaryVertexAnalyzer::getSimPVs().