Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ic Namespace Reference

Data Structures

class  CaloJet
 Derived from the ic::Jet class and adding information specific to calorimeter jets. More...
 
class  Candidate
 Stores a four-momentum, charge and identifier, and is the base class for most other physics objects. More...
 
class  CompositeCandidate
 A candidate built by adding the four-momenta of other candidates. More...
 
class  Concatenate
 
class  Electron
 This class stores a subset of the reco::GsfElectron properties which are most commonly used in analysis. More...
 
class  EventInfo
 Stores core event information such as run, lumi and event number, as well as event weights and filter results. More...
 
class  GenJet
 Stores the basic properties of a generator-level jet, in particular can save the IDs of the GenParticle constituents. More...
 
class  GenParticle
 Stores the basic properties of generator-level particles as well as mother-daughter relations with other particles. More...
 
class  Jet
 A basic jet class to store properties common to all jet types. More...
 
class  JPTJet
 A class derived from ic::Jet which adds Jet-plus-track specific information. More...
 
class  L1TObject
 
class  LightTrack
 Stores a minimal amount of track information. More...
 
class  Merge
 Merge several collections into one, removing any duplicates in the process. More...
 
class  Met
 Stores a missing transverse energy object and the corresponding significance and corrections. More...
 
class  Muon
 This class stores a subset of the reco::Muon properties which are most commonly used in analysis. More...
 
class  PFCandidate
 Stores the basic properties of PFCandidates (and PackedCandidates for CMSSW 7_X_Y) More...
 
class  PFJet
 A class deriving from ic::Jet that provides specific information for particle-flow jets. More...
 
class  Photon
 This class stores a subset of the reco::Photon properties which are most commonly used in analysis. More...
 
class  PileupInfo
 Stores information on the in-time or out-of-time simulated pileup interactions. More...
 
class  SecondaryVertex
 A class deriving from ic::Vertex and adding information on the 3D flight distance. More...
 
struct  StaticTree
 Defines a small struct containing a static TTree pointer, thus providing a mechanism for each producer to add a branch to the same tree. More...
 
class  SuperCluster
 See documentation here. More...
 
class  Tau
 This class stores a subset of the reco::PFTau properties which are most commonly used in analysis. More...
 
class  Track
 Stores limited information about the track kinematics and trajectory. More...
 
class  TriggerObject
 Stores the four-momentum of a trigger object as well as a list of the (hashed) filter labels the object was accepted by. More...
 
class  TriggerPath
 Information on a trigger path, including accept, prescale and version information. More...
 
class  Unhash
 
class  Vertex
 Stores information about the position of an event vertex and the quality of the track fit. More...
 

Typedefs

typedef std::vector< ic::CaloJetCaloJetCollection
 
typedef std::vector
< ic::Candidate
CandidateCollection
 
typedef std::vector< ic::ElectronElectronCollection
 
typedef std::vector< ic::GenJetGenJetCollection
 
typedef std::vector
< ic::GenParticle
GenParticleCollection
 
typedef std::vector< ic::JetJetCollection
 
typedef std::vector< ic::JPTJetJPTJetCollection
 
typedef std::vector
< ic::L1TObject
L1TObjectCollection
 
typedef std::vector
< ic::LightTrack
LightTrackCollection
 
typedef std::vector< ic::MetMetCollection
 
typedef std::vector< ic::MuonMuonCollection
 
typedef std::vector
< ic::PFCandidate
PFCandidateCollection
 
typedef std::vector< ic::PFJetPFJetCollection
 
typedef std::vector< ic::PhotonPhotonCollection
 
typedef std::vector
< ic::PileupInfo
PileupInfoCollection
 
typedef std::vector
< ic::SecondaryVertex
SecondaryVertexCollection
 
typedef std::vector
< ic::SuperCluster
SuperClusterCollection
 
typedef std::vector< ic::TauTauCollection
 
typedef std::vector< ic::TrackTrackCollection
 
typedef std::vector
< ic::TriggerObject
TriggerObjectCollection
 
typedef std::vector
< ic::TriggerPath
TriggerPathCollection
 
