Project
Loading...
Searching...
No Matches
o2::align::Controller Class Referencefinal

#include <Controller.h>

Inherits TObject.

Classes

struct  ProcStat
 

Public Types

enum  { kNLrSkip = 4 }
 
enum  {
  kITS , kTPC , kTRD , kTOF ,
  kHMPID , kNDetectors , kUndefined
}
 
enum  { kCosmLow , kCosmUp , kNCosmLegs }
 
enum  { kInitGeomDone = BIT(14) , kInitDOFsDone = BIT(15) , kMPAlignDone = BIT(16) }
 
using DetID = o2::detectors::DetID
 
using GTrackID = o2::dataformats::GlobalTrackID
 

Public Member Functions

 Controller ()=default
 
 Controller (DetID::mask_t detmask, GTrackID::mask_t trcmask, bool cosmic=false, bool useMC=false, int instID=0)
 
 ~Controller () final
 
void expandGlobalsBy (int n)
 
void process ()
 
void processCosmic ()
 
bool getUseRecoOCDB () const
 
void setUseRecoOCDB (bool v=true)
 
void initDetectors ()
 
void initDOFs ()
 
void terminate ()
 
void setInitGeomDone ()
 
bool getInitGeomDone () const
 
void setInitDOFsDone ()
 
bool getInitDOFsDone () const
 
void setMPAlignDone ()
 
bool getMPAlignDone () const
 
void assignDOFs ()
 
void addDetector (AlignableDetector *det)
 
int getNConstraints () const
 
const std::vector< GeometricalConstraint > & getConstraints () const
 
std::vector< GeometricalConstraint > & getConstraints ()
 
const GeometricalConstraintgetConstraint (int i) const
 
void addAutoConstraints ()
 
void setTimingInfo (const o2::framework::TimingInfo &ti)
 
bool getFieldOn () const
 
void setFieldOn (bool v=true)
 
int getTracksType () const
 
void setTracksType (int t=utils::Coll)
 
bool isCosmic () const
 
bool isCollision () const
 
void setCosmic (bool v=true)
 
auto getStat (int cls, int tp) const
 
auto & getStat () const
 
bool checkDetectorPattern (DetID::mask_t patt) const
 
bool checkDetectorPoints (const int *npsel) const
 
void setObligatoryDetector (DetID id, int tp, bool v=true)
 
bool readParameters (const std::string &parfile="millepede.res", bool useErrors=true)
 
auto & getGloParVal ()
 
auto & getGloParErr ()
 
auto & getGloParLab ()
 
int getGloParLab (int i) const
 
int parID2Label (int i) const
 
int label2ParID (int lab) const
 
AlignableVolumegetVolOfDOFID (int id) const
 
AlignableVolumegetVolOfLabel (int label) const
 
AlignableDetectorgetDetOfDOFID (int id) const
 
AlignmentPointgetRefPoint () const
 
const ResidualsControllergetContResid () const
 
const Millepede2RecordgetMPRecord () const
 
TTree * getMPRecTree () const
 
AlignmentTrackgetAlgTrack () const
 
const o2::globaltracking::RecoContainergetRecoContainer () const
 
void setRecoContainer (const o2::globaltracking::RecoContainer *cont)
 
bool addVertexConstraint (const o2::dataformats::PrimaryVertex &vtx)
 
int getNDetectors () const
 
AlignableDetectorgetDetector (DetID id) const
 
EventVertexgetVertexSensor () const
 
void resetForNextTrack ()
 
int getNDOFs () const
 
float getControlFrac () const
 
void setControlFrac (float v=1.)
 
void writeCalibrationResults () const
 
void applyAlignmentFromMPSol ()
 
bool fillMPRecData (o2::dataformats::GlobalTrackID tid)
 
bool fillControlData (o2::dataformats::GlobalTrackID tid)
 
bool fillMilleData ()
 
void closeMPRecOutput ()
 
void closeMilleOutput ()
 
void closeResidOutput ()
 
void initMPRecOutput ()
 
void initMIlleOutput ()
 
void initResidOutput ()
 
bool storeProcessedTrack (o2::dataformats::GlobalTrackID tid={})
 
void extractDbgTrack ()
 
void printStatistics () const
 
void genPedeSteerFile (const Option_t *opt="") const
 
void writeLabeledPedeResults () const
 
void writePedeConstraints () const
 
void checkConstraints (const char *params=nullptr)
 
int getRefRunNumber () const
 
void setRefRunNumber (int r=-1)
 
int getRefOCDBLoaded () const
 
void Print (const Option_t *opt="") const final
 
void printLabels () const
 
Char_t * getDOFLabelTxt (int idf) const
 
