EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
generate_distortion_map.C File Reference
#include "AnnularFieldSim.h"
#include "TTree.h"
#include "TCanvas.h"
+ Include dependency graph for generate_distortion_map.C:

Go to the source code of this file.

Functions

AnnularFieldSimSetupDefaultSphenixTpc (bool twinMe=false, bool useSpacecharge=true)
 
AnnularFieldSimSetupDigitalCurrentSphenixTpc (bool twinMe=false, bool useSpacecharge=true)
 
void TestSpotDistortion (AnnularFieldSim *t)
 
void SurveyFiles (TFileCollection *filelist)
 
void generate_distortion_map (const char *inputpattern="./evgeny_apr/Smooth*.root", const char *outputfilebase="./apr07_maps/apr07", bool hasSpacecharge=true, bool isDigitalCurrent=false)
 

Variables

char field_string [200]
 
char lookup_string [200]
 

Function Documentation

void generate_distortion_map ( const char *  inputpattern = "./evgeny_apr/Smooth*.root",
const char *  outputfilebase = "./apr07_maps/apr07",
bool  hasSpacecharge = true,
bool  isDigitalCurrent = false 
)
AnnularFieldSim * SetupDefaultSphenixTpc ( bool  twinMe = false,
bool  useSpacecharge = true 
)

Definition at line 145 of file generate_distortion_map.C.

View newest version in sPHENIX GitHub at line 145 of file generate_distortion_map.C

References AnnularFieldSim::borrow_epartial_from(), AnnularFieldSim::borrow_rossegger(), field_string, AnnularFieldSim::FromFile, AnnularFieldSim::green, AnnularFieldSim::load3dBfield(), AnnularFieldSim::load_phislice_lookup(), AnnularFieldSim::load_rossegger(), AnnularFieldSim::loadEfield(), lookup_string, AnnularFieldSim::NoSpacecharge, AnnularFieldSim::PhiSlice, AnnularFieldSim::populate_lookup(), printf(), AnnularFieldSim::save_phislice_lookup(), AnnularFieldSim::set_twin(), AnnularFieldSim::setFlatFields(), tpc(), and AnnularFieldSim::UpdateEveryN().

Referenced by generate_distortion_map().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SurveyFiles ( TFileCollection *  filelist)

Definition at line 413 of file generate_distortion_map.C.

View newest version in sPHENIX GitHub at line 413 of file generate_distortion_map.C

References printf().

Referenced by generate_distortion_map().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TestSpotDistortion ( AnnularFieldSim t)

Definition at line 136 of file generate_distortion_map.C.

View newest version in sPHENIX GitHub at line 136 of file generate_distortion_map.C

References AnnularFieldSim::GetStepDistortion(), and AnnularFieldSim::twin.

+ Here is the call graph for this function:

Variable Documentation

char field_string[200]

Definition at line 8 of file generate_distortion_map.C.

View newest version in sPHENIX GitHub at line 8 of file generate_distortion_map.C

Referenced by generate_distortion_map(), SetupDefaultSphenixTpc(), and SetupDigitalCurrentSphenixTpc().

char lookup_string[200]

Definition at line 9 of file generate_distortion_map.C.

View newest version in sPHENIX GitHub at line 9 of file generate_distortion_map.C

Referenced by generate_distortion_map(), SetupDefaultSphenixTpc(), and SetupDigitalCurrentSphenixTpc().