typedef std::vector< ic::VertexVertexCollection
 

Enumerations

enum  GenStatusBits {
  IsPrompt = 0, IsDecayedLeptonHadron, IsTauDecayProduct, IsPromptTauDecayProduct,
  IsDirectTauDecayProduct, IsDirectPromptTauDecayProduct, IsDirectHadronDecayProduct, IsHardProcess,
  FromHardProcess, IsHardProcessTauDecayProduct, IsDirectHardProcessTauDecayProduct, FromHardProcessBeforeFSR,
  IsFirstCopy, IsLastCopy, IsLastCopyBeforeFSR
}
 Stores the order of the gen status flags stored inside the ic::GenParticle. More...
 
enum  PFType {
  X, h, e, mu,
  gamma, h0, h_HF, egamma_HF
}
 
enum  PFFlag {
  NORMAL = 0, E_PHI_SMODULES, E_ETA_0, E_ETA_MODULES,
  E_BARREL_ENDCAP, E_PRESHOWER_EDGE, E_PRESHOWER, E_ENDCAP_EDGE,
  H_ETA_0, H_BARREL_ENDCAP, H_ENDCAP_VFCAL, H_VFCAL_EDGE,
  T_TO_DISP, T_FROM_DISP, T_FROM_V0, T_FROM_GAMMACONV,
  GAMMA_TO_GAMMACONV
}
 

Functions

std::ostream & operator<< (std::ostream &os, const ic::Met::BasicMet &met)
 
Json::Value ExtractJsonFromFile (std::string const &file)
 Extracts a Json::Value from the specified input file. More...
 
Json::Value ExtractJsonFromString (std::string const &str)
 Extracts a Json::Value from the given input string. More...
 
Json::Value ExtractJsonFromFlatString (std::string const &str)
 Extracts a Json::Value from the given input string. More...
 
void UpdateJson (Json::Value &a, Json::Value const &b)
 Updates the values in one json from the values in another. More...
 
Json::Value MergedJson (int argc, char *argv[])
 Create a single merged Json::Value from a mixture of json files and json-formatted strings. More...
 
Json::Value MergedJson (std::vector< std::string > const &vec)
 Create a single merged Json::Value from a mixture of json files and json-formatted strings. More...
 

Typedef Documentation

typedef std::vector<ic::CaloJet> ic::CaloJetCollection

Definition at line 189 of file CaloJet.hh.

typedef std::vector<ic::Candidate> ic::CandidateCollection

Definition at line 95 of file Candidate.hh.

typedef std::vector<ic::Electron> ic::ElectronCollection

Definition at line 463 of file Electron.hh.

typedef std::vector<ic::GenJet> ic::GenJetCollection

Definition at line 63 of file GenJet.hh.

Definition at line 113 of file GenParticle.hh.

typedef std::vector<ic::Jet> ic::JetCollection

Definition at line 163 of file Jet.hh.

typedef std::vector<ic::JPTJet> ic::JPTJetCollection

Definition at line 273 of file JPTJet.hh.

typedef std::vector<ic::L1TObject> ic::L1TObjectCollection

Definition at line 48 of file L1TObject.hh.

Definition at line 57 of file LightTrack.hh.

typedef std::vector<ic::Met> ic::MetCollection

Definition at line 138 of file Met.hh.

typedef std::vector<ic::Muon> ic::MuonCollection

Definition at line 408 of file Muon.hh.

Examples:
plugins/ICPFCandidateProducer.cc.

Definition at line 129 of file PFCandidate.hh.

typedef std::vector<ic::PFJet> ic::PFJetCollection

Definition at line 398 of file PFJet.hh.

typedef std::vector<ic::Photon> ic::PhotonCollection

Definition at line 159 of file Photon.hh.

Definition at line 61 of file PileupInfo.hh.

Definition at line 53 of file SecondaryVertex.hh.

Definition at line 110 of file SuperCluster.hh.

typedef std::vector<ic::Tau> ic::TauCollection

Definition at line 217 of file Tau.hh.

typedef std::vector<ic::Track> ic::TrackCollection
Examples:
plugins/ICJetDestHelper.hh.