bool testLocalSolution ()
 
void checkSol (TTree *mpRecTree, bool store=true, bool verbose=false, bool loc=true, const char *outName="resFast")
 
bool checkSol (Millepede2Record *rec, ResidualsControllerFast *rLG=nullptr, ResidualsControllerFast *rL=nullptr, bool verbose=true, bool loc=true)
 
void init ()
 
void setDetectorsMask (DetID::mask_t m)
 
DetID::mask_t getDetectorsMask () const
 
void setTrackSourceMask (GTrackID::mask_t m)
 
GTrackID::mask_t getTrackSourceMask () const
 
void setTRDTransformer (const o2::trd::TrackletTransformer *trans)
 
void setTRDTrigRecFilterActive (bool v)
 
void setAllowAfterburnerTracks (bool v)
 
const o2::trd::TrackletTransformergetTRDTransformer () const
 
bool getTRDTrigRecFilterActive () const
 
bool getAllowAfterburnerTracks () const
 
void setTPCVDrift (const o2::tpc::VDriftCorrFact &v)
 
void setTPCCorrMaps (o2::gpu::CorrectionMapsHelper *maph)
 
o2::gpu::CorrectionMapsHelpergetTPCCorrMaps ()
 
const o2::tpc::VDriftCorrFactgetTPCVDrift () const
 
int getInstanceID () const
 
void setInstanceID (int i)
 
int getDebugOutputLevel () const
 
void setDebugOutputLevel (int i)
 
void setDebugStream (o2::utils::TreeStreamRedirector *d)
 
o2::utils::TreeStreamRedirectorgetDebugStream ()
 
void setTPCParam (const o2::gpu::GPUParam *par)
 
const o2::gpu::GPUParamgetTPCParam () const
 

Static Public Member Functions

static Char_t * getDetNameByDetID (int id)
 
static void MPRec2Mille (const std::string &mprecfile, const std::string &millefile="mpData.mille", bool bindata=true)
 
static void MPRec2Mille (TTree *mprTree, const std::string &millefile="mpData.mille", bool bindata=true)
 

Protected Member Functions

 Controller (const Controller &)
 
Controlleroperator= (const Controller &)
 

Protected Attributes

DetID::mask_t mDetMask {}
 
GTrackID::mask_t mMPsrc {}
 
std::vector< intmTrackSources
 
o2::framework::TimingInfo mTimingInfo {}
 
int mInstanceID = 0
 
int mRunNumber = 0
 
int mNDet = 0
 
int mNDOFs = 0
 
bool mUseMC = false
 
bool mFieldOn = false
 
int mTracksType = utils::Coll
 
float mMPRecOutFraction = 0.
 
float mControlFraction = 0.
 
std::unique_ptr< AlignmentTrackmAlgTrack
 
AlgTrcDbg mAlgTrackDbg
 
const o2::globaltracking::RecoContainermRecoData = nullptr
 
const o2::trd::TrackletTransformermTRDTransformer = nullptr
 
bool mTRDTrigRecFilterActive = false
 
bool mAllowAfterburnerTracks = false
 
const o2::gpu::GPUParammTPCParam = nullptr
 
std::array< std::unique_ptr< AlignableDetector >, DetID::nDetectorsmDetectors {}
 
std::unique_ptr< EventVertexmVtxSens
 
std::vector< GeometricalConstraintmConstraints {}
 
std::array< DetID::mask_t, utils::NTrackTypesmObligatoryDetPattern {}
 
std::vector< float > mGloParVal
 
std::vector< float > mGloParErr
 
std::vector< intmGloParLab
 
std::unordered_map< int, intmLbl2ID
 
std::unique_ptr< AlignmentPointmRefPoint
 
int mDebugOutputLevel = 0
 reference point for track definition
 
o2::utils::TreeStreamRedirectormDBGOut = nullptr
 
ProcStat mStat {}
 
int mNTF = 0
 
float mControlFrac = 1.0
 
std::unique_ptr< MillemMille
 
Millepede2Record mMPRecord
 Mille interface.
 
Millepede2RecordmMPRecordPtr = &mMPRecord
 MP record.
 
ResidualsController mCResid
 MP record.
 
ResidualsControllermCResidPtr = &mCResid
 control residuals
 
std::unique_ptr< TTree > mMPRecTree
 control residuals
 
std::unique_ptr< TTree > mResidTree
 tree to store MP record
 
std::unique_ptr< TFile > mMPRecFile
 tree to store control residuals
 
std::unique_ptr< TFile > mResidFile
 file to store MP record tree
 
std::string mMilleFileName {}
 file to store control residuals tree
 
