HighLAND
|
Inherit from baseTrackerAnalysis, which inherit from basAnslysis, which inherits from AnalysisAlgorithm (in highlandCore) More...
#include <tutorialAnalysis.hxx>
Public Types | |
enum | enumStandardMicroTrees_tutorialAnalysis { nLongTPCTracks = nueCCAnalysis::enumStandardMicroTreesLast_nueCCAnalysis+1, selmu_truemom, selmu_detectors, selmu_sense, selmu_costheta, selmu_deltaPhi, selmu_pT, selmu_dir, selmu_pos, selmu_ntpcs, selmu_tpc_det, selmu_tpc_nnodes, selmu_tpc_mom, selmu_tpc_pos, selmu_tpc_dir, selmu_tpc_truemom, selmu_mom, selmu_tpc_dedx, truelepton_pdg, truelepton_mom, truelepton_pos, truelepton_dir, truelepton_costheta, enumStandardMicroTreesLast_tutorialAnalysis } |
enum | enumSyst_tutorialAnalysis { kTutorialWeight = SystId::SystEnumLast_SystId+1, kTutorialVariation, enumSystLast_tutorialAnalysis } |
enum | enumConf_tutorialAnalysis { tutorial_syst =enumConfLast_baseTrackerAnalysis+1, enumConfLast_btutorialAnalysis } |
enum | enumConfigTree_tutorialAnalysis { nNucleonsFGD1 = enumConfigTreeLast_AnalysisAlgorithm+1, nNucleonsFGD2scint, nNucleonsFGD2water, enumConfigTreeLast_tutorialAnalysis } |
![]() | |
enum | enumStandardMicroTrees_baseTrackerAnalysis { ntpctracks = enumStandardMicroTreesLast_baseAnalysis+1, ntpcposQualityFV, ntpcnegQualityFV, nfgdtracks, nfgdonlytracks, chargeid_ncorrect, chargeid_nwrong, tpcfgdmatch_ncorrect, tpcfgdmatch_nwrong, tpctr_ncorrect, tpctr_nwrong, fgdtr_ncorrect, fgdtr_nwrong, fgdhybtr_ncorrect, fgdhybtr_nwrong, meeff_ncorrect, meeff_nwrong, mepur_ncorrect, mepur_nwrong, tpc_ecal_match_ncorrect, tpc_ecal_match_nwrong, tpc_p0d_match_ncorrect, tpc_p0d_match_nwrong, fgd_ecal_match_ncorrect, fgd_ecal_match_nwrong, fgd_ecal_smrd_match_ncorrect, fgd_ecal_smrd_match_nwrong, ecal_pid_ncorrect, ecal_pid_nwrong, ecal_tr_ncorrect, ecal_tr_nwrong, ecal_emhippid_ncorrect, ecal_emhippid_nwrong, fgd2shower_ncorrect, fgd2shower_nwrong, enumStandardMicroTreesLast_baseTrackerAnalysis } |
enum | enumConf_baseTrackerAnalysis { bfield_syst =baseAnalysis::enumConfLast_baseAnalysis+1, momscale_syst, momresol_syst, momrange_resol_syst, tpcpid_syst, fgdpid_syst, chargeideff_syst, tpctrackeff_syst, fgdtrackeff_syst, fgdhybridtrackeff_syst, tpcfgdmatcheff_syst, tpcclustereff_syst, michel_syst, oofv_syst, pileup_syst, fgdmass_syst, sandmu_syst, ecal_emresol_syst, ecal_emscale_syst, tpc_ecal_matcheff_syst, tpc_p0d_matcheff_syst, fgd_ecal_matcheff_syst, fgd_ecal_smrd_matcheff_syst, ecal_trackeff_syst, ecal_pid_syst, tof_resol_syst, ecal_emhippid_syst, fgd2shower_syst, nuetpcpileup_syst, nuep0dpileup_syst, nueecalpileup_syst, nueoofv_syst, p0d_elossscale_syst, p0d_elossresol_syst, p0d_veto_syst, enumConfLast_baseTrackerAnalysis } |
![]() | |
enum | enumStandardMicroTrees_baseAnalysis { run = enumStandardMicroTreesLast_AnalysisAlgorithm+1, subrun, evt, evt_time, bunch, NWEIGHTS, weight, TruthVertexID, TruthVertexNB, RooVtxIndex, RooVtxEntry, RooVtxEntry2, RooVtxFile, nu_pdg, nu_trueE, nu_truereac, nu_truedir, truelepton_mom, truelepton_costheta, truelepton_dir, truevtx_pos, selvtx_det, selvtx_pos, selvtx_truepos, true_signal, weight_syst_total_noflux, enumStandardMicroTreesLast_baseAnalysis } |
enum | enumConf_baseAnalysis { sipion_syst =ConfigurationManager::enumConfLast_ConfigurationManager+1, siproton_syst, nuflux_syst, antinuflux_syst, all_syst, zero_var, enumConfLast_baseAnalysis } |
![]() | |
enum | enumAnalysisPoint { kInitialize =0, kDefineProductions, kDefineInputConverters, kDefineSelections, kDefineCorrections, kDefineSystematics, kDefineConfigurations, kDefineMicroTrees, kDefineTruthTree, kFillConfigTree, kInitializeSpill, kInitializeBunch, kInitializeConfiguration, kInitializeToy, kInitializeSelection, kFinalizeSelection, kFinalizeToy, kFillToyVarsInMicroTrees, kFinalizeConfiguration, kFillCategories, kFillMicroTrees, kFinalizeBunch, kFillTruthTree, kFinalizeSpill, kFinalize } |
enum | enumStandardMicroTrees_AnalysisAlgorithm { firstCategory = OutputManager::enumStandardMicroTreesLast_OutputManager+1, firstCategoryCounter = firstCategory+NMAXCATEG, entry = firstCategoryCounter + NMAXCATEGCOUNTERS, toy_ref, toy_index, toy_par_weight, toy_par_var, NWEIGHTSYST, weight_syst, weight_syst_total, weight_corr, weight_corr_total, redo, accum_level, first_cut, last_cut =first_cut+NMAXSTEPS, enumStandardMicroTreesLast_AnalysisAlgorithm } |
enum | enumConfigTree_AnalysisAlgorithm { SoftwareVersion =0, HOSTNAME, CMTPATH, INPUTFILE, OriginalFile, MinAccumLevelToSave, enumConfigTreeLast_AnalysisAlgorithm } |
Public Member Functions | |
tutorialAnalysis (AnalysisAlgorithm *ana=NULL) | |
bool | Initialize () |
[AnalysisAlgorithm_mandatory] | |
void | DefineSelections () |
Add to the selection manager the selections for this analysis. More... | |
void | DefineCorrections () |
[tutorialAnalysis_DefineSelections] More... | |
void | DefineSystematics () |
[tutorialAnalysis_DefineCorrections] More... | |
void | DefineConfigurations () |
[tutorialAnalysis_DefineSystematics] More... | |
void | DefineMicroTrees (bool addBase=true) |
[tutorialAnalysis_DefineConfigurations] More... | |
void | DefineTruthTree () |
[tutorialAnalysis_DefineMicroTrees] More... | |
void | FillMicroTrees (bool addBase=true) |
[tutorialAnalysis_DefineTruthTree] More... | |
void | FillToyVarsInMicroTrees (bool addBase=true) |
[tutorialAnalysis_FillMicroTrees] More... | |
bool | CheckFillTruthTree (const AnaTrueVertex &vtx) |
[tutorialAnalysis_FillToyVarsInMicroTrees] | |
void | FillTruthTree (const AnaTrueVertex &vtx) |
void | FillConfigTree () |
void | FillCategories () |
![]() | |
baseTrackerAnalysis (AnalysisAlgorithm *ana=NULL) | |
virtual void | FillTruthTreeBase (const AnaTrueVertex &vtx, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false) |
virtual const ToyBoxTracker & | box (Int_t isel=-1) const |
Returns the ToyBoxTracker. | |
virtual AnaVertexB * | GetVertex () const |
Returns the vertex for the ToyBoxTracker. | |
virtual AnaTrueVertexB * | GetTrueVertex () const |
Returns the true vertex for the ToyBoxTracker. | |
![]() | |
baseAnalysis (AnalysisAlgorithm *ana=NULL) | |
virtual bool | InitializeSpill () |
virtual bool | FinalizeConfiguration () |
virtual void | DefineProductions () |
virtual void | DefineInputConverters () |
void | FillMicroTreesBase (bool addBase=true) |
void | FillToyVarsInMicroTreesBase (bool addBase=true) |
void | FillTruthTree () |
void | FillTruthTreeBase (const AnaTrueVertex &vtx, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false) |
AnaSpill & | GetSpill () |
Get a casted AnaSpillC to AnaSpill from the InputManager. | |
AnaBunch & | GetBunch () |
Get a casted AnaBunchBB to AnaBunch from the InputManager (TODO the protection) | |
AnaEvent & | GetEvent () |
Get a casted AnaEventC to AnaEvent. | |
virtual AnaEventC * | MakeEvent () |
Create the appropriate event time from an Spill and a Bunch in that spill. | |
void | SetSaveRooTracker (bool save) |
Set whether to save the RooTrackerVtx tree or not. | |
void | SetRooVtxManager (RooTrackerVtxManager *man) |
Set the RooTrackerVtxManager. | |
![]() | |
AnalysisAlgorithm (AnalysisAlgorithm *ana=NULL) | |
virtual void | Finalize () |
[AnalysisAlgorithm_optional] | |
virtual void | FinalizeSpill () |
virtual void | InitializeBunch () |
virtual void | FinalizeBunch () |
virtual void | InitializeConfiguration () |
virtual void | InitializeToy () |
virtual void | FinalizeToy () |
virtual void | InitializeSelection (const SelectionBase &) |
virtual void | FinalizeSelection (const SelectionBase &) |
void | FinalizeToyBase () |
[AnalysisAlgorithm_mandatory] More... | |
void | SetFillSuccessOnly (bool fill) |
Fill trees and process weight systematics only when any of the branches is successful. | |
bool | GetFillSuccessOnly () |
void | SetInitializeTrees (bool ini) |
Initialize trees at the beginning of each configuration. | |
bool | GetInitializeTrees () |
void | SetMinAccumCutLevelToSave (Int_t level) |
Set the minimum accumulated cut level to save an event into the micro-tree. | |
Int_t | GetMinAccumCutLevelToSave () |
Get the minimum accumulated cut level to save an event into the micro-tree. | |
bool | CheckAccumLevelToSave () |
Check if the condition is fulfilled for at least one branch. | |
void | SetEvent (AnaEventC *event) |
Set the current event into the algorithm and all used algorithms. | |
void | SetToyBox (const ToyBoxB *box, Int_t isel=0) |
Set the current box into the algorithm and all used algorithms. This is useful when one Analysis uses another. | |
void | UseAnalysis (AnalysisAlgorithm *ana) |
Used a given analysis. | |
void | SetSelectedSelection (Int_t sel) |
Select one of the selections. | |
void | SetVersionCheck (bool check) |
Set version checking. | |
void | SetAnalysisPoint (enumAnalysisPoint point) |
Set the point of the analysis at which AnalysisLoop is. | |
HighlandInputManager & | input () |
SelectionManager & | sel () |
CorrectionManager & | corr () |
SystematicManager & | syst () |
EventWeightManager & | eweight () |
EventVariationManager & | evar () |
OutputManager & | output () |
ConfigurationManager & | conf () |
CategoryManager & | cat () |
DocStringManager & | doc () |
virtual const ToyBoxB & | boxB (Int_t isel=-1) const |
Additional Inherited Members | |
![]() | |
void | AddZeroVarConfiguration () |
![]() | |
bool | _computeEfficiency |
Compute analysis sample efficiency. | |
ChargeIDEffSystematics * | _chargeid |
TPCFGDMatchEffSystematics * | _tpcfgdmatch |
TPCTrackEffSystematics * | _tpctr |
FGDTrackEffSystematics * | _fgdtr |
FGDHybridTrackEffSystematics * | _fgdhybtr |
MichelElectronEffSystematics * | _me |
TPCECalMatchEffSystematics * | _tpc_ecal_matcheff |
TPCP0DMatchEffSystematics * | _tpc_p0d_matcheff |
FGDECalMatchEffSystematics * | _fgd_ecal_matcheff |
FGDECalSMRDMatchEffSystematics * | _fgd_ecal_smrd_matcheff |
ECalTrackEffSystematics * | _ecal_trackeff |
ECalPIDSystematics * | _ecal_pid |
ECalEmHipPIDSystematics * | _ecal_emhippid |
FGD2ShowerSystematics * | _fgd2shower |
![]() | |
RooTrackerVtxManager * | _rooVtxManager |
the manager of the RooTrackerVtx | |
bool | _saveRooTrackerVtxTree |
Save RooTracker tree in output file. | |
FluxWeighting * | _flux |
Access to the flux weighting. | |
bool | _applyFluxWeight |
Flag to enable/disable flux weight. | |
std::string | _fluxFile |
Flux file and option. | |
std::string | _fluxTuning |
bool | _enableSingleVariationSystConf |
bool | _enableSingleWeightSystConf |
bool | _enableAllSystConfig |
bool | _enableZeroVarConfig |
Int_t | _ntoys |
Int_t | _randomSeed |
![]() | |
HighlandInputManager * | _inputManager |
Input Manager: access to the current Event. | |
CorrectionManager * | _corrManager |
Correction Manager. | |
SystematicManager * | _systManager |
Systematics Manager. | |
EventWeightManager * | _weightManager |
EventWeight Manager. | |
EventVariationManager * | _variationManager |
EventVariation Manager. | |
OutputManager * | _outputManager |
Output Manager. | |
ConfigurationManager * | _confManager |
Configuration Manager. | |
SelectionManager * | _selManager |
CategoryManager * | _categManager |
DocStringManager * | _docManager |
const ToyBoxB * | _box [NMAXSELECTIONS] |
The analysis box. | |
Int_t | _min_accum_cut_level |
the minimum accumulated cut level to save an event into the micro-tree | |
bool | _fillSuccessOnly |
Fill trees and process weight systematics only when any of the branches is succesful. | |
bool | _initializeTrees |
Initialize trees at the beginning of each configuration. | |
AnaEventC * | _event |
The current event. | |
std::vector< AnalysisAlgorithm * > | _usedAnalyses |
The Vector of used analysis. | |
Int_t | _selectedSelection |
The selected selection. | |
bool | _setMethodCalled |
Boolean parameter to know whether nny of the methods that sets things into used analysis has been called. | |
bool | _versionCheck |
enumAnalysisPoint | _analysisPoint |
Inherit from baseTrackerAnalysis, which inherit from basAnslysis, which inherits from AnalysisAlgorithm (in highlandCore)
Definition at line 9 of file tutorialAnalysis.hxx.
|
virtual |
[tutorialAnalysis_DefineSystematics]
[tutorialAnalysis_DefineConfigurations]
Reimplemented from baseTrackerAnalysis.
Definition at line 230 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_DefineSelections]
[tutorialAnalysis_DefineCorrections]
Reimplemented from baseTrackerAnalysis.
Definition at line 164 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_DefineConfigurations]
[tutorialAnalysis_DefineMicroTrees]
Reimplemented from baseTrackerAnalysis.
Definition at line 269 of file tutorialAnalysis.cxx.
|
virtual |
Add to the selection manager the selections for this analysis.
[tutorialAnalysis_DefineSelections]
Implements AnalysisAlgorithm.
Definition at line 126 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_DefineCorrections]
[tutorialAnalysis_DefineSystematics]
Reimplemented from baseTrackerAnalysis.
Definition at line 189 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_DefineMicroTrees]
[tutorialAnalysis_DefineTruthTree]
[tutorialAnalysis_DefineTruthTree_info]
[tutorialAnalysis_DefineTruthTree_info]
Reimplemented from baseTrackerAnalysis.
Definition at line 334 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_DefineTruthTree]
[tutorialAnalysis_FillMicroTrees]
Reimplemented from baseTrackerAnalysis.
Definition at line 372 of file tutorialAnalysis.cxx.
|
virtual |
[tutorialAnalysis_FillMicroTrees]
[tutorialAnalysis_FillToyVarsInMicroTrees]
Reimplemented from baseTrackerAnalysis.
Definition at line 462 of file tutorialAnalysis.cxx.