CMS 3D CMS Logo

Defines | Enumerations | Variables

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/QCDAnalysis/ChargedHadronSpectra/src/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.

Defines

#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 [nCharges+2]
const std::pair< int, int > feedDown [nFeedDowns]
const int partCharge [nParticles]
const char * partName [nParticles]
const std::pair< int, int > resonance [nResonances]

Define 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.

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.

{
  pip, pim, kap, kam,
  prp, prm, elp, elm,
  hap, ham,
  gam, k0s, lam, ala,
  rho, kst, aks, phi,
  sip, asi,
  any
};

Variable Documentation

const char* chargeName[nCharges+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[nFeedDowns]
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[nParticles]
Initial value:
{
  pos , neg , pos , neg ,
  pos , neg , pos , neg ,
  pos , neg ,
  zero, zero, zero, zero,
  zero, zero, zero, zero,
  pos , neg ,
  undefined
}

Definition at line 48 of file Histograms.cc.

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

const char* partName[nParticles]
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().

const std::pair<int,int> resonance[nResonances]
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().