Project
Loading...
Searching...
No Matches
o2::its::study::EfficiencyStudy Class Referencefinal

Inherits o2::framework::Task.

Public Member Functions

 EfficiencyStudy (std::shared_ptr< DataRequest > dr, mask_t src, bool useMC, std::shared_ptr< o2::steer::MCKinematicsReader > kineReader, std::shared_ptr< o2::base::GRPGeomRequest > gr)
 
 ~EfficiencyStudy () final=default
 
void init (InitContext &) final
 
void run (ProcessingContext &) final
 
void endOfStream (EndOfStreamContext &) final
 This is invoked whenever we have an EndOfStream event.
 
void finaliseCCDB (ConcreteDataMatcher &, void *) final
 
void initialiseRun (o2::globaltracking::RecoContainer &)
 
void stileEfficiencyGraph (std::unique_ptr< TEfficiency > &eff, const char *name, const char *title, bool bidimensional, const int markerStyle, const double markersize, const int markercolor, const int linercolor)
 
int getDCAClusterTrackMC (int countDuplicated)
 
void studyDCAcutsMC ()
 
void studyClusterSelectionMC ()
 
void countDuplicatedAfterCuts ()
 
void getEfficiency (bool isMC)
 
void process (o2::globaltracking::RecoContainer &)
 
void setClusterDictionary (const o2::itsmft::TopologyDictionary *d)
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 60 of file Efficiency.cxx.

Constructor & Destructor Documentation

◆ EfficiencyStudy()

o2::its::study::EfficiencyStudy::EfficiencyStudy ( std::shared_ptr< DataRequest >  dr,
mask_t  src,
bool  useMC,
std::shared_ptr< o2::steer::MCKinematicsReader >  kineReader,
std::shared_ptr< o2::base::GRPGeomRequest >  gr 
)
inline

Definition at line 63 of file Efficiency.cxx.

◆ ~EfficiencyStudy()

o2::its::study::EfficiencyStudy::~EfficiencyStudy ( )
finaldefault

Member Function Documentation

◆ countDuplicatedAfterCuts()

void o2::its::study::EfficiencyStudy::countDuplicatedAfterCuts ( )

excluding external z

excluding the gap between two chips in the same stave (comment to obtain the plot efficiency col vs eta)

Definition at line 838 of file Efficiency.cxx.

◆ endOfStream()

void o2::its::study::EfficiencyStudy::endOfStream ( EndOfStreamContext &  context)
finalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 2532 of file Efficiency.cxx.

◆ finaliseCCDB()

void o2::its::study::EfficiencyStudy::finaliseCCDB ( ConcreteDataMatcher &  matcher,
void *  obj 
)
finalvirtual

This is invoked whenever a new CCDB object associated to a given ConcreteDataMatcher is deserialised

Reimplemented from o2::framework::Task.

Definition at line 2837 of file Efficiency.cxx.

◆ getDCAClusterTrackMC()

int o2::its::study::EfficiencyStudy::getDCAClusterTrackMC ( int  countDuplicated = 0)

Compute the DCA between the cluster location and the track

first propagate to the original cluster

then propagate to the duplicated cluster

Definition at line 598 of file Efficiency.cxx.

◆ getEfficiency()

void o2::its::study::EfficiencyStudy::getEfficiency ( bool  isMC)

filling some chip maps

excluding external z

excluding the gap between two chips in the same stave (comment to obtain the plot efficiency col vs eta)

if the track passes the cuts, fill the den and go ahead

if the cuts up to here are passed, then search for the duplicated cluster, otherwise go to the next cluster

for each original cluster iterate over all the possible duplicated clusters to select the "adjacent" clusters (stave +-1, chip =,+-1) and calculate the DCA with the track. Then choose the closest one.

if the cheks are passed, then calculate the DCA Compute the DCA between the duplicated cluster location and the track

Definition at line 2179 of file Efficiency.cxx.

◆ init()

void o2::its::study::EfficiencyStudy::init ( InitContext &  context)
finalvirtual

The method which is called once to initialise the task. Derived classes can use this to save extra state.

Reimplemented from o2::framework::Task.

Definition at line 326 of file Efficiency.cxx.

◆ initialiseRun()

void o2::its::study::EfficiencyStudy::initialiseRun ( o2::globaltracking::RecoContainer &  recoData)

Definition at line 559 of file Efficiency.cxx.

◆ process()

void o2::its::study::EfficiencyStudy::process ( o2::globaltracking::RecoContainer &  recoData)

Definition at line 2493 of file Efficiency.cxx.

◆ run()

void o2::its::study::EfficiencyStudy::run ( ProcessingContext &  context)
finalvirtual

This is invoked whenever a new InputRecord is demeed to be complete.

Implements o2::framework::Task.

Definition at line 548 of file Efficiency.cxx.

◆ setClusterDictionary()

void o2::its::study::EfficiencyStudy::setClusterDictionary ( const o2::itsmft::TopologyDictionary *  d)
inline

Definition at line 82 of file Efficiency.cxx.

◆ stileEfficiencyGraph()

void o2::its::study::EfficiencyStudy::stileEfficiencyGraph ( std::unique_ptr< TEfficiency > &  eff,
const char *  name,
const char *  title,
bool  bidimensional = false,
const int  markerStyle = kFullCircle,
const double  markersize = 1,
const int  markercolor = kBlack,
const int  linercolor = kBlack 
)

Definition at line 586 of file Efficiency.cxx.

◆ studyClusterSelectionMC()

void o2::its::study::EfficiencyStudy::studyClusterSelectionMC ( )

cut on primary vertex position (?)

for each oroginal cluster iterate over all the possible "adjacten" clusters (stave +-1, chip =,+-1) and calculate the DCA with the track. Then choose the closest one.

if the cheks are passed, then calculate the DCA

Compute the DCA between the duplicated cluster location and the track

eta and phi in different pt ranges

all Row

all Col

all Z

all Eta

all Phi

Definition at line 1328 of file Efficiency.cxx.

◆ studyDCAcutsMC()

void o2::its::study::EfficiencyStudy::studyDCAcutsMC ( )

for each oroginal cluster iterate over all the possible "adjacent" clusters (stave +-1, chip =,+-1) and calculate the DCA with the track. Then compare the cluster label with the track label to see if it is a true or fake match

if the cheks are passed, then calculate the DCA

Compute the DCA between the duplicated cluster location and the track

checking the DCA for 20 different sigma ranges

Definition at line 997 of file Efficiency.cxx.


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