Definition at line 199 of file Track.hh.

Definition at line 44 of file TriggerObject.hh.

Definition at line 68 of file TriggerPath.hh.

typedef std::vector<ic::Vertex> ic::VertexCollection
Examples:
plugins/ICJetDestHelper.hh.

Definition at line 104 of file Vertex.hh.

Enumeration Type Documentation

Stores the order of the gen status flags stored inside the ic::GenParticle.

Enumerator
IsPrompt 
IsDecayedLeptonHadron 
IsTauDecayProduct 
IsPromptTauDecayProduct 
IsDirectTauDecayProduct 
IsDirectPromptTauDecayProduct 
IsDirectHadronDecayProduct 
IsHardProcess 
FromHardProcess 
IsHardProcessTauDecayProduct 
IsDirectHardProcessTauDecayProduct 
FromHardProcessBeforeFSR 
IsFirstCopy 
IsLastCopy 
IsLastCopyBeforeFSR 

Definition at line 15 of file GenParticle.hh.

enum ic::PFType
Enumerator
mu 
gamma 
h0 
h_HF 
egamma_HF 

Definition at line 12 of file PFCandidate.hh.

enum ic::PFFlag
Enumerator
NORMAL 
E_PHI_SMODULES 
E_ETA_0 
E_ETA_MODULES 
E_BARREL_ENDCAP 
E_PRESHOWER_EDGE 
E_PRESHOWER 
E_ENDCAP_EDGE 
H_ETA_0 
H_BARREL_ENDCAP 
H_ENDCAP_VFCAL 
H_VFCAL_EDGE 
T_TO_DISP 
T_FROM_DISP 
T_FROM_V0 
T_FROM_GAMMACONV 
GAMMA_TO_GAMMACONV 

Definition at line 13 of file PFCandidate.hh.

Function Documentation

std::ostream & ic::operator<< ( std::ostream &  os,
const ic::Met::BasicMet met 
)

Definition at line 127 of file Met.cc.

Json::Value ic::ExtractJsonFromFile ( std::string const &  file)

Extracts a Json::Value from the specified input file.

Parameters
fileThe full path to the input json file

Definition at line 10 of file JsonTools.cc.

Json::Value ic::ExtractJsonFromString ( std::string const &  str)

Extracts a Json::Value from the given input string.

Parameters
strMust be a valid JSON object, including the enclosing curly braces, e.g: { key : "value" }.

Definition at line 22 of file JsonTools.cc.

Json::Value ic::ExtractJsonFromFlatString ( std::string const &  str)

Extracts a Json::Value from the given input string.

Parameters
strshould separate keys and required values by : and any lists of values by ^ e.g: key:value1^value2.

To pass a list consisting of only one value precede the value by ^ e.g.: key:^value1, for an empty list leave off the value arguments: key:

Definition at line 29 of file JsonTools.cc.

void ic::UpdateJson ( Json::Value &  a,
Json::Value const &  b 
)

Updates the values in one json from the values in another.

All the values in b are entered into a, overwritting any already defined in a.

Parameters
aThe Json::Value to be updated
bThe Json::Value containing the updates

Definition at line 117 of file JsonTools.cc.

Json::Value ic::MergedJson ( int  argc,
char *  argv[] 
)

Create a single merged Json::Value from a mixture of json files and json-formatted strings.

Each string contained in argv must either be the name of a file containing json data or a string of json-formatted text. A string will only be assumed to indicate a file when it ends with the file extension .json.

Note
It is assumed that the arguments of this function are those passed to a main function, and accordingly the first element of argv will be ignored.
Parameters
argcNumber of arguments contained in argv
argvAn array of strings

Definition at line 128 of file JsonTools.cc.

Json::Value ic::MergedJson ( std::vector< std::string > const &  vec)

Create a single merged Json::Value from a mixture of json files and json-formatted strings.

Each string contained in vec must either be the name of a file containing json data or a string of json-formatted text. A string will only be assumed to indicate a file when it ends with the file extension .json.

Parameters
vecVector of input strings

Definition at line 144 of file JsonTools.cc.