Classes | Typedefs | Enumerations | Functions
ana::covmx Namespace Reference

Classes

class  Sample
 

Typedefs

typedef std::vector< std::vector< TMatrixD > > Patch
 
typedef std::pair< covmx::Sample, covmx::SampleSamplePair
 
typedef std::tuple< ana::Flavors::Flavors_t, ana::Current::Current_t, ana::Sign::Sign_tComponent
 

Enumerations

enum  Analysis { kCCNumu, kCCNue, kNC }
 
enum  Polarity { kFHC, kRHC }
 
enum  Detector { kNearDet, kFarDet }
 
enum  Quantile {
  kQ1, kQ2, kQ3, kQ4,
  kNoQ
}
 

Functions

std::vector< ComponentGetComponents ()
 

Typedef Documentation

Definition at line 26 of file CovarianceMatrix.h.

typedef std::vector< std::vector<TMatrixD> > ana::covmx::Patch

Definition at line 26 of file CovMxManager.h.

Definition at line 27 of file CovMxManager.h.

Enumeration Type Documentation

Enumerator
kCCNumu 
kCCNue 
kNC 

Definition at line 16 of file Sample.h.

Enumerator
kNearDet 
kFarDet 

Definition at line 18 of file Sample.h.

Enumerator
kFHC 
kRHC 

Definition at line 17 of file Sample.h.

Enumerator
kQ1 
kQ2 
kQ3 
kQ4 
kNoQ 

Definition at line 19 of file Sample.h.

Function Documentation

std::vector< Component > ana::covmx::GetComponents ( )

Definition at line 24 of file CovarianceMatrix.cxx.

References naming_schema::components, ana::flavors, ana::Flavors::kAll, ana::Sign::kAntiNu, ana::Sign::kBoth, ana::Current::kCC, ana::Current::kNC, ana::Sign::kNu, ana::Flavors::kNuEToNuE, ana::Flavors::kNuEToNuMu, ana::Flavors::kNuEToNuTau, ana::Flavors::kNuMuToNuE, ana::Flavors::kNuMuToNuMu, ana::Flavors::kNuMuToNuTau, and canMan::sign().

Referenced by ana::CovMxManager::CovMxManager(), and ana::CovarianceMatrix::InitComponents().

25  {
26 
27  std::vector<Component> components;
28 
29  // Define vectors of flavour and sign
30  std::vector<ana::Flavors::Flavors_t> flavors =
34 
35  std::vector<ana::Sign::Sign_t> signs =
37 
38  // Add each combination of flavour and sign
39  for (auto & flavor: flavors)
40  for (auto & sign: signs)
41  components.push_back(
42  std::make_tuple(flavor, ana::Current::kCC, sign) );
43 
44  // Add the neutral currents
45  components.push_back(
46  std::make_tuple(ana::Flavors::kAll,
49 
50  return components;
51 
52  }
Antineutrinos-only.
Definition: IPrediction.h:50
(&#39; appearance&#39;)
Definition: IPrediction.h:18
dictionary components
(&#39;beam &#39;)
Definition: IPrediction.h:15
Charged-current interactions.
Definition: IPrediction.h:39
std::vector< std::string > flavors
Neutrinos-only.
Definition: IPrediction.h:49
(&#39; survival&#39;)
Definition: IPrediction.h:19
Neutral-current interactions.
Definition: IPrediction.h:40
Both neutrinos and antineutrinos.
Definition: IPrediction.h:52
All neutrinos, any flavor.
Definition: IPrediction.h:26
(&#39; appearance&#39;)
Definition: IPrediction.h:16
def sign(x)
Definition: canMan.py:197