int mRefRunNumber = 0
 
int mRefOCDBLoaded = 0
 
bool mUseRecoOCDB = true
 
o2::tpc::VDriftCorrFact mTPCDrift {}
 
o2::gpu::CorrectionMapsHelpermTPCCorrMapsHelper = nullptr
 

Static Protected Attributes

static const int sSkipLayers [kNLrSkip] = {0, 0, 0, 0}
 
static const Char_t * sDetectorName [kNDetectors] = {"ITS", "TPC", "TRD", "TOF", "HMPID"}
 
static const Char_t * sMPDataExt = ".mille"
 
static const Char_t * sMPDataTxtExt = ".mille_txt"
 

Detailed Description

Definition at line 90 of file Controller.h.

Member Typedef Documentation

◆ DetID

◆ GTrackID

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNLrSkip 

Definition at line 113 of file Controller.h.

◆ anonymous enum

anonymous enum
Enumerator
kITS 
kTPC 
kTRD 
kTOF 
kHMPID 
kNDetectors 
kUndefined 

Definition at line 114 of file Controller.h.

◆ anonymous enum

anonymous enum
Enumerator
kCosmLow 
kCosmUp 
kNCosmLegs 

Definition at line 121 of file Controller.h.

◆ anonymous enum

anonymous enum
Enumerator
kInitGeomDone 
kInitDOFsDone 
kMPAlignDone 

Definition at line 124 of file Controller.h.

Constructor & Destructor Documentation

◆ Controller() [1/3]

o2::align::Controller::Controller ( )
default

◆ Controller() [2/3]

o2::align::Controller::Controller ( DetID::mask_t  detmask,
GTrackID::mask_t  trcmask,
bool  cosmic = false,
bool  useMC = false,
int  instID = 0 
)

Definition at line 91 of file Controller.cxx.

◆ ~Controller()

o2::align::Controller::~Controller ( )
final

Definition at line 99 of file Controller.cxx.

◆ Controller() [3/3]

o2::align::Controller::Controller ( const Controller )
protected

Member Function Documentation

◆ addAutoConstraints()

void o2::align::Controller::addAutoConstraints ( )

Definition at line 1500 of file Controller.cxx.

◆ addDetector()

void o2::align::Controller::addDetector ( AlignableDetector det)

Definition at line 723 of file Controller.cxx.

◆ addVertexConstraint()

bool o2::align::Controller::addVertexConstraint ( const o2::dataformats::PrimaryVertex vtx)

Definition at line 1120 of file Controller.cxx.

◆ applyAlignmentFromMPSol()

void o2::align::Controller::applyAlignmentFromMPSol ( )

Definition at line 1852 of file Controller.cxx.

◆ assignDOFs()

void o2::align::Controller::assignDOFs ( )

Definition at line 670 of file Controller.cxx.

◆ checkConstraints()

void o2::align::Controller::checkConstraints ( const char params = nullptr)

Definition at line 1390 of file Controller.cxx.

◆ checkDetectorPattern()

bool o2::align::Controller::checkDetectorPattern ( DetID::mask_t  patt) const

Definition at line 731 of file Controller.cxx.

◆ checkDetectorPoints()

bool o2::align::Controller::checkDetectorPoints ( const int npsel) const

Definition at line 739 of file Controller.cxx.

◆ checkSol() [1/2]

bool o2::align::Controller::checkSol ( Millepede2Record rec,
ResidualsControllerFast rLG = nullptr,
ResidualsControllerFast rL = nullptr,
bool  verbose = true,
bool  loc = true 
)

Definition at line 1587 of file Controller.cxx.

◆ checkSol() [2/2]

void o2::align::Controller::checkSol ( TTree *  mpRecTree,
bool  store = true,
bool  verbose = false,
bool  loc = true,
const char outName = "resFast" 
)

Definition at line 1528 of file Controller.cxx.

◆ closeMilleOutput()

void o2::align::Controller::closeMilleOutput ( )

Definition at line 1079 of file Controller.cxx.

◆ closeMPRecOutput()

void o2::align::Controller::closeMPRecOutput ( )

Definition at line 1048 of file Controller.cxx.

◆ closeResidOutput()

void o2::align::Controller::closeResidOutput ( )

Definition at line 1063 of file Controller.cxx.

◆ expandGlobalsBy()

void o2::align::Controller::expandGlobalsBy ( int  n)

Definition at line 1868 of file Controller.cxx.

◆ extractDbgTrack()

void o2::align::Controller::extractDbgTrack ( )

◆ fillControlData()

bool o2::align::Controller::fillControlData ( o2::dataformats::GlobalTrackID  tid)

