npdet_fields.cxx File Reference
#include "Math/Vector3D.h"
#include "Math/Vector4D.h"
#include "Math/VectorUtil.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TMath.h"
#include "TRandom3.h"
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TTree.h"
#include "TF1.h"
#include <algorithm>
#include <iterator>
#include <tuple>
#include <vector>
#include "DD4hep/DD4hepUnits.h"
#include "DD4hep/Detector.h"
#include "DDG4/Geant4Data.h"
#include "DDRec/CellIDPositionConverter.h"
#include "DDRec/Surface.h"
#include "DDRec/SurfaceManager.h"
#include "TApplication.h"
#include "TGraph.h"
#include "TMultiGraph.h"
#include "Math/DisplacementVector3D.h"
#include <iostream>
#include <string>
#include "clipp.h"
Include dependency graph for npdet_fields.cxx:

Go to the source code of this file.

Classes

struct  settings
 

Functions

settings cmdline_settings (int argc, char *argv[])
 
TGraph * build_1D_field_graph (dd4hep::Detector &detector, const settings &s, std::function< double(ROOT::Math::XYZVector)> B_comp)
 
void mag_field (dd4hep::Detector &detector)
 Cell size example. More...
 
int main (int argc, char *argv[])
 

Function Documentation

◆ build_1D_field_graph()

TGraph * build_1D_field_graph ( dd4hep::Detector &  detector,
const settings s,
std::function< double(ROOT::Math::XYZVector)>  B_comp 
)

Definition at line 287 of file npdet_fields.cxx.

◆ cmdline_settings()

settings cmdline_settings ( int  argc,
char *  argv[] 
)

Definition at line 69 of file npdet_fields.cxx.

◆ mag_field()

void mag_field ( dd4hep::Detector &  detector)

Cell size example.

Definition at line 158 of file npdet_fields.cxx.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 216 of file npdet_fields.cxx.