Definition at line 885 of file Controller.cxx.

◆ fillMilleData()

bool o2::align::Controller::fillMilleData ( )

Definition at line 783 of file Controller.cxx.

◆ fillMPRecData()

bool o2::align::Controller::fillMPRecData ( o2::dataformats::GlobalTrackID  tid)

Definition at line 867 of file Controller.cxx.

◆ genPedeSteerFile()

void o2::align::Controller::genPedeSteerFile ( const Option_t *  opt = "") const

Definition at line 1258 of file Controller.cxx.

◆ getAlgTrack()

AlignmentTrack * o2::align::Controller::getAlgTrack ( ) const
inline

Definition at line 198 of file Controller.h.

◆ getAllowAfterburnerTracks()

bool o2::align::Controller::getAllowAfterburnerTracks ( ) const
inline

Definition at line 272 of file Controller.h.

◆ getConstraint()

const GeometricalConstraint & o2::align::Controller::getConstraint ( int  i) const
inline

Definition at line 159 of file Controller.h.

◆ getConstraints() [1/2]

std::vector< GeometricalConstraint > & o2::align::Controller::getConstraints ( )
inline

Definition at line 158 of file Controller.h.

◆ getConstraints() [2/2]

const std::vector< GeometricalConstraint > & o2::align::Controller::getConstraints ( ) const
inline

Definition at line 157 of file Controller.h.

◆ getContResid()

const ResidualsController & o2::align::Controller::getContResid ( ) const
inline

Definition at line 195 of file Controller.h.

◆ getControlFrac()

float o2::align::Controller::getControlFrac ( ) const
inline

Definition at line 212 of file Controller.h.

◆ getDebugOutputLevel()

int o2::align::Controller::getDebugOutputLevel ( ) const
inline

Definition at line 282 of file Controller.h.

◆ getDebugStream()

o2::utils::TreeStreamRedirector * o2::align::Controller::getDebugStream ( )
inline

Definition at line 285 of file Controller.h.

◆ getDetector()

AlignableDetector * o2::align::Controller::getDetector ( DetID  id) const
inline

Definition at line 205 of file Controller.h.

◆ getDetectorsMask()

DetID::mask_t o2::align::Controller::getDetectorsMask ( ) const
inline

Definition at line 261 of file Controller.h.

◆ getDetNameByDetID()

static Char_t * o2::align::Controller::getDetNameByDetID ( int  id)
inlinestatic

Definition at line 247 of file Controller.h.

◆ getDetOfDOFID()

AlignableDetector * o2::align::Controller::getDetOfDOFID ( int  id) const

Definition at line 1162 of file Controller.cxx.

◆ getDOFLabelTxt()

Char_t * o2::align::Controller::getDOFLabelTxt ( int  idf) const

Definition at line 1216 of file Controller.cxx.

◆ getFieldOn()

bool o2::align::Controller::getFieldOn ( ) const
inline

Definition at line 164 of file Controller.h.

◆ getGloParErr()

auto & o2::align::Controller::getGloParErr ( )
inline

Definition at line 184 of file Controller.h.

◆ getGloParLab() [1/2]

auto & o2::align::Controller::getGloParLab ( )
inline

Definition at line 185 of file Controller.h.

◆ getGloParLab() [2/2]

int o2::align::Controller::getGloParLab ( int  i) const
inline

Definition at line 186 of file Controller.h.

◆ getGloParVal()

auto & o2::align::Controller::getGloParVal ( )
inline

Definition at line 183 of file Controller.h.

◆ getInitDOFsDone()

bool o2::align::Controller::getInitDOFsDone ( ) const
inline

Definition at line 147 of file Controller.h.

◆ getInitGeomDone()

bool o2::align::Controller::getInitGeomDone ( ) const
inline

Definition at line 144 of file Controller.h.

◆ getInstanceID()

int o2::align::Controller::getInstanceID ( ) const
inline

Definition at line 279 of file Controller.h.

◆ getMPAlignDone()

bool o2::align::Controller::getMPAlignDone ( ) const
inline

Definition at line 150 of file Controller.h.

◆ getMPRecord()

const Millepede2Record & o2::align::Controller::getMPRecord ( ) const
inline

Definition at line 196 of file Controller.h.

◆ getMPRecTree()

TTree * o2::align::Controller::getMPRecTree ( ) const
inline

Definition at line 197 of file Controller.h.

◆ getNConstraints()

int o2::align::Controller::getNConstraints ( ) const
inline

Definition at line 156 of file Controller.h.

◆ getNDetectors()

int o2::align::Controller::getNDetectors ( ) const
inline

Definition at line 204 of file Controller.h.

◆ getNDOFs()

int o2::align::Controller::getNDOFs ( ) const
inline

Definition at line 210 of file Controller.h.

◆ getRecoContainer()

const o2::globaltracking::RecoContainer * o2::align::Controller::getRecoContainer ( ) const
inline

Definition at line 200 of file Controller.h.

◆ getRefOCDBLoaded()

int o2::align::Controller::getRefOCDBLoaded ( ) const
inline

Definition at line 241 of file Controller.h.

◆ getRefPoint()

AlignmentPoint * o2::align::Controller::getRefPoint ( ) const
inline

Definition at line 193 of file Controller.h.

◆ getRefRunNumber()

int o2::align::Controller::getRefRunNumber ( ) const
inline

Definition at line 238 of file Controller.h.

◆ getStat() [1/2]

auto & o2::align::Controller::getStat ( ) const
inline

Definition at line 172 of file Controller.h.

◆ getStat() [2/2]

auto o2::align::Controller::getStat ( int  cls,
int  tp 
) const
inline

Definition at line 171 of file Controller.h.

◆ getTPCCorrMaps()

o2::gpu::CorrectionMapsHelper * o2::align::Controller::getTPCCorrMaps ( )
inline

Definition at line 276 of file Controller.h.

◆ getTPCParam()

const o2::gpu::GPUParam * o2::align::Controller::getTPCParam ( ) const
inline

Definition at line 288 of file Controller.h.

◆ getTPCVDrift()

const o2::tpc::VDriftCorrFact & o2::align::Controller::getTPCVDrift ( ) const
inline

Definition at line 277 of file Controller.h.

◆ getTrackSourceMask()

GTrackID::mask_t o2::align::Controller::getTrackSourceMask ( ) const
inline

Definition at line 264 of file Controller.h.

◆ getTracksType()

int o2::align::Controller::getTracksType ( ) const
inline

Definition at line 166 of file Controller.h.

◆ getTRDTransformer()

const o2::trd::TrackletTransformer * o2::align::Controller::getTRDTransformer ( ) const
inline

Definition at line 270 of file Controller.h.

◆ getTRDTrigRecFilterActive()

bool o2::align::Controller::getTRDTrigRecFilterActive ( ) const
inline

Definition at line 271 of file Controller.h.

◆ getUseRecoOCDB()

bool o2::align::Controller::getUseRecoOCDB ( ) const
inline

Definition at line 136 of file Controller.h.

◆ getVertexSensor()

EventVertex * o2::align::Controller::getVertexSensor ( ) const
inline

Definition at line 207 of file Controller.h.

◆ getVolOfDOFID()

AlignableVolume * o2::align::Controller::getVolOfDOFID ( int  id) const

Definition at line 1175 of file Controller.cxx.

◆ getVolOfLabel()

AlignableVolume * o2::align::Controller::getVolOfLabel ( int  label) const

Definition at line 1191 of file Controller.cxx.

◆ init()

void o2::align::Controller::init ( )

Definition at line 109 of file Controller.cxx.

◆ initDetectors()

void o2::align::Controller::initDetectors ( )

Definition at line 590 of file Controller.cxx.

◆ initDOFs()

void o2::align::Controller::initDOFs ( )

Definition at line 635 of file Controller.cxx.

◆ initMIlleOutput()

void o2::align::Controller::initMIlleOutput ( )

◆ initMPRecOutput()

void o2::align::Controller::initMPRecOutput ( )

Definition at line 1030 of file Controller.cxx.

◆ initResidOutput()

void o2::align::Controller::initResidOutput ( )

Definition at line 1039 of file Controller.cxx.

◆ isCollision()

bool o2::align::Controller::isCollision ( ) const
inline

Definition at line 169 of file Controller.h.

◆ isCosmic()

bool o2::align::Controller::isCosmic ( ) const
inline

Definition at line 168 of file Controller.h.

◆ label2ParID()

int o2::align::Controller::label2ParID ( int  lab) const

Definition at line 1489 of file Controller.cxx.

◆ MPRec2Mille() [1/2]

void o2::align::Controller::MPRec2Mille ( const std::string &  mprecfile,
const std::string &  millefile = "mpData.mille",
bool  bindata = true 
)
static

Definition at line 1407 of file Controller.cxx.

◆ MPRec2Mille() [2/2]

void o2::align::Controller::MPRec2Mille ( TTree *  mprTree,
const std::string &  millefile = "mpData.mille",
bool  bindata = true 
)
static

Definition at line 1427 of file Controller.cxx.

◆ operator=()

Controller & o2::align::Controller::operator= ( const Controller )
protected

◆ parID2Label()

int o2::align::Controller::parID2Label ( int  i) const
inline

Definition at line 187 of file Controller.h.

◆ Print()

void o2::align::Controller::Print ( const Option_t *  opt = "") const
final

Definition at line 922 of file Controller.cxx.

◆ printLabels()

void o2::align::Controller::printLabels ( ) const

Definition at line 1480 of file Controller.cxx.

◆ printStatistics()

void o2::align::Controller::printStatistics ( ) const

Definition at line 955 of file Controller.cxx.

◆ process()

void o2::align::Controller::process ( )

Definition at line 140 of file Controller.cxx.

◆ processCosmic()

void o2::align::Controller::processCosmic ( )

Definition at line 412 of file Controller.cxx.

◆ readParameters()

bool o2::align::Controller::readParameters ( const std::string &  parfile = "millepede.res",
bool  useErrors = true 
)

Definition at line 1330 of file Controller.cxx.

◆ resetForNextTrack()

void o2::align::Controller::resetForNextTrack ( )

Definition at line 962 of file Controller.cxx.

◆ setAllowAfterburnerTracks()

void o2::align::Controller::setAllowAfterburnerTracks ( bool  v)
inline

Definition at line 268 of file Controller.h.

◆ setControlFrac()

void o2::align::Controller::setControlFrac ( float  v = 1.)
inline

Definition at line 213 of file Controller.h.

◆ setCosmic()

void o2::align::Controller::setCosmic ( bool  v = true)
inline

Definition at line 170 of file Controller.h.

◆ setDebugOutputLevel()

void o2::align::Controller::setDebugOutputLevel ( int  i)
inline

Definition at line 283 of file Controller.h.

◆ setDebugStream()

void o2::align::Controller::setDebugStream ( o2::utils::TreeStreamRedirector d)
inline

Definition at line 284 of file Controller.h.

◆ setDetectorsMask()

void o2::align::Controller::setDetectorsMask ( DetID::mask_t  m)
inline

Definition at line 260 of file Controller.h.

◆ setFieldOn()

void o2::align::Controller::setFieldOn ( bool  v = true)
inline

Definition at line 165 of file Controller.h.

◆ setInitDOFsDone()

void o2::align::Controller::setInitDOFsDone ( )
inline

Definition at line 146 of file Controller.h.

◆ setInitGeomDone()

void o2::align::Controller::setInitGeomDone ( )
inline

Definition at line 143 of file Controller.h.

◆ setInstanceID()

void o2::align::Controller::setInstanceID ( int  i)
inline

Definition at line 280 of file Controller.h.

◆ setMPAlignDone()

void o2::align::Controller::setMPAlignDone ( )
inline

Definition at line 149 of file Controller.h.

◆ setObligatoryDetector()

void o2::align::Controller::setObligatoryDetector ( DetID  id,
int  tp,
bool  v = true 
)

Definition at line 1101 of file Controller.cxx.

◆ setRecoContainer()

void o2::align::Controller::setRecoContainer ( const o2::globaltracking::RecoContainer cont)
inline

Definition at line 201 of file Controller.h.

◆ setRefRunNumber()

void o2::align::Controller::setRefRunNumber ( int  r = -1)
inline

Definition at line 239 of file Controller.h.

◆ setTimingInfo()

void o2::align::Controller::setTimingInfo ( const o2::framework::TimingInfo ti)

Definition at line 912 of file Controller.cxx.

◆ setTPCCorrMaps()

void o2::align::Controller::setTPCCorrMaps ( o2::gpu::CorrectionMapsHelper maph)

Definition at line 1885 of file Controller.cxx.

◆ setTPCParam()

void o2::align::Controller::setTPCParam ( const o2::gpu::GPUParam par)
inline

Definition at line 287 of file Controller.h.

◆ setTPCVDrift()

void o2::align::Controller::setTPCVDrift ( const o2::tpc::VDriftCorrFact v)

Definition at line 1879 of file Controller.cxx.

◆ setTrackSourceMask()

void o2::align::Controller::setTrackSourceMask ( GTrackID::mask_t  m)
inline

Definition at line 263 of file Controller.h.

◆ setTracksType()

void o2::align::Controller::setTracksType ( int  t = utils::Coll)
inline

Definition at line 167 of file Controller.h.

◆ setTRDTransformer()

void o2::align::Controller::setTRDTransformer ( const o2::trd::TrackletTransformer trans)
inline

Definition at line 266 of file Controller.h.

◆ setTRDTrigRecFilterActive()

void o2::align::Controller::setTRDTrigRecFilterActive ( bool  v)
inline

Definition at line 267 of file Controller.h.

◆ setUseRecoOCDB()

void o2::align::Controller::setUseRecoOCDB ( bool  v = true)
inline

Definition at line 137 of file Controller.h.

◆ storeProcessedTrack()

bool o2::align::Controller::storeProcessedTrack ( o2::dataformats::GlobalTrackID  tid = {})

Definition at line 760 of file Controller.cxx.

◆ terminate()

void o2::align::Controller::terminate ( )

Definition at line 1199 of file Controller.cxx.

◆ testLocalSolution()

bool o2::align::Controller::testLocalSolution ( )

Definition at line 976 of file Controller.cxx.

◆ writeCalibrationResults()

void o2::align::Controller::writeCalibrationResults ( ) const

Definition at line 1149 of file Controller.cxx.

◆ writeLabeledPedeResults()

void o2::align::Controller::writeLabeledPedeResults ( ) const

Definition at line 1237 of file Controller.cxx.

◆ writePedeConstraints()

void o2::align::Controller::writePedeConstraints ( ) const

Definition at line 1514 of file Controller.cxx.

Member Data Documentation

◆ mAlgTrack

std::unique_ptr<AlignmentTrack> o2::align::Controller::mAlgTrack
protected

Definition at line 311 of file Controller.h.

◆ mAlgTrackDbg

AlgTrcDbg o2::align::Controller::mAlgTrackDbg
protected

Definition at line 312 of file Controller.h.

◆ mAllowAfterburnerTracks

bool o2::align::Controller::mAllowAfterburnerTracks = false
protected

Definition at line 316 of file Controller.h.

◆ mConstraints

std::vector<GeometricalConstraint> o2::align::Controller::mConstraints {}
protected

Definition at line 323 of file Controller.h.

◆ mControlFrac

float o2::align::Controller::mControlFrac = 1.0
protected

Definition at line 343 of file Controller.h.

◆ mControlFraction

float o2::align::Controller::mControlFraction = 0.
protected

Definition at line 310 of file Controller.h.

◆ mCResid

ResidualsController o2::align::Controller::mCResid
protected

MP record.

Definition at line 347 of file Controller.h.

◆ mCResidPtr

ResidualsController* o2::align::Controller::mCResidPtr = &mCResid
protected

control residuals

Definition at line 348 of file Controller.h.

◆ mDBGOut

o2::utils::TreeStreamRedirector* o2::align::Controller::mDBGOut = nullptr
protected

Definition at line 336 of file Controller.h.

◆ mDebugOutputLevel

int o2::align::Controller::mDebugOutputLevel = 0
protected

reference point for track definition

Definition at line 335 of file Controller.h.

◆ mDetectors

std::array<std::unique_ptr<AlignableDetector>, DetID::nDetectors> o2::align::Controller::mDetectors {}
protected

Definition at line 320 of file Controller.h.

◆ mDetMask

DetID::mask_t o2::align::Controller::mDetMask {}
protected

Definition at line 298 of file Controller.h.

◆ mFieldOn

bool o2::align::Controller::mFieldOn = false
protected

Definition at line 307 of file Controller.h.

◆ mGloParErr

std::vector<float> o2::align::Controller::mGloParErr
protected

Definition at line 329 of file Controller.h.

◆ mGloParLab

std::vector<int> o2::align::Controller::mGloParLab
protected

Definition at line 330 of file Controller.h.

◆ mGloParVal

std::vector<float> o2::align::Controller::mGloParVal
protected

Definition at line 328 of file Controller.h.

◆ mInstanceID

int o2::align::Controller::mInstanceID = 0
protected

Definition at line 302 of file Controller.h.

◆ mLbl2ID

std::unordered_map<int, int> o2::align::Controller::mLbl2ID
protected

Definition at line 331 of file Controller.h.

◆ mMille

std::unique_ptr<Mille> o2::align::Controller::mMille
protected

Definition at line 344 of file Controller.h.

◆ mMilleFileName

std::string o2::align::Controller::mMilleFileName {}
protected

file to store control residuals tree

Definition at line 354 of file Controller.h.

◆ mMPRecFile

std::unique_ptr<TFile> o2::align::Controller::mMPRecFile
protected

tree to store control residuals

Definition at line 352 of file Controller.h.

◆ mMPRecord

Millepede2Record o2::align::Controller::mMPRecord
protected

Mille interface.

Definition at line 345 of file Controller.h.

◆ mMPRecordPtr

Millepede2Record* o2::align::Controller::mMPRecordPtr = &mMPRecord
protected

MP record.

Definition at line 346 of file Controller.h.

◆ mMPRecOutFraction

float o2::align::Controller::mMPRecOutFraction = 0.
protected

Definition at line 309 of file Controller.h.

◆ mMPRecTree

std::unique_ptr<TTree> o2::align::Controller::mMPRecTree
protected

control residuals

Definition at line 350 of file Controller.h.

◆ mMPsrc

GTrackID::mask_t o2::align::Controller::mMPsrc {}
protected

Definition at line 299 of file Controller.h.

◆ mNDet

int o2::align::Controller::mNDet = 0
protected

Definition at line 304 of file Controller.h.

◆ mNDOFs

int o2::align::Controller::mNDOFs = 0
protected

Definition at line 305 of file Controller.h.

◆ mNTF

int o2::align::Controller::mNTF = 0
protected

Definition at line 340 of file Controller.h.

◆ mObligatoryDetPattern

std::array<DetID::mask_t, utils::NTrackTypes> o2::align::Controller::mObligatoryDetPattern {}
protected

Definition at line 326 of file Controller.h.

◆ mRecoData

const o2::globaltracking::RecoContainer* o2::align::Controller::mRecoData = nullptr
protected

Definition at line 313 of file Controller.h.

◆ mRefOCDBLoaded

int o2::align::Controller::mRefOCDBLoaded = 0
protected

Definition at line 358 of file Controller.h.

◆ mRefPoint

std::unique_ptr<AlignmentPoint> o2::align::Controller::mRefPoint
protected

Definition at line 333 of file Controller.h.

◆ mRefRunNumber

int o2::align::Controller::mRefRunNumber = 0
protected

Definition at line 357 of file Controller.h.

◆ mResidFile

std::unique_ptr<TFile> o2::align::Controller::mResidFile
protected

file to store MP record tree

Definition at line 353 of file Controller.h.

◆ mResidTree

std::unique_ptr<TTree> o2::align::Controller::mResidTree
protected

tree to store MP record

Definition at line 351 of file Controller.h.

◆ mRunNumber

int o2::align::Controller::mRunNumber = 0
protected

Definition at line 303 of file Controller.h.

◆ mStat

ProcStat o2::align::Controller::mStat {}
protected

Definition at line 339 of file Controller.h.

◆ mTimingInfo

o2::framework::TimingInfo o2::align::Controller::mTimingInfo {}
protected

Definition at line 301 of file Controller.h.

◆ mTPCCorrMapsHelper

o2::gpu::CorrectionMapsHelper* o2::align::Controller::mTPCCorrMapsHelper = nullptr
protected

Definition at line 362 of file Controller.h.

◆ mTPCDrift

o2::tpc::VDriftCorrFact o2::align::Controller::mTPCDrift {}
protected

Definition at line 361 of file Controller.h.

◆ mTPCParam

const o2::gpu::GPUParam* o2::align::Controller::mTPCParam = nullptr
protected

Definition at line 318 of file Controller.h.

◆ mTrackSources

std::vector<int> o2::align::Controller::mTrackSources
protected

Definition at line 300 of file Controller.h.

◆ mTracksType

int o2::align::Controller::mTracksType = utils::Coll
protected

Definition at line 308 of file Controller.h.

◆ mTRDTransformer

const o2::trd::TrackletTransformer* o2::align::Controller::mTRDTransformer = nullptr
protected

Definition at line 314 of file Controller.h.

◆ mTRDTrigRecFilterActive

bool o2::align::Controller::mTRDTrigRecFilterActive = false
protected

Definition at line 315 of file Controller.h.

◆ mUseMC

bool o2::align::Controller::mUseMC = false
protected

Definition at line 306 of file Controller.h.

◆ mUseRecoOCDB

bool o2::align::Controller::mUseRecoOCDB = true
protected

Definition at line 359 of file Controller.h.

◆ mVtxSens

std::unique_ptr<EventVertex> o2::align::Controller::mVtxSens
protected

Definition at line 322 of file Controller.h.

◆ sDetectorName

const Char_t * o2::align::Controller::sDetectorName = {"ITS", "TPC", "TRD", "TOF", "HMPID"}
staticprotected

Definition at line 366 of file Controller.h.

◆ sMPDataExt

const Char_t * o2::align::Controller::sMPDataExt = ".mille"
staticprotected

Definition at line 367 of file Controller.h.

◆ sMPDataTxtExt

const Char_t * o2::align::Controller::sMPDataTxtExt = ".mille_txt"
staticprotected

Definition at line 368 of file Controller.h.

◆ sSkipLayers

const int o2::align::Controller::sSkipLayers = {0, 0, 0, 0}
staticprotected

Definition at line 365 of file Controller.h.


The documentation for this class was generated from the following files: